 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:00:16.956397
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/00/image_29092025_00_00_34_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/00/00/image_29092025_00_00_24_9678.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae9d9c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae9d9c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:02:32.149143
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/02/image_29092025_00_02_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/02/image_29092025_00_02_34_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/00/02/image_29092025_00_02_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/02/image_29092025_00_02_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/00/01/image_29092025_00_02_04_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/00/01/image_29092025_00_01_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb6520c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb6520c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:04:47.367390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/04/image_29092025_00_04_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/04/image_29092025_00_04_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/00/04/image_29092025_00_04_24_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/00/04/image_29092025_00_04_14_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/00/03/image_29092025_00_04_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/00/03/image_29092025_00_03_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86595cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86595cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:07:03.202189
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/06/image_29092025_00_06_45_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/00/05/image_29092025_00_05_44_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/05/image_29092025_00_05_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/00/05/image_29092025_00_05_14_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/00/04/image_29092025_00_05_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/00/04/image_29092025_00_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae695c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae695c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:09:16.937252
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/09/image_29092025_00_09_44_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/09/image_29092025_00_09_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/00/09/image_29092025_00_09_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/00/09/image_29092025_00_09_14_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/00/08/image_29092025_00_09_04_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/00/08/image_29092025_00_08_44_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f813a0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f813a0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:11:31.998218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/11/image_29092025_00_11_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/00/11/image_29092025_00_11_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/00/11/image_29092025_00_11_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/11/image_29092025_00_11_14_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/00/10/image_29092025_00_11_05_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/00/10/image_29092025_00_10_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f91568cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91568cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:13:47.218018
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/13/image_29092025_00_13_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/13/image_29092025_00_13_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/12/image_29092025_00_12_54_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/12/image_29092025_00_12_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/00/12/image_29092025_00_12_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/12/image_29092025_00_12_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f907abcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f907abcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:16:02.831246
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/15/image_29092025_00_15_34_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/00/15/image_29092025_00_15_25_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/00/15/image_29092025_00_15_14_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/00/14/image_29092025_00_15_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/00/14/image_29092025_00_14_55_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/00/14/image_29092025_00_14_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb1dc8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb1dc8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:18:17.744586
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/18/image_29092025_00_18_45_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/00/18/image_29092025_00_18_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/00/18/image_29092025_00_18_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/18/image_29092025_00_18_15_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/00/17/image_29092025_00_18_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/17/image_29092025_00_17_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82766c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82766c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:20:31.985178
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/20/image_29092025_00_20_44_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/20/image_29092025_00_20_34_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/19/image_29092025_00_20_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/00/19/image_29092025_00_19_54_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/00/19/image_29092025_00_19_44_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/00/19/image_29092025_00_19_14_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d198cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d198cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:22:47.123497
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/22/image_29092025_00_22_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/00/22/image_29092025_00_22_35_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/22/image_29092025_00_22_24_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/00/21/image_29092025_00_22_05_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/00/21/image_29092025_00_21_54_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/21/image_29092025_00_21_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85a57c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85a57c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:25:02.914854
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/23/image_29092025_00_23_54_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/23/image_29092025_00_23_44_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/23/image_29092025_00_23_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/22/image_29092025_00_23_04_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/22/image_29092025_00_22_54_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/22/image_29092025_00_22_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac27dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac27dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:27:17.614275
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/27/image_29092025_00_27_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/27/image_29092025_00_27_34_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/00/27/image_29092025_00_27_24_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/00/27/image_29092025_00_27_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/00/26/image_29092025_00_27_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/00/26/image_29092025_00_26_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f952c1c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f952c1c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:29:31.871916
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/29/image_29092025_00_29_45_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/00/29/image_29092025_00_29_34_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/00/29/image_29092025_00_29_24_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/00/29/image_29092025_00_29_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/00/28/image_29092025_00_28_24_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/00/28/image_29092025_00_28_14_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82ff0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82ff0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:31:47.120737
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/31/image_29092025_00_31_44_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/31/image_29092025_00_31_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/30/image_29092025_00_31_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/00/30/image_29092025_00_30_54_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/00/30/image_29092025_00_30_45_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/00/30/image_29092025_00_30_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f967b6c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f967b6c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:34:02.934906
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/32/image_29092025_00_33_04_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/00/32/image_29092025_00_32_54_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/00/32/image_29092025_00_32_24_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/00/32/image_29092025_00_32_14_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/00/31/image_29092025_00_31_54_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/00/31/image_29092025_00_31_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f79db9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79db9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:36:17.646924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/36/image_29092025_00_36_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/36/image_29092025_00_36_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/36/image_29092025_00_36_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/36/image_29092025_00_36_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/00/35/image_29092025_00_35_44_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/35/image_29092025_00_35_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96f95cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96f95cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:38:31.818983
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/38/image_29092025_00_38_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/38/image_29092025_00_38_25_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/00/38/image_29092025_00_38_14_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/00/37/image_29092025_00_38_04_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/00/37/image_29092025_00_37_55_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/36/image_29092025_00_37_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f93329cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93329cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:40:47.015672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/40/image_29092025_00_40_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/40/image_29092025_00_40_14_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/00/39/image_29092025_00_40_04_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/00/39/image_29092025_00_39_54_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/00/39/image_29092025_00_39_34_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/39/image_29092025_00_39_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fabb0cc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fabb0cc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:43:02.724374
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/42/image_29092025_00_42_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/41/image_29092025_00_42_04_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/00/41/image_29092025_00_41_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/41/image_29092025_00_41_24_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/00/41/image_29092025_00_41_15_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/00/40/image_29092025_00_40_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cb1ec50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cb1ec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:45:17.578296
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/45/image_29092025_00_45_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/45/image_29092025_00_45_35_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/44/image_29092025_00_45_05_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/00/44/image_29092025_00_44_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/44/image_29092025_00_44_35_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/00/44/image_29092025_00_44_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9a963c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a963c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:47:31.789973
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/47/image_29092025_00_47_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/47/image_29092025_00_47_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/47/image_29092025_00_47_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/00/47/image_29092025_00_47_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/00/46/image_29092025_00_47_04_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/00/46/image_29092025_00_46_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e2b2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e2b2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:49:47.017154
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/49/image_29092025_00_49_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/00/49/image_29092025_00_49_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/00/48/image_29092025_00_49_04_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/00/48/image_29092025_00_48_55_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/00/48/image_29092025_00_48_44_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/00/47/image_29092025_00_48_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f3ddcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f3ddcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:52:02.571929
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/51/image_29092025_00_51_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/00/51/image_29092025_00_51_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/00/51/image_29092025_00_51_24_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/00/51/image_29092025_00_51_14_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/00/50/image_29092025_00_51_04_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/00/50/image_29092025_00_50_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f856b7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f856b7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:54:17.515919
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/53/image_29092025_00_53_44_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/00/53/image_29092025_00_53_34_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/00/53/image_29092025_00_53_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/53/image_29092025_00_53_14_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/00/52/image_29092025_00_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/00/52/image_29092025_00_52_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9f448c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f448c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:56:31.749620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 00:58:02.230512
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/00/57/image_29092025_00_57_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/00/57/image_29092025_00_57_34_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/00/57/image_29092025_00_57_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/00/57/image_29092025_00_57_14_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/00/56/image_29092025_00_57_04_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/00/56/image_29092025_00_56_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa8f07cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8f07cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:00:17.202301
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/00/image_29092025_01_00_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/01/00/image_29092025_01_00_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/00/image_29092025_01_00_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/00/59/image_29092025_01_00_04_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/00/59/image_29092025_00_59_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/00/59/image_29092025_00_59_25_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82134c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82134c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:02:32.406613
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/02/image_29092025_01_02_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/02/image_29092025_01_02_24_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/01/02/image_29092025_01_02_14_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/01/01/image_29092025_01_02_04_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/01/01/image_29092025_01_01_54_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/01/01/image_29092025_01_01_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d74bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d74bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:04:47.633692
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/04/image_29092025_01_04_44_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/01/04/image_29092025_01_04_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/04/image_29092025_01_04_24_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/01/04/image_29092025_01_04_14_10696.jpg', 2), ('/home/nano/Desktop/images/29092025/01/03/image_29092025_01_04_04_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/01/03/image_29092025_01_03_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7fe84cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7fe84cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:07:02.392894
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/06/image_29092025_01_06_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/06/image_29092025_01_06_35_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/01/06/image_29092025_01_06_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/06/image_29092025_01_06_14_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/01/05/image_29092025_01_06_05_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/01/05/image_29092025_01_05_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88383cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88383cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:09:17.141589
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/09/image_29092025_01_09_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/09/image_29092025_01_09_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/01/08/image_29092025_01_08_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/08/image_29092025_01_08_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/08/image_29092025_01_08_34_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/01/08/image_29092025_01_08_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e533cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e533cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:11:32.374988
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/11/image_29092025_01_11_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/11/image_29092025_01_11_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/11/image_29092025_01_11_24_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/01/11/image_29092025_01_11_14_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/01/10/image_29092025_01_11_04_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/01/10/image_29092025_01_10_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f93091c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93091c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:13:47.590634
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/13/image_29092025_01_13_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/13/image_29092025_01_13_24_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/01/13/image_29092025_01_13_14_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/01/12/image_29092025_01_13_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/12/image_29092025_01_12_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/01/12/image_29092025_01_12_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94318cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94318cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:16:02.338305
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/15/image_29092025_01_15_44_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/01/15/image_29092025_01_15_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/15/image_29092025_01_15_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/15/image_29092025_01_15_14_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/01/14/image_29092025_01_15_04_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/01/14/image_29092025_01_14_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5674cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5674cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:18:17.079415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/18/image_29092025_01_18_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/18/image_29092025_01_18_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/01/18/image_29092025_01_18_14_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/01/17/image_29092025_01_18_04_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/01/17/image_29092025_01_17_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/17/image_29092025_01_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb46b0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb46b0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:20:32.342653
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/20/image_29092025_01_20_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/20/image_29092025_01_20_25_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/01/19/image_29092025_01_19_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/19/image_29092025_01_19_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/19/image_29092025_01_19_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/01/19/image_29092025_01_19_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8431ac50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8431ac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:22:47.539988
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/22/image_29092025_01_22_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/22/image_29092025_01_22_24_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/01/22/image_29092025_01_22_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/01/21/image_29092025_01_22_04_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/01/21/image_29092025_01_21_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/01/21/image_29092025_01_21_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf52fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf52fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:25:02.359302
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/24/image_29092025_01_24_45_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/01/24/image_29092025_01_24_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/24/image_29092025_01_24_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/01/24/image_29092025_01_24_15_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/01/23/image_29092025_01_24_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/01/23/image_29092025_01_23_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c99fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c99fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:27:17.078118
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/27/image_29092025_01_27_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/27/image_29092025_01_27_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/27/image_29092025_01_27_14_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/01/26/image_29092025_01_27_04_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/01/26/image_29092025_01_26_54_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/01/26/image_29092025_01_26_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f861fdc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f861fdc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:29:32.358317
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/29/image_29092025_01_29_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/29/image_29092025_01_29_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/01/29/image_29092025_01_29_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/28/image_29092025_01_28_35_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/01/28/image_29092025_01_28_14_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/01/27/image_29092025_01_27_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9cdd9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cdd9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:31:47.448757
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/31/image_29092025_01_31_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/01/31/image_29092025_01_31_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/01/31/image_29092025_01_31_24_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/01/31/image_29092025_01_31_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/01/30/image_29092025_01_31_04_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/01/30/image_29092025_01_30_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa35ddcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa35ddcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:34:03.445464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/33/image_29092025_01_34_04_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/01/33/image_29092025_01_33_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/01/33/image_29092025_01_33_34_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/01/33/image_29092025_01_33_24_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/01/33/image_29092025_01_33_14_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/01/32/image_29092025_01_33_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f99b80cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99b80cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:36:17.007264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/36/image_29092025_01_36_44_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/01/36/image_29092025_01_36_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/01/36/image_29092025_01_36_24_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/01/36/image_29092025_01_36_14_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/01/35/image_29092025_01_36_04_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/35/image_29092025_01_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6b6fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6b6fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:38:32.203502
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/38/image_29092025_01_38_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/38/image_29092025_01_38_35_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/01/38/image_29092025_01_38_24_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/01/38/image_29092025_01_38_14_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/01/37/image_29092025_01_38_04_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/01/37/image_29092025_01_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa07d5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa07d5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:40:47.398864
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/40/image_29092025_01_40_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/01/40/image_29092025_01_40_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/40/image_29092025_01_40_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/01/39/image_29092025_01_40_04_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/01/39/image_29092025_01_39_54_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/39/image_29092025_01_39_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8f982cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f982cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:43:03.131602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/42/image_29092025_01_42_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/42/image_29092025_01_42_25_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/01/42/image_29092025_01_42_14_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/01/41/image_29092025_01_42_04_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/01/41/image_29092025_01_41_44_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/01/41/image_29092025_01_41_34_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8403fc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8403fc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:45:16.896266
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/45/image_29092025_01_45_45_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/01/45/image_29092025_01_45_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/45/image_29092025_01_45_24_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/01/45/image_29092025_01_45_14_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/01/44/image_29092025_01_45_04_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/44/image_29092025_01_44_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8afbccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8afbccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:47:32.075999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/47/image_29092025_01_47_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/46/image_29092025_01_47_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/01/46/image_29092025_01_46_54_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/46/image_29092025_01_46_34_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/01/46/image_29092025_01_46_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/46/image_29092025_01_46_15_10693.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c866cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c866cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:49:47.282379
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/49/image_29092025_01_49_35_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/01/49/image_29092025_01_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/01/49/image_29092025_01_49_14_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/01/48/image_29092025_01_49_05_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/01/48/image_29092025_01_48_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/01/48/image_29092025_01_48_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5fa2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5fa2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:52:02.871127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/52/image_29092025_01_52_24_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/01/51/image_29092025_01_51_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/51/image_29092025_01_51_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/01/50/image_29092025_01_51_04_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/01/50/image_29092025_01_50_54_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/01/50/image_29092025_01_50_44_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9efb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9efb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:54:16.813762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/54/image_29092025_01_54_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/01/54/image_29092025_01_54_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/54/image_29092025_01_54_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/01/53/image_29092025_01_53_54_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/01/53/image_29092025_01_53_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/01/53/image_29092025_01_53_25_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f868bbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f868bbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:56:32.036730
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 01:58:02.441731
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/01/57/image_29092025_01_57_44_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/01/57/image_29092025_01_57_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/01/57/image_29092025_01_57_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/01/56/image_29092025_01_57_04_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/01/56/image_29092025_01_56_54_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/01/56/image_29092025_01_56_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9fbe7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fbe7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:00:17.489252
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/00/image_29092025_02_00_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/00/image_29092025_02_00_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/02/00/image_29092025_02_00_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/00/image_29092025_02_00_14_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/01/59/image_29092025_02_00_05_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/01/59/image_29092025_01_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa1e33c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1e33c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:02:32.708881
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/02/image_29092025_02_02_34_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/02/02/image_29092025_02_02_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/02/02/image_29092025_02_02_14_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/02/01/image_29092025_02_01_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/02/01/image_29092025_02_01_34_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/02/01/image_29092025_02_01_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96154cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96154cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:04:46.951319
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/04/image_29092025_02_04_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/04/image_29092025_02_04_24_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/02/04/image_29092025_02_04_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/02/03/image_29092025_02_04_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/02/03/image_29092025_02_03_55_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/02/03/image_29092025_02_03_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e78bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e78bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:07:02.703456
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/06/image_29092025_02_06_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/06/image_29092025_02_06_24_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/02/06/image_29092025_02_06_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/02/05/image_29092025_02_05_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/05/image_29092025_02_05_34_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/02/05/image_29092025_02_05_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fadcd6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadcd6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:09:17.503111
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/09/image_29092025_02_09_44_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/02/09/image_29092025_02_09_34_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/02/09/image_29092025_02_09_14_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/02/08/image_29092025_02_09_04_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/02/08/image_29092025_02_08_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/08/image_29092025_02_08_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d47bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d47bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:11:32.694395
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/11/image_29092025_02_11_24_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/02/11/image_29092025_02_11_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/02/10/image_29092025_02_11_04_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/02/10/image_29092025_02_10_54_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/02/10/image_29092025_02_10_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/10/image_29092025_02_10_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f864d8c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f864d8c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:13:46.866452
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/13/image_29092025_02_13_25_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/02/13/image_29092025_02_13_14_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/02/12/image_29092025_02_13_04_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/02/12/image_29092025_02_12_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/02/12/image_29092025_02_12_44_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/02/12/image_29092025_02_12_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_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 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9cd24cc0>: 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: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cd24cc0>: 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 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cd24cc0>: Failed to establish a new connection: [Errno 101] Network is unreachable',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:14:02.660876
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/13/image_29092025_02_13_25_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/02/13/image_29092025_02_13_14_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/02/12/image_29092025_02_13_04_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/02/12/image_29092025_02_12_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/02/12/image_29092025_02_12_44_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/02/12/image_29092025_02_12_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f97322cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97322cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:16:17.249875
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/16/image_29092025_02_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/02/16/image_29092025_02_16_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/16/image_29092025_02_16_24_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/02/16/image_29092025_02_16_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/02/15/image_29092025_02_16_04_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/02/15/image_29092025_02_15_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8fdfbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8fdfbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:18:32.511383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/18/image_29092025_02_18_44_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/02/18/image_29092025_02_18_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/18/image_29092025_02_18_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/02/18/image_29092025_02_18_15_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/02/17/image_29092025_02_18_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/02/17/image_29092025_02_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa31a8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa31a8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:20:47.696027
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/20/image_29092025_02_20_44_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/02/20/image_29092025_02_20_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/02/20/image_29092025_02_20_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/20/image_29092025_02_20_14_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/02/19/image_29092025_02_20_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/02/19/image_29092025_02_19_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9ffc2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ffc2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:23:02.414468
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/22/image_29092025_02_22_44_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/02/22/image_29092025_02_22_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/02/22/image_29092025_02_22_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/22/image_29092025_02_22_14_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/02/21/image_29092025_02_22_04_10682.jpg', 2), ('/home/nano/Desktop/images/29092025/02/21/image_29092025_02_21_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa1ee7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1ee7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:25:17.271159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/25/image_29092025_02_25_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/25/image_29092025_02_25_25_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/02/25/image_29092025_02_25_14_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/02/24/image_29092025_02_25_04_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/02/24/image_29092025_02_24_55_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/02/24/image_29092025_02_24_34_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8ecb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ecb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:27:32.402140
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/27/image_29092025_02_27_34_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/02/27/image_29092025_02_27_24_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/02/27/image_29092025_02_27_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/02/26/image_29092025_02_27_04_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/02/26/image_29092025_02_26_54_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/02/26/image_29092025_02_26_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96070cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96070cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:29:47.871797
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/29/image_29092025_02_29_44_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/02/29/image_29092025_02_29_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/29/image_29092025_02_29_24_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/02/29/image_29092025_02_29_15_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/02/28/image_29092025_02_28_54_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/02/28/image_29092025_02_28_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d1a5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d1a5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:32:02.511341
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/31/image_29092025_02_31_44_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/02/31/image_29092025_02_31_34_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/02/31/image_29092025_02_31_24_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/02/31/image_29092025_02_31_14_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/02/30/image_29092025_02_31_04_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/02/30/image_29092025_02_30_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa216ac50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa216ac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:34:17.385178
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/34/image_29092025_02_34_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/02/34/image_29092025_02_34_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/02/34/image_29092025_02_34_14_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/02/33/image_29092025_02_34_04_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/02/33/image_29092025_02_33_14_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/02/32/image_29092025_02_32_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8ff19cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ff19cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:36:32.610636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/36/image_29092025_02_36_34_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/02/36/image_29092025_02_36_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/02/36/image_29092025_02_36_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/02/35/image_29092025_02_36_04_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/02/35/image_29092025_02_35_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/35/image_29092025_02_35_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94004cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94004cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:38:46.788898
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/38/image_29092025_02_38_44_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/02/38/image_29092025_02_38_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/38/image_29092025_02_38_24_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/02/38/image_29092025_02_38_14_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/02/37/image_29092025_02_38_04_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/37/image_29092025_02_37_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9357dcf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9357dcf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:41:02.730980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/40/image_29092025_02_40_45_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/02/40/image_29092025_02_40_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/40/image_29092025_02_40_15_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/02/39/image_29092025_02_40_04_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/02/39/image_29092025_02_39_54_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/02/39/image_29092025_02_39_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f99816cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99816cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:43:17.302080
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/43/image_29092025_02_43_44_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/02/43/image_29092025_02_43_35_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/02/43/image_29092025_02_43_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/02/43/image_29092025_02_43_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/02/42/image_29092025_02_43_05_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/02/42/image_29092025_02_42_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9316fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9316fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:45:32.511692
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/45/image_29092025_02_45_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/45/image_29092025_02_45_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/02/45/image_29092025_02_45_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/45/image_29092025_02_45_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/02/44/image_29092025_02_45_04_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/02/44/image_29092025_02_44_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad0eecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad0eecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:47:47.715088
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/47/image_29092025_02_47_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/02/47/image_29092025_02_47_34_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/02/47/image_29092025_02_47_25_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/02/47/image_29092025_02_47_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/02/46/image_29092025_02_46_44_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/02/46/image_29092025_02_46_34_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f890fbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f890fbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:50:02.496529
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/49/image_29092025_02_49_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/48/image_29092025_02_49_04_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/02/48/image_29092025_02_48_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/48/image_29092025_02_48_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/48/image_29092025_02_48_24_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/02/48/image_29092025_02_48_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9aa51cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9aa51cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:52:17.213974
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/52/image_29092025_02_52_44_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/02/52/image_29092025_02_52_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/52/image_29092025_02_52_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/51/image_29092025_02_52_04_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/02/51/image_29092025_02_51_54_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/02/51/image_29092025_02_51_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f77b02cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77b02cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:54:32.493707
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/54/image_29092025_02_54_35_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/02/54/image_29092025_02_54_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/02/54/image_29092025_02_54_14_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/02/53/image_29092025_02_54_05_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/02/53/image_29092025_02_53_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/02/53/image_29092025_02_53_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f81c6ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81c6ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:56:47.626366
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 02:58:46.892742
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/02/58/image_29092025_02_58_34_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/02/58/image_29092025_02_58_24_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/02/58/image_29092025_02_58_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/02/57/image_29092025_02_58_04_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/02/57/image_29092025_02_57_55_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/02/57/image_29092025_02_57_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f97dc8c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97dc8c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:01:02.754289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/00/image_29092025_03_00_45_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/03/00/image_29092025_03_00_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/00/image_29092025_03_00_24_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/00/image_29092025_03_00_14_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/02/59/image_29092025_02_59_54_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/02/59/image_29092025_02_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9be37cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9be37cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:03:17.411503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/03/image_29092025_03_03_44_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/03/image_29092025_03_03_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/03/03/image_29092025_03_03_24_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/03/03/image_29092025_03_03_14_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/03/02/image_29092025_03_02_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/02/image_29092025_03_02_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d3c7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d3c7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:05:32.633712
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/05/image_29092025_03_05_34_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/03/05/image_29092025_03_05_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/04/image_29092025_03_05_04_10682.jpg', 2), ('/home/nano/Desktop/images/29092025/03/04/image_29092025_03_04_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/04/image_29092025_03_04_35_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/03/04/image_29092025_03_04_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa8e3fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8e3fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:07:46.803680
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/07/image_29092025_03_07_14_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/03/06/image_29092025_03_07_04_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/03/06/image_29092025_03_06_54_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/06/image_29092025_03_06_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/06/image_29092025_03_06_34_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/03/06/image_29092025_03_06_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa075fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa075fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:10:02.431116
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/09/image_29092025_03_09_24_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/03/09/image_29092025_03_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/03/08/image_29092025_03_09_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/08/image_29092025_03_08_54_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/03/08/image_29092025_03_08_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/08/image_29092025_03_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98147c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98147c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:12:17.300560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/12/image_29092025_03_12_44_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/03/12/image_29092025_03_12_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/12/image_29092025_03_12_24_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/03/12/image_29092025_03_12_14_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/03/11/image_29092025_03_12_04_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/03/11/image_29092025_03_11_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e99acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e99acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:14:32.581433
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/14/image_29092025_03_14_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/14/image_29092025_03_14_34_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/03/14/image_29092025_03_14_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/14/image_29092025_03_14_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/03/13/image_29092025_03_14_05_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/03/13/image_29092025_03_13_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac35acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac35acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:16:47.726396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/16/image_29092025_03_16_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/03/16/image_29092025_03_16_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/16/image_29092025_03_16_24_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/03/16/image_29092025_03_16_14_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/03/15/image_29092025_03_16_04_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/03/15/image_29092025_03_15_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb449ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb449ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:19:02.731963
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/18/image_29092025_03_18_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/03/18/image_29092025_03_18_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/18/image_29092025_03_18_24_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/03/18/image_29092025_03_18_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/03/17/image_29092025_03_17_55_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/17/image_29092025_03_17_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa04e5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa04e5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:21:17.342036
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/21/image_29092025_03_21_44_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/21/image_29092025_03_21_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/03/21/image_29092025_03_21_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/21/image_29092025_03_21_15_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/03/20/image_29092025_03_21_04_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/03/20/image_29092025_03_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f949a8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f949a8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:23:32.481699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/23/image_29092025_03_23_44_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/23/image_29092025_03_23_34_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/03/23/image_29092025_03_23_24_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/03/23/image_29092025_03_23_14_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/03/22/image_29092025_03_23_04_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/03/22/image_29092025_03_22_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96e93c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96e93c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:25:47.746700
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/25/image_29092025_03_25_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/25/image_29092025_03_25_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/03/25/image_29092025_03_25_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/25/image_29092025_03_25_14_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/03/24/image_29092025_03_24_54_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/24/image_29092025_03_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f99a72cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99a72cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:28:02.426099
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/27/image_29092025_03_27_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/27/image_29092025_03_27_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/27/image_29092025_03_27_14_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/03/26/image_29092025_03_26_54_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/03/26/image_29092025_03_26_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/03/26/image_29092025_03_26_34_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa67aecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa67aecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:30:17.303949
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/30/image_29092025_03_30_45_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/03/30/image_29092025_03_30_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/30/image_29092025_03_30_24_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/03/30/image_29092025_03_30_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/03/29/image_29092025_03_30_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/29/image_29092025_03_29_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8508dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f83fafcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83fafcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:34:47.728377
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/34/image_29092025_03_34_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/03/34/image_29092025_03_34_35_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/03/34/image_29092025_03_34_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/03/34/image_29092025_03_34_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/03/33/image_29092025_03_34_05_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/03/33/image_29092025_03_33_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8b4d7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8b4d7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:37:02.481316
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/36/image_29092025_03_36_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/36/image_29092025_03_36_24_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/03/36/image_29092025_03_36_14_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/03/35/image_29092025_03_36_04_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/03/35/image_29092025_03_35_54_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/03/35/image_29092025_03_35_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f78230cf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78230cf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:39:17.322249
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/39/image_29092025_03_39_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/03/39/image_29092025_03_39_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/39/image_29092025_03_39_24_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/03/38/image_29092025_03_39_04_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/03/38/image_29092025_03_38_54_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/03/38/image_29092025_03_38_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f78c4ec50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78c4ec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:41:32.594910
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/41/image_29092025_03_41_45_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/03/41/image_29092025_03_41_34_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/03/41/image_29092025_03_41_24_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/03/41/image_29092025_03_41_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/03/40/image_29092025_03_41_04_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/40/image_29092025_03_40_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d599cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d599cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:43:47.656025
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/43/image_29092025_03_43_44_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/03/43/image_29092025_03_43_34_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/03/43/image_29092025_03_43_24_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/03/43/image_29092025_03_43_14_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/03/42/image_29092025_03_43_04_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/42/image_29092025_03_42_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa32f1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa32f1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:46:02.348299
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/45/image_29092025_03_45_44_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/03/45/image_29092025_03_45_35_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/03/45/image_29092025_03_45_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/45/image_29092025_03_45_14_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/03/44/image_29092025_03_45_05_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/03/44/image_29092025_03_44_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fadcfbcf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadcfbcf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:48:17.130869
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/48/image_29092025_03_48_34_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/03/48/image_29092025_03_48_25_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/03/48/image_29092025_03_48_14_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/03/47/image_29092025_03_48_04_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/03/47/image_29092025_03_47_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/03/47/image_29092025_03_47_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f96a1acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f96a1acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:50:32.328686
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/50/image_29092025_03_50_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/03/50/image_29092025_03_50_34_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/03/50/image_29092025_03_50_24_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/03/50/image_29092025_03_50_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/03/49/image_29092025_03_49_34_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/03/49/image_29092025_03_49_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9ea5ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ea5ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:52:47.534422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/52/image_29092025_03_52_45_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/52/image_29092025_03_52_34_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/03/52/image_29092025_03_52_24_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/03/52/image_29092025_03_52_15_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/03/51/image_29092025_03_51_54_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/03/51/image_29092025_03_51_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa3ccdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ccdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:55:02.368450
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/54/image_29092025_03_54_44_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/03/54/image_29092025_03_54_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/54/image_29092025_03_54_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/53/image_29092025_03_53_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/53/image_29092025_03_53_44_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/53/image_29092025_03_53_14_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4464cf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4464cf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:57:17.076443
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 03:59:03.064026
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/03/57/image_29092025_03_57_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/03/57/image_29092025_03_57_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/03/57/image_29092025_03_57_24_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/03/57/image_29092025_03_57_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/03/56/image_29092025_03_56_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/03/56/image_29092025_03_56_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94356cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94356cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:01:17.559487
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/01/image_29092025_04_01_34_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/04/01/image_29092025_04_01_24_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/01/image_29092025_04_01_14_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/04/00/image_29092025_04_01_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/00/image_29092025_04_00_54_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/00/image_29092025_04_00_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f99657cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99657cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:03:32.732672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/03/image_29092025_04_03_44_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/03/image_29092025_04_03_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/03/image_29092025_04_03_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/04/03/image_29092025_04_03_14_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/04/02/image_29092025_04_03_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/02/image_29092025_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb499dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb499dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:05:46.976295
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/05/image_29092025_04_05_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/04/05/image_29092025_04_05_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/04/05/image_29092025_04_05_14_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/04/04/image_29092025_04_05_04_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/04/04/image_29092025_04_04_54_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/04/04/image_29092025_04_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f770c2c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f770c2c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:08:02.613689
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/07/image_29092025_04_07_34_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/07/image_29092025_04_07_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/04/07/image_29092025_04_07_14_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/04/06/image_29092025_04_07_04_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/04/06/image_29092025_04_06_54_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/04/06/image_29092025_04_06_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9159bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9159bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:10:17.532283
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/10/image_29092025_04_10_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/10/image_29092025_04_10_34_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/10/image_29092025_04_10_24_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/10/image_29092025_04_10_14_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/04/09/image_29092025_04_10_04_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/04/09/image_29092025_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8c0afcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8c0afcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:12:32.727953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/12/image_29092025_04_12_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/04/12/image_29092025_04_12_15_10686.jpg', 2), ('/home/nano/Desktop/images/29092025/04/11/image_29092025_04_12_04_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/11/image_29092025_04_11_54_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/04/11/image_29092025_04_11_45_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/04/11/image_29092025_04_11_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad6b1c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad6b1c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:14:46.904866
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/14/image_29092025_04_14_44_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/04/14/image_29092025_04_14_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/04/14/image_29092025_04_14_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/04/14/image_29092025_04_14_14_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/04/13/image_29092025_04_13_54_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/04/13/image_29092025_04_13_44_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98f9acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98f9acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:17:02.769854
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/16/image_29092025_04_16_34_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/04/15/image_29092025_04_15_54_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/04/15/image_29092025_04_15_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/15/image_29092025_04_15_35_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/04/15/image_29092025_04_15_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/04/14/image_29092025_04_15_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa94edcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa94edcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:19:17.479946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/19/image_29092025_04_19_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/04/19/image_29092025_04_19_34_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/04/19/image_29092025_04_19_24_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/04/19/image_29092025_04_19_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/18/image_29092025_04_18_54_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/18/image_29092025_04_18_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88493cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88493cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:21:32.671255
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/21/image_29092025_04_21_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/04/21/image_29092025_04_21_34_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/04/21/image_29092025_04_21_24_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/21/image_29092025_04_21_14_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/04/20/image_29092025_04_21_04_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/04/20/image_29092025_04_20_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f2accc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f2accc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:23:46.863718
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/23/image_29092025_04_23_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/04/23/image_29092025_04_23_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/04/23/image_29092025_04_23_14_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/04/22/image_29092025_04_22_45_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/22/image_29092025_04_22_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/04/22/image_29092025_04_22_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c906cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c906cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:26:02.497961
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/25/image_29092025_04_25_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/25/image_29092025_04_25_35_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/04/25/image_29092025_04_25_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/04/25/image_29092025_04_25_14_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/04/24/image_29092025_04_25_04_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/04/24/image_29092025_04_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb3a62cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb3a62cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:28:17.407792
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:31:05.741132
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_27_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86b6bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86b6bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:33:31.909616
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9ed79cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ed79cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:35:47.239252
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f894aacc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f894aacc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:38:02.976454
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88194cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88194cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:40:17.020099
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86147cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86147cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:42:32.268953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8048dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8048dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:44:47.595292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7b367cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b367cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:47:02.558262
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5cd1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5cd1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:49:17.433403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7b0dfcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b0dfcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:51:32.747937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7b3f4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b3f4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:53:47.015467
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f92aaccf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92aaccf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:56:02.763824
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 04:58:02.915980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa7cc2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7cc2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:00:17.041233
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f954bdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f954bdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:02:32.347605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa1194cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1194cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:04:47.667341
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac38ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac38ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:07:02.774534
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ee9ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ee9ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:09:17.467249
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa1e43cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1e43cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:11:31.863573
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8eb35cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8eb35cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:13:47.177060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f798b5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f798b5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:16:02.964997
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f91e3bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f91e3bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:18:16.893499
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d67acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d67acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:20:32.252084
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7fe91cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7fe91cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:22:47.574499
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa91d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa91d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:25:02.502859
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9642ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9642ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:27:17.314205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa0d34c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0d34c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:29:32.621552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb17efcf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb17efcf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:31:46.955740
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e0bccf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e0bccf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:34:03.033024
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f79d6ec50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f79d6ec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:36:17.708812
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa0c79cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0c79cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:38:32.027137
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faddc5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faddc5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:40:47.327355
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb05acc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb05acc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:43:03.282105
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f77c1acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77c1acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:45:17.126447
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab78dc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab78dc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:47:32.469761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c5f9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c5f9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:49:47.762191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7a013cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a013cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:52:02.414671
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86e94c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86e94c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:54:17.516087
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d9bcc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d9bcc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:56:32.766391
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 05:58:02.341092
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f97f96cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97f96cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:00:17.364806
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8f916cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f916cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:02:32.727775
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9648acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9648acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:04:47.069596
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f92354cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92354cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:07:02.798933
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f987cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f987cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:09:16.840479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6f27c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6f27c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:11:32.154548
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e071cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e071cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:13:47.495276
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94f04cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94f04cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:16:02.370018
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94d9fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94d9fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:18:17.364488
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa8548cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8548cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:20:32.649507
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7aa3ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7aa3ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:22:46.951423
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7e111cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e111cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:25:02.901968
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f89b4ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89b4ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:27:17.759902
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8496bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8496bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:29:32.048780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/04/29/image_29092025_04_29_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_55_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/04/28/image_29092025_04_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/04/27/image_29092025_04_28_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2862cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2862cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:31:47.220429
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/31/image_29092025_06_31_45_10625.jpg', 2), ('/home/nano/Desktop/images/29092025/06/31/image_29092025_06_31_25_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/06/30/image_29092025_06_31_04_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/06/30/image_29092025_06_30_34_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/06/30/image_29092025_06_30_25_10734.jpg', 2), ('/home/nano/Desktop/images/29092025/06/30/image_29092025_06_30_14_10055.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4a68cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4a68cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:34:03.483307
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/33/image_29092025_06_33_44_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/06/33/image_29092025_06_33_35_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/06/33/image_29092025_06_33_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/06/33/image_29092025_06_33_14_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/06/32/image_29092025_06_33_05_10645.jpg', 2), ('/home/nano/Desktop/images/29092025/06/32/image_29092025_06_32_54_9625.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86c9acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86c9acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:36:16.852264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/36/image_29092025_06_36_45_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/06/36/image_29092025_06_36_34_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/06/36/image_29092025_06_36_25_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/06/36/image_29092025_06_36_14_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/06/35/image_29092025_06_36_04_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/06/35/image_29092025_06_35_55_10640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa1053cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1053cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:38:32.054845
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/38/image_29092025_06_38_34_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/06/38/image_29092025_06_38_24_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/06/37/image_29092025_06_37_45_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/06/37/image_29092025_06_37_34_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/06/37/image_29092025_06_37_24_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/06/37/image_29092025_06_37_15_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d87ac50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d87ac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:40:47.318720
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/40/image_29092025_06_40_44_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/06/40/image_29092025_06_40_35_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/06/40/image_29092025_06_40_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/06/40/image_29092025_06_40_14_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/06/39/image_29092025_06_40_05_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/06/39/image_29092025_06_39_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb30f2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb30f2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:43:03.246660
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/42/image_29092025_06_42_44_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/06/42/image_29092025_06_42_34_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/06/41/image_29092025_06_41_35_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/06/41/image_29092025_06_41_25_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/06/41/image_29092025_06_41_14_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/06/40/image_29092025_06_41_05_10638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa1b45c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa1b45c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:45:16.790662
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/45/image_29092025_06_45_34_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/06/45/image_29092025_06_45_25_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/06/45/image_29092025_06_45_15_10694.jpg', 2), ('/home/nano/Desktop/images/29092025/06/44/image_29092025_06_45_04_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/06/44/image_29092025_06_44_55_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/06/44/image_29092025_06_44_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f995abc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f995abc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:47:31.975707
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/47/image_29092025_06_47_45_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/06/47/image_29092025_06_47_24_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/06/47/image_29092025_06_47_15_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/06/46/image_29092025_06_47_04_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/06/46/image_29092025_06_46_54_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/06/46/image_29092025_06_46_45_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb266ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb266ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:49:47.196580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/49/image_29092025_06_49_45_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/06/49/image_29092025_06_49_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/06/49/image_29092025_06_49_24_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/06/49/image_29092025_06_49_15_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/06/48/image_29092025_06_49_04_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/06/48/image_29092025_06_48_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa07b1c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa07b1c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:52:03.061443
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/51/image_29092025_06_51_45_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/06/51/image_29092025_06_51_35_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/06/51/image_29092025_06_51_24_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/06/51/image_29092025_06_51_15_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/06/50/image_29092025_06_51_05_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/06/50/image_29092025_06_50_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f93fa3c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f93fa3c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:54:17.706537
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/54/image_29092025_06_54_44_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/06/54/image_29092025_06_54_35_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/06/54/image_29092025_06_54_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/06/54/image_29092025_06_54_14_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/06/53/image_29092025_06_54_05_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/06/53/image_29092025_06_53_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f99446cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99446cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:56:31.920343
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 06:58:02.684389
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/06/57/image_29092025_06_57_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/06/57/image_29092025_06_57_25_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/06/57/image_29092025_06_57_14_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/06/56/image_29092025_06_57_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/06/56/image_29092025_06_56_25_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/06/56/image_29092025_06_56_14_9681.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fadd43cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadd43cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:00:16.802472
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/00/image_29092025_07_00_45_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/07/00/image_29092025_07_00_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/07/00/image_29092025_07_00_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/07/00/image_29092025_07_00_14_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/06/59/image_29092025_07_00_04_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/06/59/image_29092025_06_59_55_10674.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c59ac50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c59ac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:02:32.007771
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/02/image_29092025_07_02_15_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/07/01/image_29092025_07_02_04_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/07/01/image_29092025_07_01_54_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/07/01/image_29092025_07_01_45_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/07/01/image_29092025_07_01_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/07/01/image_29092025_07_01_25_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa30f0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa30f0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:04:47.303909
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/04/image_29092025_07_04_45_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/07/04/image_29092025_07_04_34_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/07/04/image_29092025_07_04_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/07/04/image_29092025_07_04_15_10684.jpg', 2), ('/home/nano/Desktop/images/29092025/07/03/image_29092025_07_03_54_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/07/03/image_29092025_07_03_45_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f829dec50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f829dec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:07:03.355148
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/06/image_29092025_07_06_45_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/07/06/image_29092025_07_06_24_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/07/06/image_29092025_07_06_15_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/07/05/image_29092025_07_06_05_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/07/05/image_29092025_07_05_54_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/07/05/image_29092025_07_05_45_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa5ef4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7737fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7737fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:11:32.217260
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/11/image_29092025_07_11_45_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/07/11/image_29092025_07_11_34_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/07/11/image_29092025_07_11_24_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/07/11/image_29092025_07_11_15_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/07/10/image_29092025_07_11_04_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/07/10/image_29092025_07_10_55_9633.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87fb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87fb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:13:47.368953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/13/image_29092025_07_13_44_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/07/13/image_29092025_07_13_35_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/07/13/image_29092025_07_13_24_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/07/13/image_29092025_07_13_15_9632.jpg', 2), ('/home/nano/Desktop/images/29092025/07/12/image_29092025_07_13_05_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/07/12/image_29092025_07_12_54_9612.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8431dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8431dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:16:03.197681
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/15/image_29092025_07_15_34_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/07/15/image_29092025_07_15_25_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/07/15/image_29092025_07_15_14_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/07/14/image_29092025_07_15_04_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/07/14/image_29092025_07_14_55_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/07/14/image_29092025_07_14_44_9627.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90a3ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90a3ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:18:16.935962
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/18/image_29092025_07_18_45_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/07/18/image_29092025_07_18_34_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/07/18/image_29092025_07_18_24_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/07/18/image_29092025_07_18_15_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/07/17/image_29092025_07_18_04_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/07/17/image_29092025_07_17_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb281dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb281dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:20:32.168131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/20/image_29092025_07_20_24_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/07/20/image_29092025_07_20_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/07/19/image_29092025_07_20_05_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/07/19/image_29092025_07_19_54_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/07/19/image_29092025_07_19_44_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/07/19/image_29092025_07_19_35_10642.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faaac7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faaac7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:22:47.417724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/22/image_29092025_07_22_14_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/07/21/image_29092025_07_22_05_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/07/21/image_29092025_07_21_44_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/07/21/image_29092025_07_21_35_10685.jpg', 2), ('/home/nano/Desktop/images/29092025/07/21/image_29092025_07_21_24_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/07/21/image_29092025_07_21_14_9675.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f77fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f77fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:25:03.478228
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/24/image_29092025_07_24_44_9607.jpg', 2), ('/home/nano/Desktop/images/29092025/07/24/image_29092025_07_24_35_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/07/24/image_29092025_07_24_24_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/07/24/image_29092025_07_24_14_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/07/23/image_29092025_07_24_05_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/07/23/image_29092025_07_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa9a2dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9a2dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:27:16.983439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/27/image_29092025_07_27_44_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/07/27/image_29092025_07_27_35_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/07/27/image_29092025_07_27_25_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/07/27/image_29092025_07_27_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/07/26/image_29092025_07_27_05_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/07/26/image_29092025_07_26_55_10673.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9967ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9967ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:29:32.182736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/29/image_29092025_07_29_44_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/07/29/image_29092025_07_29_35_10622.jpg', 2), ('/home/nano/Desktop/images/29092025/07/29/image_29092025_07_29_24_9724.jpg', 2), ('/home/nano/Desktop/images/29092025/07/29/image_29092025_07_29_14_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/07/28/image_29092025_07_29_05_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/07/28/image_29092025_07_28_55_10678.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9edb3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9edb3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:31:47.382144
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/31/image_29092025_07_31_44_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/07/31/image_29092025_07_31_35_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/07/31/image_29092025_07_31_24_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/07/31/image_29092025_07_31_14_9746.jpg', 2), ('/home/nano/Desktop/images/29092025/07/30/image_29092025_07_31_05_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/07/30/image_29092025_07_30_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f99601c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f99601c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:34:03.710260
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/33/image_29092025_07_33_45_9697.jpg', 2), ('/home/nano/Desktop/images/29092025/07/33/image_29092025_07_33_35_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/07/33/image_29092025_07_33_24_9610.jpg', 2), ('/home/nano/Desktop/images/29092025/07/33/image_29092025_07_33_15_9693.jpg', 2), ('/home/nano/Desktop/images/29092025/07/32/image_29092025_07_33_05_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/07/32/image_29092025_07_32_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac71ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac71ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:36:16.923563
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/36/image_29092025_07_36_45_10628.jpg', 2), ('/home/nano/Desktop/images/29092025/07/36/image_29092025_07_36_34_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/07/36/image_29092025_07_36_24_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/07/36/image_29092025_07_36_15_10751.jpg', 2), ('/home/nano/Desktop/images/29092025/07/35/image_29092025_07_36_04_9736.jpg', 2), ('/home/nano/Desktop/images/29092025/07/35/image_29092025_07_35_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f775accc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f775accc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:38:32.113509
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/38/image_29092025_07_38_44_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/07/38/image_29092025_07_38_35_10640.jpg', 2), ('/home/nano/Desktop/images/29092025/07/38/image_29092025_07_38_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/07/38/image_29092025_07_38_15_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/07/37/image_29092025_07_38_05_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/07/37/image_29092025_07_37_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9fd04cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fd04cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:40:47.386596
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/40/image_29092025_07_40_44_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/07/40/image_29092025_07_40_34_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/07/40/image_29092025_07_40_25_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/07/40/image_29092025_07_40_14_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/07/39/image_29092025_07_40_05_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/07/39/image_29092025_07_39_55_10633.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb6011cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb6011cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:43:03.387494
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/42/image_29092025_07_42_45_10629.jpg', 2), ('/home/nano/Desktop/images/29092025/07/42/image_29092025_07_42_34_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/07/42/image_29092025_07_42_24_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/07/42/image_29092025_07_42_15_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/07/41/image_29092025_07_42_04_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/07/41/image_29092025_07_41_54_9621.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8827ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8827ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:45:16.902674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/45/image_29092025_07_45_44_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/07/45/image_29092025_07_45_34_9615.jpg', 2), ('/home/nano/Desktop/images/29092025/07/45/image_29092025_07_45_25_10627.jpg', 2), ('/home/nano/Desktop/images/29092025/07/45/image_29092025_07_45_14_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/07/44/image_29092025_07_45_05_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/07/44/image_29092025_07_44_55_10637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8ceb7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ceb7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:47:32.215110
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/47/image_29092025_07_47_45_10629.jpg', 2), ('/home/nano/Desktop/images/29092025/07/47/image_29092025_07_47_34_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/07/47/image_29092025_07_47_24_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/07/47/image_29092025_07_47_15_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/07/46/image_29092025_07_47_04_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/07/46/image_29092025_07_46_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faecbccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faecbccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:49:47.446584
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/49/image_29092025_07_49_44_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/07/49/image_29092025_07_49_35_10626.jpg', 2), ('/home/nano/Desktop/images/29092025/07/49/image_29092025_07_49_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/07/49/image_29092025_07_49_14_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/07/48/image_29092025_07_49_05_10638.jpg', 2), ('/home/nano/Desktop/images/29092025/07/48/image_29092025_07_48_54_9620.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9f2ffcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f2ffcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:52:03.278706
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/51/image_29092025_07_51_45_10624.jpg', 2), ('/home/nano/Desktop/images/29092025/07/51/image_29092025_07_51_34_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/07/51/image_29092025_07_51_25_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/07/51/image_29092025_07_51_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/07/50/image_29092025_07_51_04_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/07/50/image_29092025_07_50_55_10634.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa046ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa046ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:54:17.035762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/54/image_29092025_07_54_45_10629.jpg', 2), ('/home/nano/Desktop/images/29092025/07/54/image_29092025_07_54_34_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/07/54/image_29092025_07_54_25_10640.jpg', 2), ('/home/nano/Desktop/images/29092025/07/54/image_29092025_07_54_14_9687.jpg', 2), ('/home/nano/Desktop/images/29092025/07/53/image_29092025_07_54_04_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/07/53/image_29092025_07_53_44_9631.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95ec6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95ec6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:56:32.164929
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 07:59:03.031396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/07/58/image_29092025_07_58_44_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/07/58/image_29092025_07_58_35_10628.jpg', 2), ('/home/nano/Desktop/images/29092025/07/58/image_29092025_07_58_24_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/07/58/image_29092025_07_58_14_9767.jpg', 2), ('/home/nano/Desktop/images/29092025/07/57/image_29092025_07_58_05_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/07/57/image_29092025_07_57_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8981ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8981ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 08:01:17.194382
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/08/01/image_29092025_08_01_45_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/08/01/image_29092025_08_01_15_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/08/00/image_29092025_08_01_04_9611.jpg', 2), ('/home/nano/Desktop/images/29092025/08/00/image_29092025_08_00_55_10645.jpg', 2), ('/home/nano/Desktop/images/29092025/08/00/image_29092025_08_00_44_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/08/00/image_29092025_08_00_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d6dccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa1ed9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f91f70c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8517acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa3843c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f93227cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7fe25c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7dd8bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f822bccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faffeccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8703acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4eeacc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa113acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb35b5c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f92cd7c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9931bc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa544ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5274cf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faac6bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9bfe6c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85a13cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa20d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa20d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 08:50:46.798986
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/08/50/image_29092025_08_50_44_9904.jpg', 2), ('/home/nano/Desktop/images/29092025/08/50/image_29092025_08_50_34_9907.jpg', 2), ('/home/nano/Desktop/images/29092025/08/50/image_29092025_08_50_24_9925.jpg', 2), ('/home/nano/Desktop/images/29092025/08/50/image_29092025_08_50_14_9957.jpg', 2), ('/home/nano/Desktop/images/29092025/08/49/image_29092025_08_50_04_10022.jpg', 2), ('/home/nano/Desktop/images/29092025/08/48/image_29092025_08_48_14_9914.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90dd2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa4dddcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90285cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90285cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 08:57:32.604347
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 08:58:03.063987
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/08/57/image_29092025_08_57_45_9884.jpg', 2), ('/home/nano/Desktop/images/29092025/08/57/image_29092025_08_57_35_9862.jpg', 2), ('/home/nano/Desktop/images/29092025/08/57/image_29092025_08_57_25_10872.jpg', 2), ('/home/nano/Desktop/images/29092025/08/57/image_29092025_08_57_14_9899.jpg', 2), ('/home/nano/Desktop/images/29092025/08/56/image_29092025_08_57_04_9865.jpg', 2), ('/home/nano/Desktop/images/29092025/08/56/image_29092025_08_56_54_9859.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7e8e0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faae68cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7730ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8b677cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d870cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8651bc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e262cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87c51c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa3ae9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7b72ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b72ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:20:31.778167
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/19/image_29092025_09_19_54_10025.jpg', 2), ('/home/nano/Desktop/images/29092025/09/10/image_29092025_09_10_44_9985.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_04_04_9939.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_54_9978.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_44_9951.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_34_9924.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad95dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad95dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:22:46.980202
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/19/image_29092025_09_19_54_10025.jpg', 2), ('/home/nano/Desktop/images/29092025/09/10/image_29092025_09_10_44_9985.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_04_04_9939.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_54_9978.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_44_9951.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_34_9924.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7afd1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7afd1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:25:03.159877
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/19/image_29092025_09_19_54_10025.jpg', 2), ('/home/nano/Desktop/images/29092025/09/10/image_29092025_09_10_44_9985.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_04_04_9939.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_54_9978.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_44_9951.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_34_9924.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa9050c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9050c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:27:17.500083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/19/image_29092025_09_19_54_10025.jpg', 2), ('/home/nano/Desktop/images/29092025/09/10/image_29092025_09_10_44_9985.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_04_04_9939.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_54_9978.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_44_9951.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_34_9924.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d74ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0933cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0933cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:31:46.962891
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/19/image_29092025_09_19_54_10025.jpg', 2), ('/home/nano/Desktop/images/29092025/09/10/image_29092025_09_10_44_9985.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_04_04_9939.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_54_9978.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_44_9951.jpg', 2), ('/home/nano/Desktop/images/29092025/09/03/image_29092025_09_03_34_9924.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9510fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9510fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:34:03.043556
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/33/image_29092025_09_33_44_10035.jpg', 2), ('/home/nano/Desktop/images/29092025/09/33/image_29092025_09_33_34_10001.jpg', 2), ('/home/nano/Desktop/images/29092025/09/32/image_29092025_09_33_04_9988.jpg', 2), ('/home/nano/Desktop/images/29092025/09/32/image_29092025_09_32_54_10006.jpg', 2), ('/home/nano/Desktop/images/29092025/09/19/image_29092025_09_19_54_10025.jpg', 2), ('/home/nano/Desktop/images/29092025/09/10/image_29092025_09_10_44_9985.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6df8c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6df8c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:36:17.604318
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_36_05_10869.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_54_9971.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_44_9994.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_24_9911.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_14_9931.jpg', 2), ('/home/nano/Desktop/images/29092025/09/34/image_29092025_09_35_04_9990.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7868ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7868ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:38:31.853254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_36_05_10869.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_54_9971.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_44_9994.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_24_9911.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_14_9931.jpg', 2), ('/home/nano/Desktop/images/29092025/09/34/image_29092025_09_35_04_9990.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86d2ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86d2ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:40:47.108828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_36_05_10869.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_54_9971.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_44_9994.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_24_9911.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_14_9931.jpg', 2), ('/home/nano/Desktop/images/29092025/09/34/image_29092025_09_35_04_9990.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f81494c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81494c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:43:03.232746
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_36_05_10869.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_54_9971.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_44_9994.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_24_9911.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_14_9931.jpg', 2), ('/home/nano/Desktop/images/29092025/09/34/image_29092025_09_35_04_9990.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98eebcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98eebcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:45:17.663809
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_36_05_10869.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_54_9971.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_44_9994.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_24_9911.jpg', 2), ('/home/nano/Desktop/images/29092025/09/35/image_29092025_09_35_14_9931.jpg', 2), ('/home/nano/Desktop/images/29092025/09/34/image_29092025_09_35_04_9990.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d4dccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d4dccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:47:31.879521
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/47/image_29092025_09_47_45_10723.jpg', 2), ('/home/nano/Desktop/images/29092025/09/47/image_29092025_09_47_34_9868.jpg', 2), ('/home/nano/Desktop/images/29092025/09/47/image_29092025_09_47_24_9942.jpg', 2), ('/home/nano/Desktop/images/29092025/09/47/image_29092025_09_47_14_10059.jpg', 2), ('/home/nano/Desktop/images/29092025/09/46/image_29092025_09_47_04_10060.jpg', 2), ('/home/nano/Desktop/images/29092025/09/46/image_29092025_09_46_54_9838.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6a6fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6a6fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:49:47.215658
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/49/image_29092025_09_49_25_10693.jpg', 2), ('/home/nano/Desktop/images/29092025/09/49/image_29092025_09_49_14_9707.jpg', 2), ('/home/nano/Desktop/images/29092025/09/48/image_29092025_09_48_55_10701.jpg', 2), ('/home/nano/Desktop/images/29092025/09/48/image_29092025_09_48_34_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/09/48/image_29092025_09_48_25_10710.jpg', 2), ('/home/nano/Desktop/images/29092025/09/48/image_29092025_09_48_14_9729.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f883b9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f883b9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:52:03.001408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/51/image_29092025_09_51_45_10693.jpg', 2), ('/home/nano/Desktop/images/29092025/09/50/image_29092025_09_50_35_10714.jpg', 2), ('/home/nano/Desktop/images/29092025/09/50/image_29092025_09_50_24_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/09/50/image_29092025_09_50_14_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/09/49/image_29092025_09_49_35_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/09/49/image_29092025_09_49_25_10693.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f808f2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f808f2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:54:17.750866
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/54/image_29092025_09_54_45_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/09/54/image_29092025_09_54_34_9608.jpg', 2), ('/home/nano/Desktop/images/29092025/09/54/image_29092025_09_54_25_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/09/54/image_29092025_09_54_15_10680.jpg', 2), ('/home/nano/Desktop/images/29092025/09/53/image_29092025_09_54_04_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/09/53/image_29092025_09_53_55_9683.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5e45cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5e45cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:56:31.943105
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 09:58:02.588895
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/09/57/image_29092025_09_57_44_9758.jpg', 2), ('/home/nano/Desktop/images/29092025/09/57/image_29092025_09_57_34_9758.jpg', 2), ('/home/nano/Desktop/images/29092025/09/57/image_29092025_09_57_25_9754.jpg', 2), ('/home/nano/Desktop/images/29092025/09/57/image_29092025_09_57_15_10718.jpg', 2), ('/home/nano/Desktop/images/29092025/09/56/image_29092025_09_57_04_9805.jpg', 2), ('/home/nano/Desktop/images/29092025/09/56/image_29092025_09_56_54_9691.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d54ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8edc8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4abbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86769cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f962ccc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f405cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f405cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:11:32.082120
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/11/image_29092025_10_11_44_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/10/11/image_29092025_10_11_35_10638.jpg', 2), ('/home/nano/Desktop/images/29092025/10/11/image_29092025_10_11_24_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/10/11/image_29092025_10_11_14_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/10/10/image_29092025_10_11_05_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/10/10/image_29092025_10_10_54_9622.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6931cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6931cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:13:47.227871
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/13/image_29092025_10_13_44_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/10/13/image_29092025_10_13_34_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/10/13/image_29092025_10_13_25_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/10/13/image_29092025_10_13_14_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/10/12/image_29092025_10_13_04_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/10/12/image_29092025_10_12_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c0f3cf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c0f3cf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:16:02.995573
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/15/image_29092025_10_15_45_10757.jpg', 2), ('/home/nano/Desktop/images/29092025/10/15/image_29092025_10_15_34_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/10/15/image_29092025_10_15_25_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/10/15/image_29092025_10_15_15_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/10/14/image_29092025_10_15_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/10/14/image_29092025_10_14_54_9632.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac840cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85c6ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85c6ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:20:32.022129
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/20/image_29092025_10_20_45_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/10/20/image_29092025_10_20_34_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/10/20/image_29092025_10_20_24_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/10/20/image_29092025_10_20_15_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/10/19/image_29092025_10_20_04_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/10/19/image_29092025_10_19_54_9650.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fabb51cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fabb51cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:22:47.241418
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/22/image_29092025_10_22_45_10645.jpg', 2), ('/home/nano/Desktop/images/29092025/10/22/image_29092025_10_22_34_9703.jpg', 2), ('/home/nano/Desktop/images/29092025/10/22/image_29092025_10_22_24_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/10/22/image_29092025_10_22_15_10761.jpg', 2), ('/home/nano/Desktop/images/29092025/10/21/image_29092025_10_22_04_9703.jpg', 2), ('/home/nano/Desktop/images/29092025/10/21/image_29092025_10_21_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86dcecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86dcecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:25:03.301859
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/24/image_29092025_10_24_44_9713.jpg', 2), ('/home/nano/Desktop/images/29092025/10/24/image_29092025_10_24_34_9714.jpg', 2), ('/home/nano/Desktop/images/29092025/10/24/image_29092025_10_24_25_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/10/24/image_29092025_10_24_15_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/10/23/image_29092025_10_24_04_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/10/23/image_29092025_10_23_55_9736.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae450cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae450cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:27:16.790337
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/27/image_29092025_10_27_45_10725.jpg', 2), ('/home/nano/Desktop/images/29092025/10/27/image_29092025_10_27_34_9715.jpg', 2), ('/home/nano/Desktop/images/29092025/10/27/image_29092025_10_27_24_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/10/27/image_29092025_10_27_15_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/10/26/image_29092025_10_27_05_10737.jpg', 2), ('/home/nano/Desktop/images/29092025/10/26/image_29092025_10_26_54_9621.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa9d63cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa7f5ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7f5ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:31:47.224289
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/31/image_29092025_10_31_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/10/31/image_29092025_10_31_35_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/10/31/image_29092025_10_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/10/31/image_29092025_10_31_14_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/10/30/image_29092025_10_31_05_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/10/30/image_29092025_10_30_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa495bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa495bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:34:03.442155
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/33/image_29092025_10_33_45_10696.jpg', 2), ('/home/nano/Desktop/images/29092025/10/33/image_29092025_10_33_34_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/10/33/image_29092025_10_33_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/10/33/image_29092025_10_33_15_10705.jpg', 2), ('/home/nano/Desktop/images/29092025/10/32/image_29092025_10_33_04_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/10/32/image_29092025_10_32_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95f77cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f77cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:36:17.713715
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/36/image_29092025_10_36_44_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/10/36/image_29092025_10_36_34_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/10/36/image_29092025_10_36_25_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/10/36/image_29092025_10_36_14_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/10/35/image_29092025_10_36_04_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/10/35/image_29092025_10_35_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa7f81cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7f81cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:38:31.952861
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/38/image_29092025_10_38_44_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/10/38/image_29092025_10_38_34_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/10/38/image_29092025_10_38_25_10638.jpg', 2), ('/home/nano/Desktop/images/29092025/10/38/image_29092025_10_38_14_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/10/37/image_29092025_10_38_04_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/10/37/image_29092025_10_37_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fad05ac50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad05ac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:40:47.171632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/40/image_29092025_10_40_45_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/10/40/image_29092025_10_40_34_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/10/40/image_29092025_10_40_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/10/40/image_29092025_10_40_15_10682.jpg', 2), ('/home/nano/Desktop/images/29092025/10/39/image_29092025_10_40_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/10/39/image_29092025_10_39_54_9629.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6ff7c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6ff7c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:43:03.263240
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/42/image_29092025_10_42_45_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/10/42/image_29092025_10_42_35_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/10/42/image_29092025_10_42_24_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/10/42/image_29092025_10_42_15_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/10/41/image_29092025_10_42_05_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/10/41/image_29092025_10_41_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab282cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab282cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:45:17.717079
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/45/image_29092025_10_45_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/10/45/image_29092025_10_45_35_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/10/45/image_29092025_10_45_24_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/10/45/image_29092025_10_45_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/10/44/image_29092025_10_45_05_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/10/44/image_29092025_10_44_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98438cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98438cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:47:31.990467
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/47/image_29092025_10_47_44_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/10/47/image_29092025_10_47_34_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/10/47/image_29092025_10_47_25_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/10/47/image_29092025_10_47_14_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/10/46/image_29092025_10_47_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/10/46/image_29092025_10_46_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90390cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90390cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:49:47.190459
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/49/image_29092025_10_49_45_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/10/49/image_29092025_10_49_34_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/10/49/image_29092025_10_49_25_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/10/49/image_29092025_10_49_15_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/10/48/image_29092025_10_49_04_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/10/48/image_29092025_10_48_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7b99bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b99bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:52:02.773995
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/51/image_29092025_10_51_45_10624.jpg', 2), ('/home/nano/Desktop/images/29092025/10/51/image_29092025_10_51_34_9606.jpg', 2), ('/home/nano/Desktop/images/29092025/10/51/image_29092025_10_51_24_9609.jpg', 2), ('/home/nano/Desktop/images/29092025/10/51/image_29092025_10_51_15_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/10/50/image_29092025_10_51_04_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/10/50/image_29092025_10_50_55_9673.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85d2fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85d2fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:54:17.706172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/54/image_29092025_10_54_45_10616.jpg', 2), ('/home/nano/Desktop/images/29092025/10/54/image_29092025_10_54_34_9611.jpg', 2), ('/home/nano/Desktop/images/29092025/10/54/image_29092025_10_54_25_10621.jpg', 2), ('/home/nano/Desktop/images/29092025/10/54/image_29092025_10_54_14_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/10/53/image_29092025_10_54_04_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/10/53/image_29092025_10_53_55_10622.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa9594c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9594c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:56:31.999347
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 10:58:02.721297
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/10/57/image_29092025_10_57_44_9618.jpg', 2), ('/home/nano/Desktop/images/29092025/10/57/image_29092025_10_57_35_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/10/57/image_29092025_10_57_24_9618.jpg', 2), ('/home/nano/Desktop/images/29092025/10/57/image_29092025_10_57_14_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/10/56/image_29092025_10_57_05_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/10/56/image_29092025_10_56_54_9614.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa3705cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3705cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:00:17.161966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/00/image_29092025_11_00_45_10620.jpg', 2), ('/home/nano/Desktop/images/29092025/11/00/image_29092025_11_00_24_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/11/00/image_29092025_11_00_15_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/10/59/image_29092025_11_00_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/10/59/image_29092025_10_59_54_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/10/59/image_29092025_10_59_45_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5d08cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5d08cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:02:32.393602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/02/image_29092025_11_02_44_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/11/02/image_29092025_11_02_35_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/11/02/image_29092025_11_02_24_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/11/02/image_29092025_11_02_14_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/11/01/image_29092025_11_02_05_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/11/01/image_29092025_11_01_54_9616.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f851b7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f851b7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:04:47.628078
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/04/image_29092025_11_04_45_10630.jpg', 2), ('/home/nano/Desktop/images/29092025/11/04/image_29092025_11_04_34_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/11/04/image_29092025_11_04_25_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/11/04/image_29092025_11_04_14_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/11/03/image_29092025_11_04_04_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/11/03/image_29092025_11_03_55_10640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb5ad5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb5ad5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:07:02.682192
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/06/image_29092025_11_06_44_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/11/06/image_29092025_11_06_35_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/11/06/image_29092025_11_06_24_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/11/06/image_29092025_11_06_15_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/11/05/image_29092025_11_06_05_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/11/05/image_29092025_11_05_54_9623.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f76c0ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98d12cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98d12cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:11:32.334159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/11/image_29092025_11_11_44_9704.jpg', 2), ('/home/nano/Desktop/images/29092025/11/11/image_29092025_11_11_35_10712.jpg', 2), ('/home/nano/Desktop/images/29092025/11/11/image_29092025_11_11_24_9687.jpg', 2), ('/home/nano/Desktop/images/29092025/11/11/image_29092025_11_11_14_9774.jpg', 2), ('/home/nano/Desktop/images/29092025/11/10/image_29092025_11_11_05_9830.jpg', 2), ('/home/nano/Desktop/images/29092025/11/10/image_29092025_11_10_55_9715.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa6445cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa6445cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:13:47.569321
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/13/image_29092025_11_13_44_9720.jpg', 2), ('/home/nano/Desktop/images/29092025/11/13/image_29092025_11_13_34_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/11/13/image_29092025_11_13_25_10704.jpg', 2), ('/home/nano/Desktop/images/29092025/11/13/image_29092025_11_13_14_9804.jpg', 2), ('/home/nano/Desktop/images/29092025/11/12/image_29092025_11_13_04_9718.jpg', 2), ('/home/nano/Desktop/images/29092025/11/12/image_29092025_11_12_54_9702.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb63d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb63d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:16:02.412491
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/15/image_29092025_11_15_45_10717.jpg', 2), ('/home/nano/Desktop/images/29092025/11/15/image_29092025_11_15_34_9808.jpg', 2), ('/home/nano/Desktop/images/29092025/11/15/image_29092025_11_15_24_9791.jpg', 2), ('/home/nano/Desktop/images/29092025/11/15/image_29092025_11_15_15_9801.jpg', 2), ('/home/nano/Desktop/images/29092025/11/14/image_29092025_11_15_05_10746.jpg', 2), ('/home/nano/Desktop/images/29092025/11/14/image_29092025_11_14_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8a784cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a784cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:18:17.155878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/18/image_29092025_11_18_44_9753.jpg', 2), ('/home/nano/Desktop/images/29092025/11/18/image_29092025_11_18_34_9768.jpg', 2), ('/home/nano/Desktop/images/29092025/11/18/image_29092025_11_18_24_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/11/18/image_29092025_11_18_15_10762.jpg', 2), ('/home/nano/Desktop/images/29092025/11/17/image_29092025_11_18_04_9724.jpg', 2), ('/home/nano/Desktop/images/29092025/11/17/image_29092025_11_17_54_9705.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f77864cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77864cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:20:32.416313
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/20/image_29092025_11_20_45_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/11/20/image_29092025_11_20_34_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/11/20/image_29092025_11_20_25_10645.jpg', 2), ('/home/nano/Desktop/images/29092025/11/20/image_29092025_11_20_14_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/11/19/image_29092025_11_19_55_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/11/19/image_29092025_11_19_44_9630.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa2dc7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa2dc7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:22:47.625921
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/22/image_29092025_11_22_45_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/11/22/image_29092025_11_22_35_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/11/22/image_29092025_11_22_24_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/11/22/image_29092025_11_22_15_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/11/21/image_29092025_11_22_04_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/11/21/image_29092025_11_21_54_9626.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f191cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f191cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:25:02.625544
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/24/image_29092025_11_24_44_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/11/24/image_29092025_11_24_35_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/11/24/image_29092025_11_24_25_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/11/24/image_29092025_11_24_14_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/11/23/image_29092025_11_24_05_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/11/23/image_29092025_11_23_54_9633.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8a73fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a73fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:27:17.163649
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/27/image_29092025_11_27_45_10620.jpg', 2), ('/home/nano/Desktop/images/29092025/11/27/image_29092025_11_27_34_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/11/27/image_29092025_11_27_25_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/11/27/image_29092025_11_27_15_10688.jpg', 2), ('/home/nano/Desktop/images/29092025/11/26/image_29092025_11_27_04_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/11/26/image_29092025_11_26_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7efe3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7efe3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:29:32.439742
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/29/image_29092025_11_29_44_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/11/29/image_29092025_11_29_35_10640.jpg', 2), ('/home/nano/Desktop/images/29092025/11/29/image_29092025_11_29_15_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/11/28/image_29092025_11_29_05_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/11/28/image_29092025_11_28_54_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/11/28/image_29092025_11_28_45_10643.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa7682cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7682cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:31:47.713876
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/31/image_29092025_11_31_44_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/11/31/image_29092025_11_31_34_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/11/31/image_29092025_11_31_25_10640.jpg', 2), ('/home/nano/Desktop/images/29092025/11/31/image_29092025_11_31_14_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/11/30/image_29092025_11_31_05_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/11/30/image_29092025_11_30_55_10639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9ae7ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9ae7ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:34:02.844954
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/33/image_29092025_11_33_44_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/11/33/image_29092025_11_33_34_9783.jpg', 2), ('/home/nano/Desktop/images/29092025/11/33/image_29092025_11_33_25_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/11/33/image_29092025_11_33_14_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/11/32/image_29092025_11_33_04_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/11/32/image_29092025_11_32_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9f987cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f987cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:36:17.339797
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/36/image_29092025_11_36_45_9732.jpg', 2), ('/home/nano/Desktop/images/29092025/11/36/image_29092025_11_36_35_10771.jpg', 2), ('/home/nano/Desktop/images/29092025/11/36/image_29092025_11_36_24_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/11/36/image_29092025_11_36_14_9792.jpg', 2), ('/home/nano/Desktop/images/29092025/11/35/image_29092025_11_36_05_9744.jpg', 2), ('/home/nano/Desktop/images/29092025/11/35/image_29092025_11_35_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fac9a4c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac9a4c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:38:32.536240
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/38/image_29092025_11_38_44_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/11/38/image_29092025_11_38_35_10625.jpg', 2), ('/home/nano/Desktop/images/29092025/11/38/image_29092025_11_38_24_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/11/38/image_29092025_11_38_15_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/11/37/image_29092025_11_38_05_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/11/37/image_29092025_11_37_54_9619.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0342cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0342cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:40:46.781738
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/40/image_29092025_11_40_44_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/11/40/image_29092025_11_40_35_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/11/40/image_29092025_11_40_25_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/11/39/image_29092025_11_40_05_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/11/39/image_29092025_11_39_54_9615.jpg', 2), ('/home/nano/Desktop/images/29092025/11/39/image_29092025_11_39_44_9670.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95774cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95774cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:43:02.872127
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/42/image_29092025_11_42_45_10630.jpg', 2), ('/home/nano/Desktop/images/29092025/11/42/image_29092025_11_42_34_9618.jpg', 2), ('/home/nano/Desktop/images/29092025/11/42/image_29092025_11_42_25_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/11/42/image_29092025_11_42_15_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/11/41/image_29092025_11_42_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/11/41/image_29092025_11_41_55_9629.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9fae6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fae6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:45:17.293319
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/45/image_29092025_11_45_45_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/11/45/image_29092025_11_45_35_10623.jpg', 2), ('/home/nano/Desktop/images/29092025/11/45/image_29092025_11_45_24_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/11/45/image_29092025_11_45_15_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/11/44/image_29092025_11_45_05_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/11/44/image_29092025_11_44_54_9688.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95b92cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95b92cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:47:32.482935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/47/image_29092025_11_47_44_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/11/47/image_29092025_11_47_35_10720.jpg', 2), ('/home/nano/Desktop/images/29092025/11/47/image_29092025_11_47_24_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/11/47/image_29092025_11_47_14_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/11/46/image_29092025_11_47_05_10688.jpg', 2), ('/home/nano/Desktop/images/29092025/11/46/image_29092025_11_46_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f920cbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f920cbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:49:47.705623
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/49/image_29092025_11_49_44_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/11/49/image_29092025_11_49_35_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/11/49/image_29092025_11_49_24_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/11/49/image_29092025_11_49_14_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/11/48/image_29092025_11_49_05_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/11/48/image_29092025_11_48_54_9649.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f92267cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92267cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:52:02.393354
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/51/image_29092025_11_51_44_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/11/51/image_29092025_11_51_35_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/11/51/image_29092025_11_51_25_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/11/51/image_29092025_11_51_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/11/50/image_29092025_11_51_05_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/11/50/image_29092025_11_50_55_10635.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8d111cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8d111cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:54:17.261791
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/54/image_29092025_11_54_45_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/11/54/image_29092025_11_54_34_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/11/54/image_29092025_11_54_24_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/11/54/image_29092025_11_54_15_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/11/53/image_29092025_11_54_04_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/11/53/image_29092025_11_53_54_9625.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f83b1ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83b1ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:56:32.453482
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 11:58:03.062205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/11/57/image_29092025_11_57_44_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/11/57/image_29092025_11_57_35_10640.jpg', 2), ('/home/nano/Desktop/images/29092025/11/57/image_29092025_11_57_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/11/56/image_29092025_11_57_05_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/11/56/image_29092025_11_56_54_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/11/56/image_29092025_11_56_35_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f81846cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81846cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:00:17.637072
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/00/image_29092025_12_00_34_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/12/00/image_29092025_12_00_24_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/12/00/image_29092025_12_00_15_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/11/59/image_29092025_12_00_04_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/11/59/image_29092025_11_59_54_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/11/59/image_29092025_11_59_45_10636.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa444cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa444cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:02:31.861052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/02/image_29092025_12_02_45_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/12/02/image_29092025_12_02_35_10709.jpg', 2), ('/home/nano/Desktop/images/29092025/12/02/image_29092025_12_02_24_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/12/02/image_29092025_12_02_14_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/12/01/image_29092025_12_02_05_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/12/01/image_29092025_12_01_54_9615.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa9fb4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa9fb4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:04:47.046541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/04/image_29092025_12_04_35_10608.jpg', 2), ('/home/nano/Desktop/images/29092025/12/04/image_29092025_12_04_24_9601.jpg', 2), ('/home/nano/Desktop/images/29092025/12/04/image_29092025_12_04_15_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/12/03/image_29092025_12_04_04_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/12/03/image_29092025_12_03_54_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/12/03/image_29092025_12_03_45_10628.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82f67cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82f67cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:07:03.087869
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/06/image_29092025_12_06_34_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/12/06/image_29092025_12_06_24_9789.jpg', 2), ('/home/nano/Desktop/images/29092025/12/06/image_29092025_12_06_15_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/12/05/image_29092025_12_06_04_9771.jpg', 2), ('/home/nano/Desktop/images/29092025/12/05/image_29092025_12_05_54_9766.jpg', 2), ('/home/nano/Desktop/images/29092025/12/05/image_29092025_12_05_44_9742.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90739cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90739cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:09:17.594201
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/09/image_29092025_12_09_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/12/09/image_29092025_12_09_14_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/12/08/image_29092025_12_08_54_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/12/08/image_29092025_12_08_45_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/12/08/image_29092025_12_08_35_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/12/08/image_29092025_12_08_24_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4942cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4942cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:11:31.829040
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/11/image_29092025_12_11_44_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/12/11/image_29092025_12_11_35_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/12/11/image_29092025_12_11_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/12/11/image_29092025_12_11_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/12/10/image_29092025_12_11_05_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/12/10/image_29092025_12_10_55_10637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8a437cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a437cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:13:46.994388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/13/image_29092025_12_13_25_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/12/13/image_29092025_12_13_14_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/12/12/image_29092025_12_13_04_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/12/12/image_29092025_12_12_55_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/12/12/image_29092025_12_12_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/12/12/image_29092025_12_12_34_9625.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8dca4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8dca4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:16:02.946621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/15/image_29092025_12_15_45_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/12/15/image_29092025_12_15_35_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/12/15/image_29092025_12_15_24_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/12/15/image_29092025_12_15_15_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/12/14/image_29092025_12_14_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/12/14/image_29092025_12_14_15_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9cdebcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cdebcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:18:17.596540
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/18/image_29092025_12_18_44_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/12/18/image_29092025_12_18_34_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/12/18/image_29092025_12_18_25_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/12/18/image_29092025_12_18_14_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/12/17/image_29092025_12_18_05_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/12/17/image_29092025_12_17_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9bbb5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9bbb5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:20:31.848514
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/20/image_29092025_12_20_44_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/12/20/image_29092025_12_20_34_9826.jpg', 2), ('/home/nano/Desktop/images/29092025/12/20/image_29092025_12_20_24_9831.jpg', 2), ('/home/nano/Desktop/images/29092025/12/20/image_29092025_12_20_15_9855.jpg', 2), ('/home/nano/Desktop/images/29092025/12/19/image_29092025_12_20_05_9821.jpg', 2), ('/home/nano/Desktop/images/29092025/12/19/image_29092025_12_19_55_10721.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0550cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0550cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:22:47.069570
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/22/image_29092025_12_22_44_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/12/22/image_29092025_12_22_35_9846.jpg', 2), ('/home/nano/Desktop/images/29092025/12/22/image_29092025_12_22_25_9836.jpg', 2), ('/home/nano/Desktop/images/29092025/12/22/image_29092025_12_22_15_10711.jpg', 2), ('/home/nano/Desktop/images/29092025/12/21/image_29092025_12_22_04_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/12/21/image_29092025_12_21_54_9758.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f915c8c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f915c8c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f915c8c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:25:03.080249
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/24/image_29092025_12_24_44_9680.jpg', 2), ('/home/nano/Desktop/images/29092025/12/24/image_29092025_12_24_35_10680.jpg', 2), ('/home/nano/Desktop/images/29092025/12/24/image_29092025_12_24_24_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/12/24/image_29092025_12_24_14_9709.jpg', 2), ('/home/nano/Desktop/images/29092025/12/23/image_29092025_12_24_05_10691.jpg', 2), ('/home/nano/Desktop/images/29092025/12/23/image_29092025_12_23_54_9686.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa238cc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa238cc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa238cc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:27:17.609689
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/27/image_29092025_12_27_45_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/12/27/image_29092025_12_27_34_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/12/27/image_29092025_12_27_25_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/12/27/image_29092025_12_27_15_10733.jpg', 2), ('/home/nano/Desktop/images/29092025/12/26/image_29092025_12_27_04_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/12/26/image_29092025_12_26_54_9721.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2461cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2461cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2461cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:29:31.785633
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/29/image_29092025_12_29_44_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/12/29/image_29092025_12_29_34_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/12/29/image_29092025_12_29_25_10690.jpg', 2), ('/home/nano/Desktop/images/29092025/12/29/image_29092025_12_29_14_9697.jpg', 2), ('/home/nano/Desktop/images/29092025/12/28/image_29092025_12_29_04_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/12/28/image_29092025_12_28_55_9683.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85be3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85be3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85be3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:31:46.982400
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/31/image_29092025_12_31_44_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/12/31/image_29092025_12_31_35_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/12/31/image_29092025_12_31_25_10690.jpg', 2), ('/home/nano/Desktop/images/29092025/12/31/image_29092025_12_31_14_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/12/30/image_29092025_12_31_04_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/12/30/image_29092025_12_30_55_10678.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa8e63cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8e63cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8e63cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:34:02.977216
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/33/image_29092025_12_33_44_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/12/33/image_29092025_12_33_35_10694.jpg', 2), ('/home/nano/Desktop/images/29092025/12/33/image_29092025_12_33_24_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/12/33/image_29092025_12_33_14_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/12/32/image_29092025_12_33_05_10693.jpg', 2), ('/home/nano/Desktop/images/29092025/12/32/image_29092025_12_32_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf965cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf965cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf965cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:36:17.553075
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/36/image_29092025_12_36_44_9706.jpg', 2), ('/home/nano/Desktop/images/29092025/12/36/image_29092025_12_36_34_9705.jpg', 2), ('/home/nano/Desktop/images/29092025/12/36/image_29092025_12_36_25_10716.jpg', 2), ('/home/nano/Desktop/images/29092025/12/36/image_29092025_12_36_14_9728.jpg', 2), ('/home/nano/Desktop/images/29092025/12/35/image_29092025_12_36_04_9732.jpg', 2), ('/home/nano/Desktop/images/29092025/12/35/image_29092025_12_35_55_9706.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f943bfcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f943bfcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f943bfcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:38:31.775182
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/38/image_29092025_12_38_45_10714.jpg', 2), ('/home/nano/Desktop/images/29092025/12/38/image_29092025_12_38_34_9707.jpg', 2), ('/home/nano/Desktop/images/29092025/12/38/image_29092025_12_38_24_9704.jpg', 2), ('/home/nano/Desktop/images/29092025/12/38/image_29092025_12_38_15_9731.jpg', 2), ('/home/nano/Desktop/images/29092025/12/37/image_29092025_12_38_05_10731.jpg', 2), ('/home/nano/Desktop/images/29092025/12/37/image_29092025_12_37_54_9705.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0b93cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0b93cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0b93cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:40:47.142793
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/40/image_29092025_12_40_45_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/12/40/image_29092025_12_40_34_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/12/40/image_29092025_12_40_25_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/12/40/image_29092025_12_40_15_10733.jpg', 2), ('/home/nano/Desktop/images/29092025/12/39/image_29092025_12_40_04_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/12/39/image_29092025_12_39_54_9697.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94870cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94870cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94870cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:43:02.975171
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/42/image_29092025_12_42_44_9704.jpg', 2), ('/home/nano/Desktop/images/29092025/12/42/image_29092025_12_42_35_9715.jpg', 2), ('/home/nano/Desktop/images/29092025/12/42/image_29092025_12_42_25_10691.jpg', 2), ('/home/nano/Desktop/images/29092025/12/42/image_29092025_12_42_14_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/12/41/image_29092025_12_42_04_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/12/41/image_29092025_12_41_55_10682.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94001cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94001cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94001cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:45:17.709051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/45/image_29092025_12_45_45_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/12/45/image_29092025_12_45_34_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/12/45/image_29092025_12_45_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/12/45/image_29092025_12_45_15_10722.jpg', 2), ('/home/nano/Desktop/images/29092025/12/44/image_29092025_12_45_04_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/12/44/image_29092025_12_44_54_9693.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88760cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88760cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88760cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:47:32.021436
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/47/image_29092025_12_47_44_9706.jpg', 2), ('/home/nano/Desktop/images/29092025/12/47/image_29092025_12_47_34_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/12/47/image_29092025_12_47_25_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/12/47/image_29092025_12_47_14_9735.jpg', 2), ('/home/nano/Desktop/images/29092025/12/46/image_29092025_12_47_04_9710.jpg', 2), ('/home/nano/Desktop/images/29092025/12/46/image_29092025_12_46_55_9696.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa540ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa540ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa540ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:49:47.271103
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/49/image_29092025_12_49_35_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/12/49/image_29092025_12_49_24_9745.jpg', 2), ('/home/nano/Desktop/images/29092025/12/49/image_29092025_12_49_14_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/12/48/image_29092025_12_49_05_9765.jpg', 2), ('/home/nano/Desktop/images/29092025/12/48/image_29092025_12_48_55_10627.jpg', 2), ('/home/nano/Desktop/images/29092025/12/48/image_29092025_12_48_44_9679.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fab57ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab57ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fab57ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:52:03.056790
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/51/image_29092025_12_51_44_9720.jpg', 2), ('/home/nano/Desktop/images/29092025/12/51/image_29092025_12_51_35_10684.jpg', 2), ('/home/nano/Desktop/images/29092025/12/51/image_29092025_12_51_24_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/12/51/image_29092025_12_51_14_9745.jpg', 2), ('/home/nano/Desktop/images/29092025/12/50/image_29092025_12_51_05_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/12/50/image_29092025_12_50_55_10779.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80ffccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80ffccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80ffccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:54:16.782030
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/54/image_29092025_12_54_44_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/12/54/image_29092025_12_54_35_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/12/54/image_29092025_12_54_25_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/12/54/image_29092025_12_54_14_9680.jpg', 2), ('/home/nano/Desktop/images/29092025/12/53/image_29092025_12_54_05_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/12/53/image_29092025_12_53_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0083cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0083cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0083cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:56:32.036387
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 12:58:02.785859
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/12/57/image_29092025_12_57_45_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/12/57/image_29092025_12_57_34_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/12/57/image_29092025_12_57_25_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/12/57/image_29092025_12_57_14_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/12/56/image_29092025_12_57_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/12/56/image_29092025_12_56_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95c35c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95c35c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95c35c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:00:17.582685
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/00/image_29092025_13_00_44_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/13/00/image_29092025_13_00_35_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/13/00/image_29092025_13_00_24_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/13/00/image_29092025_13_00_15_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/12/59/image_29092025_13_00_05_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/12/59/image_29092025_12_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9b836cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b836cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b836cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:02:32.712757
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/02/image_29092025_13_02_44_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/13/02/image_29092025_13_02_35_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/13/02/image_29092025_13_02_25_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/13/02/image_29092025_13_02_14_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/13/01/image_29092025_13_02_05_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/13/01/image_29092025_13_01_55_10631.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f84684cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84684cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84684cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:04:46.964133
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/04/image_29092025_13_04_44_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/13/04/image_29092025_13_04_34_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/13/04/image_29092025_13_04_25_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/13/04/image_29092025_13_04_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/13/03/image_29092025_13_04_04_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/13/03/image_29092025_13_03_55_10641.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f97bb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97bb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f97bb1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:07:02.946378
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/06/image_29092025_13_06_45_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/13/06/image_29092025_13_06_34_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/13/06/image_29092025_13_06_24_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/13/06/image_29092025_13_06_15_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/13/05/image_29092025_13_06_04_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/13/05/image_29092025_13_05_54_9631.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa0d0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa0d0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa0d0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:09:17.507089
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/09/image_29092025_13_09_44_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/13/09/image_29092025_13_09_35_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/13/09/image_29092025_13_09_24_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/13/09/image_29092025_13_09_14_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/13/08/image_29092025_13_09_05_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/13/08/image_29092025_13_08_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9b386cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b386cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b386cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:11:32.700145
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/11/image_29092025_13_11_44_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/13/11/image_29092025_13_11_34_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/13/11/image_29092025_13_11_25_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/13/11/image_29092025_13_11_14_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/13/10/image_29092025_13_11_04_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/13/10/image_29092025_13_10_55_10637.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb63e3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb63e3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb63e3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:13:46.960370
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/13/image_29092025_13_13_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/13/13/image_29092025_13_13_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/13/13/image_29092025_13_13_25_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/13/13/image_29092025_13_13_14_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/13/12/image_29092025_13_13_04_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/13/12/image_29092025_13_12_55_10660.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f5c7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f5c7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f5c7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:16:02.970496
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/15/image_29092025_13_15_45_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/13/15/image_29092025_13_15_34_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/13/15/image_29092025_13_15_25_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/13/15/image_29092025_13_15_15_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/13/14/image_29092025_13_15_04_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/13/14/image_29092025_13_14_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f87d41cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87d41cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f87d41cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:18:17.485877
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/18/image_29092025_13_18_44_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/13/18/image_29092025_13_18_35_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/13/18/image_29092025_13_18_24_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/13/18/image_29092025_13_18_14_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/13/17/image_29092025_13_18_05_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/13/17/image_29092025_13_17_54_9632.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f78869cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78869cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f78869cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:20:32.663980
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/20/image_29092025_13_20_44_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/13/20/image_29092025_13_20_35_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/13/20/image_29092025_13_20_25_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/13/20/image_29092025_13_20_14_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/13/19/image_29092025_13_20_05_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/13/19/image_29092025_13_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d96ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d96ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d96ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:22:46.883267
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/22/image_29092025_13_22_44_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/13/22/image_29092025_13_22_34_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/13/22/image_29092025_13_22_25_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/13/22/image_29092025_13_22_14_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/13/21/image_29092025_13_22_04_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/13/21/image_29092025_13_21_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa16b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa16b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa16b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:25:02.835005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/24/image_29092025_13_24_44_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/13/24/image_29092025_13_24_34_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/13/24/image_29092025_13_24_25_9693.jpg', 2), ('/home/nano/Desktop/images/29092025/13/24/image_29092025_13_24_15_10733.jpg', 2), ('/home/nano/Desktop/images/29092025/13/23/image_29092025_13_24_04_9717.jpg', 2), ('/home/nano/Desktop/images/29092025/13/23/image_29092025_13_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9efd5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9efd5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9efd5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:27:17.431865
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/27/image_29092025_13_27_45_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/13/27/image_29092025_13_27_24_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/13/27/image_29092025_13_27_15_9726.jpg', 2), ('/home/nano/Desktop/images/29092025/13/26/image_29092025_13_27_05_10728.jpg', 2), ('/home/nano/Desktop/images/29092025/13/26/image_29092025_13_26_54_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/13/26/image_29092025_13_26_44_9688.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7dab4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7dab4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7dab4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:29:32.691081
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/29/image_29092025_13_29_44_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/13/29/image_29092025_13_29_34_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/13/29/image_29092025_13_29_25_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/13/28/image_29092025_13_29_04_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/13/28/image_29092025_13_28_45_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/13/28/image_29092025_13_28_34_9693.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7e3e4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e3e4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e3e4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:31:46.931283
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/31/image_29092025_13_31_44_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/13/31/image_29092025_13_31_35_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/13/30/image_29092025_13_31_05_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/13/30/image_29092025_13_30_55_10701.jpg', 2), ('/home/nano/Desktop/images/29092025/13/30/image_29092025_13_30_34_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/13/30/image_29092025_13_30_25_10698.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb30e9c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb30e9c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb30e9c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:34:03.160641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/33/image_29092025_13_33_44_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/13/33/image_29092025_13_33_35_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/13/33/image_29092025_13_33_24_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/13/33/image_29092025_13_33_14_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/13/32/image_29092025_13_33_05_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/13/32/image_29092025_13_32_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f366cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f366cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f366cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:36:17.510736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/36/image_29092025_13_36_45_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/13/36/image_29092025_13_36_35_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/13/36/image_29092025_13_36_24_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/13/36/image_29092025_13_36_14_9743.jpg', 2), ('/home/nano/Desktop/images/29092025/13/35/image_29092025_13_36_05_10701.jpg', 2), ('/home/nano/Desktop/images/29092025/13/35/image_29092025_13_35_54_9740.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95933cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95933cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95933cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:38:32.760158
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/38/image_29092025_13_38_44_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/13/38/image_29092025_13_38_35_10695.jpg', 2), ('/home/nano/Desktop/images/29092025/13/38/image_29092025_13_38_24_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/13/38/image_29092025_13_38_14_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/13/37/image_29092025_13_38_05_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/13/37/image_29092025_13_37_54_9621.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8fd64cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8fd64cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8fd64cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:40:46.965342
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/40/image_29092025_13_40_44_9737.jpg', 2), ('/home/nano/Desktop/images/29092025/13/40/image_29092025_13_40_35_10773.jpg', 2), ('/home/nano/Desktop/images/29092025/13/40/image_29092025_13_40_24_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/13/40/image_29092025_13_40_14_9727.jpg', 2), ('/home/nano/Desktop/images/29092025/13/39/image_29092025_13_40_05_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/13/39/image_29092025_13_39_55_10597.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f899dbc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f899dbc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f899dbc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:43:03.054098
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/43/image_29092025_13_43_14_9801.jpg', 2), ('/home/nano/Desktop/images/29092025/13/42/image_29092025_13_42_44_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/13/42/image_29092025_13_42_34_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/13/42/image_29092025_13_42_25_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/13/42/image_29092025_13_42_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/13/41/image_29092025_13_42_04_9663.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9d7abcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d7abcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9d7abcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:45:17.487084
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/45/image_29092025_13_45_44_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/13/45/image_29092025_13_45_34_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/13/45/image_29092025_13_45_25_10625.jpg', 2), ('/home/nano/Desktop/images/29092025/13/45/image_29092025_13_45_14_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/13/44/image_29092025_13_45_04_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/13/44/image_29092025_13_44_55_10638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7de96cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7de96cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7de96cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:47:32.696245
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/47/image_29092025_13_47_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/13/47/image_29092025_13_47_34_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/13/47/image_29092025_13_47_25_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/13/46/image_29092025_13_47_04_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/13/46/image_29092025_13_46_55_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/13/45/image_29092025_13_46_04_9668.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7aca8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7aca8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7aca8cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:49:46.875925
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/49/image_29092025_13_49_25_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/13/49/image_29092025_13_49_15_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/13/48/image_29092025_13_49_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/13/48/image_29092025_13_48_34_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/13/48/image_29092025_13_48_25_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/13/47/image_29092025_13_47_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa7c52cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7c52cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7c52cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:52:02.655536
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/51/image_29092025_13_51_35_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/13/50/image_29092025_13_50_45_10623.jpg', 2), ('/home/nano/Desktop/images/29092025/13/50/image_29092025_13_50_15_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/13/49/image_29092025_13_50_04_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/13/49/image_29092025_13_49_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/13/49/image_29092025_13_49_25_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faaa3ac50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faaa3ac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faaa3ac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:54:17.475388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/52/image_29092025_13_52_35_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/13/52/image_29092025_13_52_24_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/13/51/image_29092025_13_51_45_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/13/51/image_29092025_13_51_35_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/13/50/image_29092025_13_50_45_10623.jpg', 2), ('/home/nano/Desktop/images/29092025/13/50/image_29092025_13_50_15_10673.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80ab1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80ab1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80ab1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:56:32.645264
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 13:58:02.386534
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/13/56/image_29092025_13_56_44_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/13/56/image_29092025_13_56_15_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/13/55/image_29092025_13_56_05_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/13/52/image_29092025_13_52_44_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/13/52/image_29092025_13_52_35_10631.jpg', 2), ('/home/nano/Desktop/images/29092025/13/52/image_29092025_13_52_24_9620.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f904e2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f904e2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f904e2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:00:17.354637
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/00/image_29092025_14_00_45_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/00/image_29092025_14_00_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/14/00/image_29092025_14_00_15_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/13/59/image_29092025_13_59_54_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/13/59/image_29092025_13_59_45_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/13/59/image_29092025_13_59_25_10633.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f878b9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f878b9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f878b9cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:02:32.570328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/02/image_29092025_14_02_44_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/02/image_29092025_14_02_35_10626.jpg', 2), ('/home/nano/Desktop/images/29092025/14/02/image_29092025_14_02_24_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/02/image_29092025_14_02_14_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/14/01/image_29092025_14_02_05_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/14/01/image_29092025_14_01_44_9623.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c9d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c9d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c9d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:04:46.771747
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/04/image_29092025_14_04_45_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/04/image_29092025_14_04_14_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/14/03/image_29092025_14_04_04_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/14/03/image_29092025_14_03_34_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/14/03/image_29092025_14_03_25_10628.jpg', 2), ('/home/nano/Desktop/images/29092025/14/03/image_29092025_14_03_14_9650.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c886cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c886cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c886cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:07:02.863916
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/05/image_29092025_14_05_54_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/05/image_29092025_14_05_45_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/05/image_29092025_14_05_24_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/05/image_29092025_14_05_15_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/14/04/image_29092025_14_04_55_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/04/image_29092025_14_04_45_10633.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f84309cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84309cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f84309cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:09:17.320726
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/09/image_29092025_14_09_34_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/14/09/image_29092025_14_09_25_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/09/image_29092025_14_09_14_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/14/08/image_29092025_14_09_04_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/14/08/image_29092025_14_08_55_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/08/image_29092025_14_08_35_9626.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9bbd6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9bbd6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9bbd6cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:11:32.543769
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/11/image_29092025_14_11_15_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/14/10/image_29092025_14_11_04_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/14/10/image_29092025_14_10_45_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/14/10/image_29092025_14_10_25_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/09/image_29092025_14_10_04_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/14/09/image_29092025_14_09_55_10632.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb35e2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb35e2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb35e2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:13:47.741070
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/13/image_29092025_14_13_44_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/13/image_29092025_14_13_24_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/14/12/image_29092025_14_13_05_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/14/12/image_29092025_14_12_54_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/14/12/image_29092025_14_12_44_9618.jpg', 2), ('/home/nano/Desktop/images/29092025/14/12/image_29092025_14_12_35_10635.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa5a72cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5a72cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5a72cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:16:02.548786
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/15/image_29092025_14_15_34_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/14/15/image_29092025_14_15_25_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/15/image_29092025_14_15_14_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/14/14/image_29092025_14_15_04_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/14/14/image_29092025_14_14_55_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/14/14/image_29092025_14_14_44_9619.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9f1cac50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f1cac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9f1cac50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:18:17.257123
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/18/image_29092025_14_18_24_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/14/18/image_29092025_14_18_14_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/14/17/image_29092025_14_18_05_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/17/image_29092025_14_17_54_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/14/17/image_29092025_14_17_45_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/14/17/image_29092025_14_17_35_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9cf0dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cf0dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9cf0dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:20:32.451594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/20/image_29092025_14_20_44_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/14/20/image_29092025_14_20_34_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/14/20/image_29092025_14_20_25_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/20/image_29092025_14_20_14_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/14/19/image_29092025_14_19_55_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/19/image_29092025_14_19_44_9625.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0961cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0961cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0961cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:22:47.697059
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/22/image_29092025_14_22_34_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/22/image_29092025_14_22_15_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/14/21/image_29092025_14_21_54_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/14/21/image_29092025_14_21_34_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/14/21/image_29092025_14_21_25_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/14/20/image_29092025_14_21_04_9634.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa8af4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8af4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8af4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:25:02.792881
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/24/image_29092025_14_24_44_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/14/24/image_29092025_14_24_35_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/14/24/image_29092025_14_24_14_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/14/23/image_29092025_14_24_05_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/14/23/image_29092025_14_23_54_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/14/23/image_29092025_14_23_44_9627.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9deb5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9deb5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9deb5cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:27:17.301844
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/27/image_29092025_14_27_45_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/27/image_29092025_14_27_34_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/14/27/image_29092025_14_27_15_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/14/26/image_29092025_14_26_55_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/14/26/image_29092025_14_26_45_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/26/image_29092025_14_26_14_9650.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f881afcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f881afcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f881afcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:29:32.443679
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/29/image_29092025_14_29_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/14/29/image_29092025_14_29_14_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/14/28/image_29092025_14_28_54_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/14/28/image_29092025_14_28_45_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/14/28/image_29092025_14_28_35_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/28/image_29092025_14_28_24_9623.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82957cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82957cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82957cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:31:47.665425
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/31/image_29092025_14_31_44_9618.jpg', 2), ('/home/nano/Desktop/images/29092025/14/31/image_29092025_14_31_34_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/14/31/image_29092025_14_31_14_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/14/30/image_29092025_14_30_44_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/14/30/image_29092025_14_30_35_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/14/30/image_29092025_14_30_25_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9eca9c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9eca9c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9eca9c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:34:02.835034
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/33/image_29092025_14_33_45_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/33/image_29092025_14_33_15_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/14/32/image_29092025_14_32_54_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/14/32/image_29092025_14_32_45_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/14/32/image_29092025_14_32_34_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/14/32/image_29092025_14_32_25_9619.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e989cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e989cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e989cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:36:17.189843
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/36/image_29092025_14_36_25_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/14/36/image_29092025_14_36_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/14/35/image_29092025_14_36_05_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/14/35/image_29092025_14_35_35_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/35/image_29092025_14_35_24_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/14/34/image_29092025_14_34_44_9625.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8abcecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8abcecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8abcecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:38:32.407316
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/38/image_29092025_14_38_45_10632.jpg', 2), ('/home/nano/Desktop/images/29092025/14/38/image_29092025_14_38_34_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/38/image_29092025_14_38_24_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/14/38/image_29092025_14_38_15_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/14/37/image_29092025_14_37_55_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/37/image_29092025_14_37_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d0ebcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d0ebcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d0ebcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:40:47.646087
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/40/image_29092025_14_40_35_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/40/image_29092025_14_40_24_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/40/image_29092025_14_40_14_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/14/39/image_29092025_14_39_54_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/14/39/image_29092025_14_39_45_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/14/39/image_29092025_14_39_35_10633.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7a99cc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a99cc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a99cc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:43:02.281403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/42/image_29092025_14_42_34_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/14/42/image_29092025_14_42_25_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/14/42/image_29092025_14_42_14_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/14/41/image_29092025_14_42_04_9632.jpg', 2), ('/home/nano/Desktop/images/29092025/14/40/image_29092025_14_41_05_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/14/40/image_29092025_14_40_54_9623.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f932f1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f932f1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f932f1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:45:17.226912
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/45/image_29092025_14_45_15_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/14/44/image_29092025_14_44_45_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/44/image_29092025_14_44_34_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/14/44/image_29092025_14_44_24_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/14/44/image_29092025_14_44_15_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/14/43/image_29092025_14_44_04_9624.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb00eccf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb00eccf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb00eccf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:47:32.404368
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/47/image_29092025_14_47_34_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/14/47/image_29092025_14_47_25_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/47/image_29092025_14_47_14_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/14/46/image_29092025_14_47_04_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/14/46/image_29092025_14_46_55_10632.jpg', 2), ('/home/nano/Desktop/images/29092025/14/46/image_29092025_14_46_35_10631.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb2c1dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2c1dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb2c1dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:49:47.625887
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/49/image_29092025_14_49_15_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/14/48/image_29092025_14_49_04_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/14/48/image_29092025_14_48_45_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/14/48/image_29092025_14_48_34_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/14/48/image_29092025_14_48_25_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/14/47/image_29092025_14_48_04_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa25afcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa25afcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa25afcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:52:02.212526
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/51/image_29092025_14_51_44_9606.jpg', 2), ('/home/nano/Desktop/images/29092025/14/51/image_29092025_14_51_35_10616.jpg', 2), ('/home/nano/Desktop/images/29092025/14/51/image_29092025_14_51_24_9607.jpg', 2), ('/home/nano/Desktop/images/29092025/14/51/image_29092025_14_51_14_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/14/50/image_29092025_14_51_05_10630.jpg', 2), ('/home/nano/Desktop/images/29092025/14/50/image_29092025_14_50_54_9612.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f262cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f262cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f262cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:54:17.176799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/54/image_29092025_14_54_45_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/14/54/image_29092025_14_54_34_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/14/54/image_29092025_14_54_25_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/14/54/image_29092025_14_54_15_10695.jpg', 2), ('/home/nano/Desktop/images/29092025/14/53/image_29092025_14_54_04_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/14/53/image_29092025_14_53_54_9672.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7aceacc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7aceacc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7aceacc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:56:32.389205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 14:59:03.689827
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/14/58/image_29092025_14_58_44_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/14/58/image_29092025_14_58_34_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/14/58/image_29092025_14_58_25_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/14/58/image_29092025_14_58_14_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/14/57/image_29092025_14_58_04_9800.jpg', 2), ('/home/nano/Desktop/images/29092025/14/57/image_29092025_14_57_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa65f7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa65f7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa65f7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:01:16.875354
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/01/image_29092025_15_01_44_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/15/01/image_29092025_15_01_35_10625.jpg', 2), ('/home/nano/Desktop/images/29092025/15/01/image_29092025_15_01_24_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/15/01/image_29092025_15_01_15_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/15/00/image_29092025_15_01_05_10680.jpg', 2), ('/home/nano/Desktop/images/29092025/15/00/image_29092025_15_00_54_9663.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f83591c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83591c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f83591c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:03:32.165693
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/03/image_29092025_15_03_44_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/15/03/image_29092025_15_03_34_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/15/03/image_29092025_15_03_25_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/15/03/image_29092025_15_03_14_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/15/02/image_29092025_15_03_05_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/15/02/image_29092025_15_02_55_10660.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7debdc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7debdc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7debdc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:05:47.331280
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/05/image_29092025_15_05_45_9717.jpg', 2), ('/home/nano/Desktop/images/29092025/15/05/image_29092025_15_05_35_10709.jpg', 2), ('/home/nano/Desktop/images/29092025/15/05/image_29092025_15_05_24_9724.jpg', 2), ('/home/nano/Desktop/images/29092025/15/05/image_29092025_15_05_14_9764.jpg', 2), ('/home/nano/Desktop/images/29092025/15/04/image_29092025_15_05_05_9713.jpg', 2), ('/home/nano/Desktop/images/29092025/15/04/image_29092025_15_04_55_10709.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8e635cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e635cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8e635cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:08:03.066804
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/07/image_29092025_15_07_44_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/15/07/image_29092025_15_07_24_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/15/07/image_29092025_15_07_14_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/15/06/image_29092025_15_06_54_9613.jpg', 2), ('/home/nano/Desktop/images/29092025/15/06/image_29092025_15_06_44_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/15/06/image_29092025_15_06_35_10638.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb38bec50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb38bec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb38bec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:10:16.904654
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/10/image_29092025_15_10_45_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/15/10/image_29092025_15_10_34_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/15/10/image_29092025_15_10_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/15/10/image_29092025_15_10_15_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/15/09/image_29092025_15_10_04_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/15/09/image_29092025_15_09_55_9625.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9b292c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b292c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9b292c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:12:32.061261
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/12/image_29092025_15_12_44_9796.jpg', 2), ('/home/nano/Desktop/images/29092025/15/12/image_29092025_15_12_34_9778.jpg', 2), ('/home/nano/Desktop/images/29092025/15/12/image_29092025_15_12_25_9813.jpg', 2), ('/home/nano/Desktop/images/29092025/15/12/image_29092025_15_12_15_10843.jpg', 2), ('/home/nano/Desktop/images/29092025/15/11/image_29092025_15_12_04_9752.jpg', 2), ('/home/nano/Desktop/images/29092025/15/11/image_29092025_15_11_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f88580cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88580cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f88580cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:14:47.279911
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/14/image_29092025_15_14_44_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/15/14/image_29092025_15_14_34_9771.jpg', 2), ('/home/nano/Desktop/images/29092025/15/14/image_29092025_15_14_25_9765.jpg', 2), ('/home/nano/Desktop/images/29092025/15/14/image_29092025_15_14_15_10803.jpg', 2), ('/home/nano/Desktop/images/29092025/15/13/image_29092025_15_14_04_9734.jpg', 2), ('/home/nano/Desktop/images/29092025/15/13/image_29092025_15_13_54_9722.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8f6b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f6b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f6b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:17:03.330855
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/16/image_29092025_15_16_44_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/15/16/image_29092025_15_16_34_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/15/16/image_29092025_15_16_25_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/15/16/image_29092025_15_16_14_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/15/15/image_29092025_15_16_05_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/15/15/image_29092025_15_15_55_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e916cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e916cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e916cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:19:16.915952
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/19/image_29092025_15_19_45_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/15/19/image_29092025_15_19_34_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/15/19/image_29092025_15_19_24_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/15/19/image_29092025_15_19_15_10706.jpg', 2), ('/home/nano/Desktop/images/29092025/15/18/image_29092025_15_19_04_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/15/18/image_29092025_15_18_54_9630.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f82ddecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82ddecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f82ddecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:21:32.131497
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/21/image_29092025_15_21_44_9610.jpg', 2), ('/home/nano/Desktop/images/29092025/15/21/image_29092025_15_21_35_10640.jpg', 2), ('/home/nano/Desktop/images/29092025/15/21/image_29092025_15_21_24_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/15/21/image_29092025_15_21_14_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/15/20/image_29092025_15_21_05_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/15/20/image_29092025_15_20_54_9621.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4a06cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4a06cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4a06cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:23:47.348349
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/23/image_29092025_15_23_44_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/15/23/image_29092025_15_23_34_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/15/23/image_29092025_15_23_25_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/15/23/image_29092025_15_23_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/15/22/image_29092025_15_23_04_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/15/22/image_29092025_15_22_55_10629.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9aecdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9aecdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9aecdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:26:03.039440
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/25/image_29092025_15_25_45_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/15/25/image_29092025_15_25_34_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/15/25/image_29092025_15_25_24_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/15/25/image_29092025_15_25_15_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/15/24/image_29092025_15_25_04_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/15/24/image_29092025_15_24_54_9627.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7c4adc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c4adc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7c4adc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:28:16.914238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/28/image_29092025_15_28_44_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/15/28/image_29092025_15_28_34_9632.jpg', 2), ('/home/nano/Desktop/images/29092025/15/28/image_29092025_15_28_25_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/15/28/image_29092025_15_28_14_9632.jpg', 2), ('/home/nano/Desktop/images/29092025/15/27/image_29092025_15_28_05_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/15/27/image_29092025_15_27_55_10628.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8a0f1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a0f1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8a0f1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:30:32.077532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/30/image_29092025_15_30_44_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/15/30/image_29092025_15_30_34_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/15/30/image_29092025_15_30_25_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/15/30/image_29092025_15_30_14_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/15/29/image_29092025_15_30_04_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/15/29/image_29092025_15_29_55_10705.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9a03acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a03acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9a03acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:32:47.250335
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/32/image_29092025_15_32_44_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/15/32/image_29092025_15_32_34_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/15/32/image_29092025_15_32_25_10689.jpg', 2), ('/home/nano/Desktop/images/29092025/15/32/image_29092025_15_32_14_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/15/31/image_29092025_15_32_04_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/15/31/image_29092025_15_31_55_10674.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae8fecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae8fecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fae8fecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:35:03.280878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/34/image_29092025_15_34_44_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/15/34/image_29092025_15_34_35_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/15/34/image_29092025_15_34_25_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/15/34/image_29092025_15_34_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/15/33/image_29092025_15_34_04_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/15/33/image_29092025_15_33_55_10706.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa0cf7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0cf7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa0cf7cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:37:16.810142
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/37/image_29092025_15_37_44_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/15/37/image_29092025_15_37_35_9705.jpg', 2), ('/home/nano/Desktop/images/29092025/15/37/image_29092025_15_37_25_10705.jpg', 2), ('/home/nano/Desktop/images/29092025/15/37/image_29092025_15_37_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/15/36/image_29092025_15_37_05_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/15/36/image_29092025_15_36_55_10643.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4596cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4596cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4596cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:39:32.102573
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/39/image_29092025_15_39_45_10700.jpg', 2), ('/home/nano/Desktop/images/29092025/15/39/image_29092025_15_39_34_9713.jpg', 2), ('/home/nano/Desktop/images/29092025/15/39/image_29092025_15_39_24_9707.jpg', 2), ('/home/nano/Desktop/images/29092025/15/39/image_29092025_15_39_15_10732.jpg', 2), ('/home/nano/Desktop/images/29092025/15/38/image_29092025_15_39_04_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/15/38/image_29092025_15_38_54_9696.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fadec2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadec2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fadec2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:41:47.370770
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/41/image_29092025_15_41_44_9708.jpg', 2), ('/home/nano/Desktop/images/29092025/15/41/image_29092025_15_41_35_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/15/41/image_29092025_15_41_25_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/15/41/image_29092025_15_41_14_9726.jpg', 2), ('/home/nano/Desktop/images/29092025/15/40/image_29092025_15_41_04_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/15/40/image_29092025_15_40_55_10702.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8dd37cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8dd37cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8dd37cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:44:03.492024
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/43/image_29092025_15_43_45_10721.jpg', 2), ('/home/nano/Desktop/images/29092025/15/43/image_29092025_15_43_34_9697.jpg', 2), ('/home/nano/Desktop/images/29092025/15/43/image_29092025_15_43_24_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/15/43/image_29092025_15_43_15_10750.jpg', 2), ('/home/nano/Desktop/images/29092025/15/42/image_29092025_15_43_04_9697.jpg', 2), ('/home/nano/Desktop/images/29092025/15/42/image_29092025_15_42_54_9692.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7b4c2c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b4c2c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7b4c2c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:46:16.882692
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/46/image_29092025_15_46_35_10731.jpg', 2), ('/home/nano/Desktop/images/29092025/15/46/image_29092025_15_46_14_9706.jpg', 2), ('/home/nano/Desktop/images/29092025/15/45/image_29092025_15_46_05_10728.jpg', 2), ('/home/nano/Desktop/images/29092025/15/45/image_29092025_15_45_54_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/15/45/image_29092025_15_45_44_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/15/45/image_29092025_15_45_35_9698.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f80f2acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80f2acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80f2acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:48:32.137390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/48/image_29092025_15_48_44_9718.jpg', 2), ('/home/nano/Desktop/images/29092025/15/48/image_29092025_15_48_34_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/15/48/image_29092025_15_48_25_10713.jpg', 2), ('/home/nano/Desktop/images/29092025/15/48/image_29092025_15_48_14_9745.jpg', 2), ('/home/nano/Desktop/images/29092025/15/47/image_29092025_15_48_04_9726.jpg', 2), ('/home/nano/Desktop/images/29092025/15/47/image_29092025_15_47_55_9699.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8aefbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8aefbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8aefbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:50:47.301220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/50/image_29092025_15_50_45_10710.jpg', 2), ('/home/nano/Desktop/images/29092025/15/50/image_29092025_15_50_34_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/15/50/image_29092025_15_50_24_9703.jpg', 2), ('/home/nano/Desktop/images/29092025/15/50/image_29092025_15_50_15_9723.jpg', 2), ('/home/nano/Desktop/images/29092025/15/49/image_29092025_15_50_05_10714.jpg', 2), ('/home/nano/Desktop/images/29092025/15/49/image_29092025_15_49_54_9696.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa7138cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7138cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa7138cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:53:03.230109
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/52/image_29092025_15_52_44_9697.jpg', 2), ('/home/nano/Desktop/images/29092025/15/52/image_29092025_15_52_35_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/15/52/image_29092025_15_52_25_10710.jpg', 2), ('/home/nano/Desktop/images/29092025/15/52/image_29092025_15_52_14_9730.jpg', 2), ('/home/nano/Desktop/images/29092025/15/51/image_29092025_15_52_04_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/15/51/image_29092025_15_51_55_10715.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7f4f1c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f4f1c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f4f1c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:55:16.845173
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/55/image_29092025_15_55_44_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/15/55/image_29092025_15_55_34_9703.jpg', 2), ('/home/nano/Desktop/images/29092025/15/55/image_29092025_15_55_25_9705.jpg', 2), ('/home/nano/Desktop/images/29092025/15/55/image_29092025_15_55_15_10730.jpg', 2), ('/home/nano/Desktop/images/29092025/15/54/image_29092025_15_55_04_9717.jpg', 2), ('/home/nano/Desktop/images/29092025/15/54/image_29092025_15_54_54_9701.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa16bfcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa16bfcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa16bfcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:57:32.168364
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 15:59:03.208568
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/15/59/image_29092025_15_59_54_9728.jpg', 2), ('/home/nano/Desktop/images/29092025/15/58/image_29092025_15_58_44_9726.jpg', 2), ('/home/nano/Desktop/images/29092025/15/58/image_29092025_15_58_34_9711.jpg', 2), ('/home/nano/Desktop/images/29092025/15/58/image_29092025_15_58_25_9712.jpg', 2), ('/home/nano/Desktop/images/29092025/15/58/image_29092025_15_58_15_10761.jpg', 2), ('/home/nano/Desktop/images/29092025/15/57/image_29092025_15_58_04_9722.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f92761cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92761cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92761cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:01:17.235517
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/01/image_29092025_16_01_44_9711.jpg', 2), ('/home/nano/Desktop/images/29092025/16/01/image_29092025_16_01_34_9709.jpg', 2), ('/home/nano/Desktop/images/29092025/16/01/image_29092025_16_01_25_9735.jpg', 2), ('/home/nano/Desktop/images/29092025/16/01/image_29092025_16_01_15_10773.jpg', 2), ('/home/nano/Desktop/images/29092025/16/00/image_29092025_16_01_04_9731.jpg', 2), ('/home/nano/Desktop/images/29092025/16/00/image_29092025_16_00_54_9709.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8bb72cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8bb72cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8bb72cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:03:32.399010
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/03/image_29092025_16_03_34_9712.jpg', 2), ('/home/nano/Desktop/images/29092025/16/03/image_29092025_16_03_24_9714.jpg', 2), ('/home/nano/Desktop/images/29092025/16/03/image_29092025_16_03_15_9733.jpg', 2), ('/home/nano/Desktop/images/29092025/16/02/image_29092025_16_03_05_10731.jpg', 2), ('/home/nano/Desktop/images/29092025/16/02/image_29092025_16_02_54_9713.jpg', 2), ('/home/nano/Desktop/images/29092025/16/02/image_29092025_16_02_44_9712.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb4113c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4113c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb4113c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:05:47.644129
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/05/image_29092025_16_05_44_9714.jpg', 2), ('/home/nano/Desktop/images/29092025/16/05/image_29092025_16_05_35_10718.jpg', 2), ('/home/nano/Desktop/images/29092025/16/05/image_29092025_16_05_24_9711.jpg', 2), ('/home/nano/Desktop/images/29092025/16/05/image_29092025_16_05_14_9733.jpg', 2), ('/home/nano/Desktop/images/29092025/16/04/image_29092025_16_05_04_9714.jpg', 2), ('/home/nano/Desktop/images/29092025/16/04/image_29092025_16_04_55_10720.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f85b0ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85b0ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f85b0ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:08:02.590717
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/07/image_29092025_16_07_45_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/16/07/image_29092025_16_07_24_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/16/07/image_29092025_16_07_15_10695.jpg', 2), ('/home/nano/Desktop/images/29092025/16/06/image_29092025_16_07_04_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/16/06/image_29092025_16_06_54_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/16/06/image_29092025_16_06_45_10680.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95feecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95feecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95feecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:10:17.329313
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/10/image_29092025_16_10_34_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/16/10/image_29092025_16_10_25_10679.jpg', 2), ('/home/nano/Desktop/images/29092025/16/10/image_29092025_16_10_14_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/16/09/image_29092025_16_10_04_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/16/09/image_29092025_16_09_55_10694.jpg', 2), ('/home/nano/Desktop/images/29092025/16/09/image_29092025_16_09_25_10681.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faa806c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa806c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faa806c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:12:32.523921
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/12/image_29092025_16_12_44_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/16/12/image_29092025_16_12_35_10679.jpg', 2), ('/home/nano/Desktop/images/29092025/16/12/image_29092025_16_12_24_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/16/12/image_29092025_16_12_14_9693.jpg', 2), ('/home/nano/Desktop/images/29092025/16/11/image_29092025_16_12_05_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/16/11/image_29092025_16_11_35_9673.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0672cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0672cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0672cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:14:46.832576
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/14/image_29092025_16_14_44_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/16/14/image_29092025_16_14_35_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/16/14/image_29092025_16_14_24_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/16/14/image_29092025_16_14_14_9721.jpg', 2), ('/home/nano/Desktop/images/29092025/16/13/image_29092025_16_14_05_10685.jpg', 2), ('/home/nano/Desktop/images/29092025/16/13/image_29092025_16_13_54_9663.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7facc01cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7facc01cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7facc01cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:17:02.753820
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/16/image_29092025_16_16_34_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/16/16/image_29092025_16_16_24_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/16/16/image_29092025_16_16_15_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/16/15/image_29092025_16_16_05_10701.jpg', 2), ('/home/nano/Desktop/images/29092025/16/15/image_29092025_16_15_54_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/16/15/image_29092025_16_15_45_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f834a2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f834a2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f834a2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:19:17.410435
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/19/image_29092025_16_19_44_9700.jpg', 2), ('/home/nano/Desktop/images/29092025/16/19/image_29092025_16_19_34_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/16/19/image_29092025_16_19_25_10712.jpg', 2), ('/home/nano/Desktop/images/29092025/16/19/image_29092025_16_19_14_9739.jpg', 2), ('/home/nano/Desktop/images/29092025/16/18/image_29092025_16_19_04_9724.jpg', 2), ('/home/nano/Desktop/images/29092025/16/18/image_29092025_16_18_45_10711.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f92fdec50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92fdec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92fdec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:21:32.604705
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/21/image_29092025_16_21_45_10712.jpg', 2), ('/home/nano/Desktop/images/29092025/16/21/image_29092025_16_21_34_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/16/21/image_29092025_16_21_24_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/16/21/image_29092025_16_21_15_9730.jpg', 2), ('/home/nano/Desktop/images/29092025/16/20/image_29092025_16_21_05_10713.jpg', 2), ('/home/nano/Desktop/images/29092025/16/20/image_29092025_16_20_54_9702.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f98b9fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98b9fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f98b9fcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:23:46.807430
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/23/image_29092025_16_23_44_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/16/23/image_29092025_16_23_34_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/16/23/image_29092025_16_23_25_10710.jpg', 2), ('/home/nano/Desktop/images/29092025/16/23/image_29092025_16_23_14_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/16/22/image_29092025_16_23_04_9708.jpg', 2), ('/home/nano/Desktop/images/29092025/16/22/image_29092025_16_22_55_9704.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb0fd2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0fd2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0fd2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:26:02.763805
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/25/image_29092025_16_25_44_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/16/25/image_29092025_16_25_35_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/16/25/image_29092025_16_25_24_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/16/25/image_29092025_16_25_14_9697.jpg', 2), ('/home/nano/Desktop/images/29092025/16/24/image_29092025_16_25_05_10689.jpg', 2), ('/home/nano/Desktop/images/29092025/16/24/image_29092025_16_24_54_9674.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7ad18cf8>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ad18cf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ad18cf8>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:28:17.330345
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/28/image_29092025_16_28_45_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/16/28/image_29092025_16_28_34_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/16/28/image_29092025_16_28_24_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/16/28/image_29092025_16_28_15_10700.jpg', 2), ('/home/nano/Desktop/images/29092025/16/27/image_29092025_16_28_04_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/16/27/image_29092025_16_27_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f874abc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f874abc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f874abc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:30:32.552976
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/30/image_29092025_16_30_44_9632.jpg', 2), ('/home/nano/Desktop/images/29092025/16/30/image_29092025_16_30_35_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/16/30/image_29092025_16_30_24_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/16/30/image_29092025_16_30_15_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/16/29/image_29092025_16_30_05_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/16/29/image_29092025_16_29_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7e4b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e4b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e4b1cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:32:46.806594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/32/image_29092025_16_32_44_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/16/32/image_29092025_16_32_35_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/16/32/image_29092025_16_32_24_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/16/32/image_29092025_16_32_14_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/16/31/image_29092025_16_32_05_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/16/31/image_29092025_16_31_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7face83cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7face83cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7face83cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:35:02.805912
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/34/image_29092025_16_34_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/16/34/image_29092025_16_34_35_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/16/34/image_29092025_16_34_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/16/34/image_29092025_16_34_14_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/16/33/image_29092025_16_34_05_10693.jpg', 2), ('/home/nano/Desktop/images/29092025/16/33/image_29092025_16_33_54_9678.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9c877cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c877cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9c877cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:37:17.378385
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/37/image_29092025_16_37_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/16/37/image_29092025_16_37_35_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/16/37/image_29092025_16_37_25_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/16/37/image_29092025_16_37_14_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/16/36/image_29092025_16_37_05_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/16/36/image_29092025_16_36_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8ef50cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ef50cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8ef50cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:39:32.560859
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/39/image_29092025_16_39_45_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/16/39/image_29092025_16_39_34_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/16/39/image_29092025_16_39_25_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/16/39/image_29092025_16_39_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/16/38/image_29092025_16_39_04_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/16/38/image_29092025_16_38_55_10629.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8051acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8051acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8051acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:41:46.848313
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/41/image_29092025_16_41_45_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/16/41/image_29092025_16_41_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/16/41/image_29092025_16_41_24_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/16/41/image_29092025_16_41_15_10691.jpg', 2), ('/home/nano/Desktop/images/29092025/16/40/image_29092025_16_41_04_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/16/40/image_29092025_16_40_54_9634.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa65bdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa65bdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa65bdcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:44:03.118015
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/43/image_29092025_16_43_45_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/16/43/image_29092025_16_43_35_10640.jpg', 2), ('/home/nano/Desktop/images/29092025/16/43/image_29092025_16_43_24_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/16/43/image_29092025_16_43_15_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/16/42/image_29092025_16_43_04_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/16/42/image_29092025_16_42_54_9632.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9e1f3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e1f3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9e1f3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:46:17.489710
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/46/image_29092025_16_46_44_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/16/46/image_29092025_16_46_35_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/16/46/image_29092025_16_46_25_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/16/46/image_29092025_16_46_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/16/45/image_29092025_16_46_05_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/16/45/image_29092025_16_45_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9672dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9672dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9672dcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:48:31.759937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/48/image_29092025_16_48_45_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/16/48/image_29092025_16_48_34_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/16/48/image_29092025_16_48_25_10630.jpg', 2), ('/home/nano/Desktop/images/29092025/16/48/image_29092025_16_48_14_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/16/47/image_29092025_16_48_04_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/16/47/image_29092025_16_47_55_10640.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9eef0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9eef0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9eef0cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:50:47.038007
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/50/image_29092025_16_50_44_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/16/50/image_29092025_16_50_35_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/16/50/image_29092025_16_50_24_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/16/50/image_29092025_16_50_15_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/16/49/image_29092025_16_50_04_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/16/49/image_29092025_16_49_54_9632.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f946f2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f946f2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f946f2cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:53:03.137498
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/52/image_29092025_16_52_44_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/16/52/image_29092025_16_52_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/16/52/image_29092025_16_52_25_10638.jpg', 2), ('/home/nano/Desktop/images/29092025/16/52/image_29092025_16_52_14_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/16/51/image_29092025_16_52_05_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/16/51/image_29092025_16_51_55_10626.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90bb3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90bb3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90bb3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:55:17.623998
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/55/image_29092025_16_55_45_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/16/55/image_29092025_16_55_34_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/16/55/image_29092025_16_55_24_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/16/55/image_29092025_16_55_15_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/16/54/image_29092025_16_55_04_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/16/54/image_29092025_16_54_54_9619.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f90f8acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90f8acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f90f8acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:57:31.789730
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 16:59:03.367948
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/16/57/image_29092025_16_57_44_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/16/57/image_29092025_16_57_35_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/16/57/image_29092025_16_57_24_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/16/56/image_29092025_16_57_05_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/16/56/image_29092025_16_56_54_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/16/56/image_29092025_16_56_44_9623.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94ffecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94ffecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94ffecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:01:17.587681
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/01/image_29092025_17_01_45_10632.jpg', 2), ('/home/nano/Desktop/images/29092025/17/01/image_29092025_17_01_34_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/17/01/image_29092025_17_01_25_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/17/01/image_29092025_17_01_15_10716.jpg', 2), ('/home/nano/Desktop/images/29092025/17/00/image_29092025_17_01_04_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/17/00/image_29092025_17_00_54_9629.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faf741c50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf741c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faf741c50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:03:31.809351
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/03/image_29092025_17_03_45_10624.jpg', 2), ('/home/nano/Desktop/images/29092025/17/03/image_29092025_17_03_34_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/17/03/image_29092025_17_03_24_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/17/03/image_29092025_17_03_15_10727.jpg', 2), ('/home/nano/Desktop/images/29092025/17/02/image_29092025_17_03_04_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/17/02/image_29092025_17_02_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fb03adc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb03adc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb03adc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:05:47.092261
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/05/image_29092025_17_05_45_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/17/05/image_29092025_17_05_34_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/17/05/image_29092025_17_05_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/17/04/image_29092025_17_05_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/17/04/image_29092025_17_04_54_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/17/04/image_29092025_17_04_45_10684.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8cf0bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cf0bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8cf0bcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:08:02.902452
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/07/image_29092025_17_07_45_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/17/07/image_29092025_17_07_35_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/17/07/image_29092025_17_07_24_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/17/07/image_29092025_17_07_15_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/17/06/image_29092025_17_07_05_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/17/06/image_29092025_17_06_54_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8062cc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8062cc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8062cc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:10:17.618188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/10/image_29092025_17_10_44_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/17/10/image_29092025_17_10_34_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/17/10/image_29092025_17_10_25_10630.jpg', 2), ('/home/nano/Desktop/images/29092025/17/10/image_29092025_17_10_14_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/17/09/image_29092025_17_10_05_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/17/09/image_29092025_17_09_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_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f938dbc50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f938dbc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f938dbc50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:12:31.782167
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/12/image_29092025_17_12_44_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/17/12/image_29092025_17_12_34_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/17/12/image_29092025_17_12_25_10702.jpg', 2), ('/home/nano/Desktop/images/29092025/17/12/image_29092025_17_12_14_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/17/11/image_29092025_17_12_04_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/17/11/image_29092025_17_11_55_10642.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f81e1ec50>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81e1ec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f81e1ec50>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:14:47.023177
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/14/image_29092025_17_14_44_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/17/14/image_29092025_17_14_34_9705.jpg', 2), ('/home/nano/Desktop/images/29092025/17/14/image_29092025_17_14_25_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/17/14/image_29092025_17_14_14_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/17/13/image_29092025_17_14_04_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/17/13/image_29092025_17_13_55_9686.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fa8e4acc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8e4acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa8e4acc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:17:03.110673
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/16/image_29092025_17_16_45_10724.jpg', 2), ('/home/nano/Desktop/images/29092025/17/16/image_29092025_17_16_34_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/17/16/image_29092025_17_16_24_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/17/16/image_29092025_17_16_15_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/17/15/image_29092025_17_15_54_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/17/15/image_29092025_17_15_45_10631.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f9fa0ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fa0ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f9fa0ccc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:19:17.619141
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/19/image_29092025_17_19_45_10638.jpg', 2), ('/home/nano/Desktop/images/29092025/17/19/image_29092025_17_19_15_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/17/18/image_29092025_17_18_54_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/17/18/image_29092025_17_18_45_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/17/18/image_29092025_17_18_34_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/17/18/image_29092025_17_18_24_9626.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7a3d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a3d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7a3d4cc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:21:31.889869
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/21/image_29092025_17_21_44_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/17/21/image_29092025_17_21_35_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/17/21/image_29092025_17_21_25_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/17/21/image_29092025_17_21_14_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/17/20/image_29092025_17_21_05_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/17/20/image_29092025_17_20_54_9622.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f7d36ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d36ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7d36ecc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:23:47.205896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/23/image_29092025_17_23_44_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/17/23/image_29092025_17_23_34_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/17/23/image_29092025_17_23_25_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/17/23/image_29092025_17_23_14_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/17/22/image_29092025_17_23_04_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/17/22/image_29092025_17_22_55_10639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f768cbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f768cbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects
    **adapter_kwargs
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f768cbcc0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:26:03.105920
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_29092025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
4892
3791465
4892
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_44_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_34_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_25_10629.jpg', 2), ('/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_14_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/17/24/image_29092025_17_25_04_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/17/24/image_29092025_17_24_55_10707.jpg', 2)]
{'portfolio_id': 27327518, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1759159624000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_44_9663.jpg', '/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_34_9659.jpg', '/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_25_10629.jpg', '/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_14_9679.jpg', '/home/nano/Desktop/images/29092025/17/24/image_29092025_17_25_04_9681.jpg', '/home/nano/Desktop/images/29092025/17/24/image_29092025_17_24_55_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_44_9663.jpg
/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_34_9659.jpg
/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_25_10629.jpg
/home/nano/Desktop/images/29092025/17/25/image_29092025_17_25_14_9679.jpg
/home/nano/Desktop/images/29092025/17/24/image_29092025_17_25_04_9681.jpg
/home/nano/Desktop/images/29092025/17/24/image_29092025_17_24_55_10707.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 305.0754306316376 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:31:17.239797
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_45_10704.jpg', 2), ('/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_34_9786.jpg', 2), ('/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_24_9760.jpg', 2), ('/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_15_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/17/30/image_29092025_17_31_05_10734.jpg', 2), ('/home/nano/Desktop/images/29092025/17/30/image_29092025_17_30_54_9724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_45_10704.jpg', '/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_34_9786.jpg', '/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_24_9760.jpg', '/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_15_9722.jpg', '/home/nano/Desktop/images/29092025/17/30/image_29092025_17_31_05_10734.jpg', '/home/nano/Desktop/images/29092025/17/30/image_29092025_17_30_54_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_45_10704.jpg
/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_34_9786.jpg
/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_24_9760.jpg
/home/nano/Desktop/images/29092025/17/31/image_29092025_17_31_15_9722.jpg
/home/nano/Desktop/images/29092025/17/30/image_29092025_17_31_05_10734.jpg
/home/nano/Desktop/images/29092025/17/30/image_29092025_17_30_54_9724.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.6582725048065 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:36:32.740653
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_45_10710.jpg', 2), ('/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_34_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_24_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_15_9760.jpg', 2), ('/home/nano/Desktop/images/29092025/17/35/image_29092025_17_36_05_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/17/35/image_29092025_17_35_54_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_45_10710.jpg', '/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_34_9722.jpg', '/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_24_9695.jpg', '/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_15_9760.jpg', '/home/nano/Desktop/images/29092025/17/35/image_29092025_17_36_05_10666.jpg', '/home/nano/Desktop/images/29092025/17/35/image_29092025_17_35_54_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_45_10710.jpg
/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_34_9722.jpg
/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_24_9695.jpg
/home/nano/Desktop/images/29092025/17/36/image_29092025_17_36_15_9760.jpg
/home/nano/Desktop/images/29092025/17/35/image_29092025_17_36_05_10666.jpg
/home/nano/Desktop/images/29092025/17/35/image_29092025_17_35_54_9712.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.9053101539612 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:41:47.270686
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_45_10630.jpg', 2), ('/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_34_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_25_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_15_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/17/40/image_29092025_17_41_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/17/40/image_29092025_17_40_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_45_10630.jpg', '/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_34_9625.jpg', '/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_25_9645.jpg', '/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_15_10677.jpg', '/home/nano/Desktop/images/29092025/17/40/image_29092025_17_41_04_9641.jpg', '/home/nano/Desktop/images/29092025/17/40/image_29092025_17_40_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_45_10630.jpg
/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_34_9625.jpg
/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_25_9645.jpg
/home/nano/Desktop/images/29092025/17/41/image_29092025_17_41_15_10677.jpg
/home/nano/Desktop/images/29092025/17/40/image_29092025_17_41_04_9641.jpg
/home/nano/Desktop/images/29092025/17/40/image_29092025_17_40_55_9629.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.6285836696625 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:47:02.572223
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/46/image_29092025_17_46_45_10767.jpg', 2), ('/home/nano/Desktop/images/29092025/17/46/image_29092025_17_46_15_9797.jpg', 2), ('/home/nano/Desktop/images/29092025/17/45/image_29092025_17_46_05_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_54_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_44_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_35_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/46/image_29092025_17_46_45_10767.jpg', '/home/nano/Desktop/images/29092025/17/46/image_29092025_17_46_15_9797.jpg', '/home/nano/Desktop/images/29092025/17/45/image_29092025_17_46_05_10676.jpg', '/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_54_9668.jpg', '/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_44_9679.jpg', '/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_35_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/46/image_29092025_17_46_45_10767.jpg
/home/nano/Desktop/images/29092025/17/46/image_29092025_17_46_15_9797.jpg
/home/nano/Desktop/images/29092025/17/45/image_29092025_17_46_05_10676.jpg
/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_54_9668.jpg
/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_44_9679.jpg
/home/nano/Desktop/images/29092025/17/45/image_29092025_17_45_35_10647.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.09344005584717 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:52:17.500786
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_44_9783.jpg', 2), ('/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_15_10834.jpg', 2), ('/home/nano/Desktop/images/29092025/17/51/image_29092025_17_52_04_9792.jpg', 2), ('/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_44_9780.jpg', 2), ('/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_35_9772.jpg', 2), ('/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_25_10788.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_44_9783.jpg', '/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_15_10834.jpg', '/home/nano/Desktop/images/29092025/17/51/image_29092025_17_52_04_9792.jpg', '/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_44_9780.jpg', '/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_35_9772.jpg', '/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_25_10788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_44_9783.jpg
/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_15_10834.jpg
/home/nano/Desktop/images/29092025/17/51/image_29092025_17_52_04_9792.jpg
/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_44_9780.jpg
/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_35_9772.jpg
/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_25_10788.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.088181734085083 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:52:32.492249
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_44_9783.jpg', 2), ('/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_15_10834.jpg', 2), ('/home/nano/Desktop/images/29092025/17/51/image_29092025_17_52_04_9792.jpg', 2), ('/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_44_9780.jpg', 2), ('/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_35_9772.jpg', 2), ('/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_25_10788.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_44_9783.jpg', '/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_15_10834.jpg', '/home/nano/Desktop/images/29092025/17/51/image_29092025_17_52_04_9792.jpg', '/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_44_9780.jpg', '/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_35_9772.jpg', '/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_25_10788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_44_9783.jpg
/home/nano/Desktop/images/29092025/17/52/image_29092025_17_52_15_10834.jpg
/home/nano/Desktop/images/29092025/17/51/image_29092025_17_52_04_9792.jpg
/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_44_9780.jpg
/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_35_9772.jpg
/home/nano/Desktop/images/29092025/17/51/image_29092025_17_51_25_10788.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.16339087486267 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:57:47.036280
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_45_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_34_9618.jpg', 2), ('/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_25_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_15_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/17/56/image_29092025_17_57_04_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/17/56/image_29092025_17_56_55_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_45_10642.jpg', '/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_34_9618.jpg', '/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_25_9623.jpg', '/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_15_10668.jpg', '/home/nano/Desktop/images/29092025/17/56/image_29092025_17_57_04_9631.jpg', '/home/nano/Desktop/images/29092025/17/56/image_29092025_17_56_55_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_45_10642.jpg
/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_34_9618.jpg
/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_25_9623.jpg
/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_15_10668.jpg
/home/nano/Desktop/images/29092025/17/56/image_29092025_17_57_04_9631.jpg
/home/nano/Desktop/images/29092025/17/56/image_29092025_17_56_55_10635.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 17:59:03.418377
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_34_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_24_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_15_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/17/57/image_29092025_17_58_04_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_54_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_45_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_34_9620.jpg', '/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_24_9652.jpg', '/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_15_10661.jpg', '/home/nano/Desktop/images/29092025/17/57/image_29092025_17_58_04_9622.jpg', '/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_54_9627.jpg', '/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_34_9620.jpg
/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_24_9652.jpg
/home/nano/Desktop/images/29092025/17/58/image_29092025_17_58_15_10661.jpg
/home/nano/Desktop/images/29092025/17/57/image_29092025_17_58_04_9622.jpg
/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_54_9627.jpg
/home/nano/Desktop/images/29092025/17/57/image_29092025_17_57_45_10642.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.5605573654175 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:04:16.806800
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_45_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_35_10629.jpg', 2), ('/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_24_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_15_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/18/03/image_29092025_18_04_04_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/18/03/image_29092025_18_03_54_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_45_9616.jpg', '/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_35_10629.jpg', '/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_24_9626.jpg', '/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_15_10654.jpg', '/home/nano/Desktop/images/29092025/18/03/image_29092025_18_04_04_9629.jpg', '/home/nano/Desktop/images/29092025/18/03/image_29092025_18_03_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_45_9616.jpg
/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_35_10629.jpg
/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_24_9626.jpg
/home/nano/Desktop/images/29092025/18/04/image_29092025_18_04_15_10654.jpg
/home/nano/Desktop/images/29092025/18/03/image_29092025_18_04_04_9629.jpg
/home/nano/Desktop/images/29092025/18/03/image_29092025_18_03_54_9630.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.638977766037 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:09:32.373616
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_45_10630.jpg', 2), ('/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_34_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_24_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_15_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/18/08/image_29092025_18_09_04_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/18/08/image_29092025_18_08_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_45_10630.jpg', '/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_34_9617.jpg', '/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_24_9641.jpg', '/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_15_10664.jpg', '/home/nano/Desktop/images/29092025/18/08/image_29092025_18_09_04_9640.jpg', '/home/nano/Desktop/images/29092025/18/08/image_29092025_18_08_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_45_10630.jpg
/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_34_9617.jpg
/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_24_9641.jpg
/home/nano/Desktop/images/29092025/18/09/image_29092025_18_09_15_10664.jpg
/home/nano/Desktop/images/29092025/18/08/image_29092025_18_09_04_9640.jpg
/home/nano/Desktop/images/29092025/18/08/image_29092025_18_08_54_9622.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.2426028251648 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:14:46.926853
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_44_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_25_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_14_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/18/13/image_29092025_18_14_04_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/18/13/image_29092025_18_13_55_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_44_9647.jpg', '/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_34_9646.jpg', '/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_25_10655.jpg', '/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_14_9666.jpg', '/home/nano/Desktop/images/29092025/18/13/image_29092025_18_14_04_9654.jpg', '/home/nano/Desktop/images/29092025/18/13/image_29092025_18_13_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_44_9647.jpg
/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_34_9646.jpg
/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_25_10655.jpg
/home/nano/Desktop/images/29092025/18/14/image_29092025_18_14_14_9666.jpg
/home/nano/Desktop/images/29092025/18/13/image_29092025_18_14_04_9654.jpg
/home/nano/Desktop/images/29092025/18/13/image_29092025_18_13_55_10653.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.7879276275635 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:20:03.494685
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_45_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_15_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/18/18/image_29092025_18_19_04_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/18/18/image_29092025_18_18_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_45_10654.jpg', '/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_34_9646.jpg', '/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_24_9645.jpg', '/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_15_10677.jpg', '/home/nano/Desktop/images/29092025/18/18/image_29092025_18_19_04_9653.jpg', '/home/nano/Desktop/images/29092025/18/18/image_29092025_18_18_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_45_10654.jpg
/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_34_9646.jpg
/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_24_9645.jpg
/home/nano/Desktop/images/29092025/18/19/image_29092025_18_19_15_10677.jpg
/home/nano/Desktop/images/29092025/18/18/image_29092025_18_19_04_9653.jpg
/home/nano/Desktop/images/29092025/18/18/image_29092025_18_18_54_9643.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.53362917900085 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:25:17.176135
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_44_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_35_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_24_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_14_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/18/24/image_29092025_18_25_05_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/18/24/image_29092025_18_24_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_44_9648.jpg', '/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_35_10656.jpg', '/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_24_9655.jpg', '/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_14_9673.jpg', '/home/nano/Desktop/images/29092025/18/24/image_29092025_18_25_05_10655.jpg', '/home/nano/Desktop/images/29092025/18/24/image_29092025_18_24_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_44_9648.jpg
/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_35_10656.jpg
/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_24_9655.jpg
/home/nano/Desktop/images/29092025/18/25/image_29092025_18_25_14_9673.jpg
/home/nano/Desktop/images/29092025/18/24/image_29092025_18_25_05_10655.jpg
/home/nano/Desktop/images/29092025/18/24/image_29092025_18_24_54_9648.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.63662481307983 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:30:32.735256
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_35_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_25_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/18/29/image_29092025_18_30_05_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/18/29/image_29092025_18_29_55_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_44_9656.jpg', '/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_35_9647.jpg', '/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_25_10651.jpg', '/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_14_9657.jpg', '/home/nano/Desktop/images/29092025/18/29/image_29092025_18_30_05_9665.jpg', '/home/nano/Desktop/images/29092025/18/29/image_29092025_18_29_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_44_9656.jpg
/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_35_9647.jpg
/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_25_10651.jpg
/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_14_9657.jpg
/home/nano/Desktop/images/29092025/18/29/image_29092025_18_30_05_9665.jpg
/home/nano/Desktop/images/29092025/18/29/image_29092025_18_29_55_10658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4190459251403809 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:30:47.722852
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_35_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_25_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/18/29/image_29092025_18_30_05_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/18/29/image_29092025_18_29_55_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_44_9656.jpg', '/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_35_9647.jpg', '/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_25_10651.jpg', '/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_14_9657.jpg', '/home/nano/Desktop/images/29092025/18/29/image_29092025_18_30_05_9665.jpg', '/home/nano/Desktop/images/29092025/18/29/image_29092025_18_29_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_44_9656.jpg
/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_35_9647.jpg
/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_25_10651.jpg
/home/nano/Desktop/images/29092025/18/30/image_29092025_18_30_14_9657.jpg
/home/nano/Desktop/images/29092025/18/29/image_29092025_18_30_05_9665.jpg
/home/nano/Desktop/images/29092025/18/29/image_29092025_18_29_55_10658.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.6340889930725 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:36:02.911635
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_45_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_25_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_15_10708.jpg', 2), ('/home/nano/Desktop/images/29092025/18/34/image_29092025_18_35_04_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/18/34/image_29092025_18_34_55_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_45_10653.jpg', '/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_34_9646.jpg', '/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_25_9644.jpg', '/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_15_10708.jpg', '/home/nano/Desktop/images/29092025/18/34/image_29092025_18_35_04_9652.jpg', '/home/nano/Desktop/images/29092025/18/34/image_29092025_18_34_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_45_10653.jpg
/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_34_9646.jpg
/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_25_9644.jpg
/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_15_10708.jpg
/home/nano/Desktop/images/29092025/18/34/image_29092025_18_35_04_9652.jpg
/home/nano/Desktop/images/29092025/18/34/image_29092025_18_34_55_9646.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1923243999481201 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:36:17.393326
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_45_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_34_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_25_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_15_10705.jpg', 2), ('/home/nano/Desktop/images/29092025/18/35/image_29092025_18_36_04_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_55_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_45_10654.jpg', '/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_34_9659.jpg', '/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_25_9659.jpg', '/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_15_10705.jpg', '/home/nano/Desktop/images/29092025/18/35/image_29092025_18_36_04_9663.jpg', '/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_55_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_45_10654.jpg
/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_34_9659.jpg
/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_25_9659.jpg
/home/nano/Desktop/images/29092025/18/36/image_29092025_18_36_15_10705.jpg
/home/nano/Desktop/images/29092025/18/35/image_29092025_18_36_04_9663.jpg
/home/nano/Desktop/images/29092025/18/35/image_29092025_18_35_55_9664.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.19603657722473 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:41:32.046343
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_44_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_35_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_25_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_14_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/18/40/image_29092025_18_41_05_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/18/40/image_29092025_18_40_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_44_9623.jpg', '/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_35_9633.jpg', '/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_25_10653.jpg', '/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_14_9635.jpg', '/home/nano/Desktop/images/29092025/18/40/image_29092025_18_41_05_10648.jpg', '/home/nano/Desktop/images/29092025/18/40/image_29092025_18_40_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_44_9623.jpg
/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_35_9633.jpg
/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_25_10653.jpg
/home/nano/Desktop/images/29092025/18/41/image_29092025_18_41_14_9635.jpg
/home/nano/Desktop/images/29092025/18/40/image_29092025_18_41_05_10648.jpg
/home/nano/Desktop/images/29092025/18/40/image_29092025_18_40_54_9620.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.79369616508484 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:46:47.554637
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_44_9615.jpg', 2), ('/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_34_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_25_10696.jpg', 2), ('/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_14_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/18/45/image_29092025_18_46_04_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/18/45/image_29092025_18_45_55_10676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_44_9615.jpg', '/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_34_9663.jpg', '/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_25_10696.jpg', '/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_14_9698.jpg', '/home/nano/Desktop/images/29092025/18/45/image_29092025_18_46_04_9660.jpg', '/home/nano/Desktop/images/29092025/18/45/image_29092025_18_45_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_44_9615.jpg
/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_34_9663.jpg
/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_25_10696.jpg
/home/nano/Desktop/images/29092025/18/46/image_29092025_18_46_14_9698.jpg
/home/nano/Desktop/images/29092025/18/45/image_29092025_18_46_04_9660.jpg
/home/nano/Desktop/images/29092025/18/45/image_29092025_18_45_55_10676.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.8138303756714 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:52:02.682088
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_44_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_35_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_25_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_14_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/18/50/image_29092025_18_51_05_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/18/50/image_29092025_18_50_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_44_9628.jpg', '/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_35_9619.jpg', '/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_25_10633.jpg', '/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_14_9649.jpg', '/home/nano/Desktop/images/29092025/18/50/image_29092025_18_51_05_10662.jpg', '/home/nano/Desktop/images/29092025/18/50/image_29092025_18_50_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_44_9628.jpg
/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_35_9619.jpg
/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_25_10633.jpg
/home/nano/Desktop/images/29092025/18/51/image_29092025_18_51_14_9649.jpg
/home/nano/Desktop/images/29092025/18/50/image_29092025_18_51_05_10662.jpg
/home/nano/Desktop/images/29092025/18/50/image_29092025_18_50_54_9612.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.38107895851135 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:57:16.844040
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_35_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_24_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_15_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/18/56/image_29092025_18_57_05_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/18/56/image_29092025_18_56_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_44_9656.jpg', '/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_35_10655.jpg', '/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_24_9656.jpg', '/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_15_9683.jpg', '/home/nano/Desktop/images/29092025/18/56/image_29092025_18_57_05_10636.jpg', '/home/nano/Desktop/images/29092025/18/56/image_29092025_18_56_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_44_9656.jpg
/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_35_10655.jpg
/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_24_9656.jpg
/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_15_9683.jpg
/home/nano/Desktop/images/29092025/18/56/image_29092025_18_57_05_10636.jpg
/home/nano/Desktop/images/29092025/18/56/image_29092025_18_56_54_9619.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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:58:47.094648
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_45_9725.jpg', 2), ('/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_35_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_24_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_14_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/18/57/image_29092025_18_58_05_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_45_9725.jpg', '/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_35_10671.jpg', '/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_24_9646.jpg', '/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_14_9694.jpg', '/home/nano/Desktop/images/29092025/18/57/image_29092025_18_58_05_10649.jpg', '/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_45_9725.jpg
/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_35_10671.jpg
/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_24_9646.jpg
/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_14_9694.jpg
/home/nano/Desktop/images/29092025/18/57/image_29092025_18_58_05_10649.jpg
/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_54_9636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1397898197174072 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 18:59:03.333170
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_45_9725.jpg', 2), ('/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_35_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_24_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_14_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/18/57/image_29092025_18_58_05_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_45_9725.jpg', '/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_35_10671.jpg', '/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_24_9646.jpg', '/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_14_9694.jpg', '/home/nano/Desktop/images/29092025/18/57/image_29092025_18_58_05_10649.jpg', '/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_45_9725.jpg
/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_35_10671.jpg
/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_24_9646.jpg
/home/nano/Desktop/images/29092025/18/58/image_29092025_18_58_14_9694.jpg
/home/nano/Desktop/images/29092025/18/57/image_29092025_18_58_05_10649.jpg
/home/nano/Desktop/images/29092025/18/57/image_29092025_18_57_54_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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.5214810371399 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:04:17.750439
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_45_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_34_9609.jpg', 2), ('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_24_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_15_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/19/03/image_29092025_19_04_04_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_45_10637.jpg', '/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_34_9609.jpg', '/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_24_9670.jpg', '/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_15_10661.jpg', '/home/nano/Desktop/images/29092025/19/03/image_29092025_19_04_04_9671.jpg', '/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_45_10637.jpg
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_34_9609.jpg
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_24_9670.jpg
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_15_10661.jpg
/home/nano/Desktop/images/29092025/19/03/image_29092025_19_04_04_9671.jpg
/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_54_9643.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.59545636177063 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:09:32.317641
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_45_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_35_10732.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_24_9791.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_14_9715.jpg', 2), ('/home/nano/Desktop/images/29092025/19/08/image_29092025_19_09_05_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_55_10687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_45_9716.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_35_10732.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_24_9791.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_14_9715.jpg', '/home/nano/Desktop/images/29092025/19/08/image_29092025_19_09_05_9679.jpg', '/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_55_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_45_9716.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_35_10732.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_24_9791.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_14_9715.jpg
/home/nano/Desktop/images/29092025/19/08/image_29092025_19_09_05_9679.jpg
/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_55_10687.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.4006063938141 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:14:46.896405
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_45_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_34_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_25_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_15_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/13/image_29092025_19_14_04_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_55_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_45_10672.jpg', '/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_34_9699.jpg', '/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_25_9696.jpg', '/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_15_10670.jpg', '/home/nano/Desktop/images/29092025/19/13/image_29092025_19_14_04_9677.jpg', '/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_55_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_45_10672.jpg
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_34_9699.jpg
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_25_9696.jpg
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_15_10670.jpg
/home/nano/Desktop/images/29092025/19/13/image_29092025_19_14_04_9677.jpg
/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_55_9661.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.12114214897156 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:20:03.238594
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_55_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_15_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_19_04_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_55_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_45_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_55_9646.jpg', '/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_34_9647.jpg', '/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_15_10683.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_19_04_9677.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_55_9645.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_45_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_55_9646.jpg
/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_34_9647.jpg
/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_15_10683.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_19_04_9677.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_55_9645.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_45_10655.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.34574937820435 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:25:17.179316
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_44_9728.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_34_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_25_10715.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_14_9726.jpg', 2), ('/home/nano/Desktop/images/29092025/19/24/image_29092025_19_25_04_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_55_9757.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_44_9728.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_34_9688.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_25_10715.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_14_9726.jpg', '/home/nano/Desktop/images/29092025/19/24/image_29092025_19_25_04_9629.jpg', '/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_55_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_44_9728.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_34_9688.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_25_10715.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_14_9726.jpg
/home/nano/Desktop/images/29092025/19/24/image_29092025_19_25_04_9629.jpg
/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_55_9757.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.4542009830475 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:30:31.754844
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_45_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_35_10727.jpg', 2), ('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_24_9734.jpg', 2), ('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_14_9817.jpg', 2), ('/home/nano/Desktop/images/29092025/19/29/image_29092025_19_30_05_9797.jpg', 2), ('/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_55_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_45_9653.jpg', '/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_35_10727.jpg', '/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_24_9734.jpg', '/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_14_9817.jpg', '/home/nano/Desktop/images/29092025/19/29/image_29092025_19_30_05_9797.jpg', '/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_45_9653.jpg
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_35_10727.jpg
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_24_9734.jpg
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_14_9817.jpg
/home/nano/Desktop/images/29092025/19/29/image_29092025_19_30_05_9797.jpg
/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_55_10651.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.24281454086304 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:35:47.248273
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_44_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_35_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_25_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_14_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/19/34/image_29092025_19_35_04_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_44_9670.jpg', '/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_35_9701.jpg', '/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_25_10651.jpg', '/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_14_9696.jpg', '/home/nano/Desktop/images/29092025/19/34/image_29092025_19_35_04_9695.jpg', '/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_44_9670.jpg
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_35_9701.jpg
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_25_10651.jpg
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_14_9696.jpg
/home/nano/Desktop/images/29092025/19/34/image_29092025_19_35_04_9695.jpg
/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_55_10672.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.40454602241516 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:41:02.471486
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_44_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_35_10624.jpg', 2), ('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_24_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_15_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/39/image_29092025_19_40_05_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_54_9716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_44_9654.jpg', '/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_35_10624.jpg', '/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_24_9650.jpg', '/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_15_9664.jpg', '/home/nano/Desktop/images/29092025/19/39/image_29092025_19_40_05_10699.jpg', '/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_54_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_44_9654.jpg
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_35_10624.jpg
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_24_9650.jpg
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_15_9664.jpg
/home/nano/Desktop/images/29092025/19/39/image_29092025_19_40_05_10699.jpg
/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_54_9716.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.3898940086365 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:46:17.441389
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_10664.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_9650.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_10664.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_9650.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1637537479400635 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:46:32.470125
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_10664.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_9650.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_10664.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_9650.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.84753370285034 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:51:47.026883
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_44_9757.jpg', 2), ('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_34_9735.jpg', 2), ('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_25_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_14_9841.jpg', 2), ('/home/nano/Desktop/images/29092025/19/50/image_29092025_19_51_04_9680.jpg', 2), ('/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_44_9757.jpg', '/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_34_9735.jpg', '/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_25_10662.jpg', '/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_14_9841.jpg', '/home/nano/Desktop/images/29092025/19/50/image_29092025_19_51_04_9680.jpg', '/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_44_9757.jpg
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_34_9735.jpg
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_25_10662.jpg
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_14_9841.jpg
/home/nano/Desktop/images/29092025/19/50/image_29092025_19_51_04_9680.jpg
/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_54_9649.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.16460394859314 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:57:02.414031
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_45_10602.jpg', 2), ('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_34_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_25_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_14_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_56_04_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_55_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_45_10602.jpg', '/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_34_9621.jpg', '/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_25_10657.jpg', '/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_14_9666.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_56_04_9636.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_55_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_45_10602.jpg
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_34_9621.jpg
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_25_10657.jpg
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_14_9666.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_56_04_9636.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_55_10638.jpg
 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 marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 19:59:03.653028
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_44_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_35_9772.jpg', 2), ('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_25_10780.jpg', 2), ('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_14_9797.jpg', 2), ('/home/nano/Desktop/images/29092025/19/57/image_29092025_19_58_04_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_55_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_44_9643.jpg', '/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_35_9772.jpg', '/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_25_10780.jpg', '/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_14_9797.jpg', '/home/nano/Desktop/images/29092025/19/57/image_29092025_19_58_04_9643.jpg', '/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_55_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_44_9643.jpg
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_35_9772.jpg
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_25_10780.jpg
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_14_9797.jpg
/home/nano/Desktop/images/29092025/19/57/image_29092025_19_58_04_9643.jpg
/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_55_10624.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.5188858509064 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:04:17.113442
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_44_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_34_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_25_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/20/03/image_29092025_20_04_04_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_55_10697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_44_9633.jpg', '/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_34_9637.jpg', '/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_25_10676.jpg', '/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_14_9664.jpg', '/home/nano/Desktop/images/29092025/20/03/image_29092025_20_04_04_9683.jpg', '/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_55_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_44_9633.jpg
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_34_9637.jpg
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_25_10676.jpg
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_14_9664.jpg
/home/nano/Desktop/images/29092025/20/03/image_29092025_20_04_04_9683.jpg
/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_55_10697.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.3875193595886 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:09:32.660770
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_44_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_34_9739.jpg', 2), ('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_25_10705.jpg', 2), ('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_14_9771.jpg', 2), ('/home/nano/Desktop/images/29092025/20/08/image_29092025_20_09_04_9747.jpg', 2), ('/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_54_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_44_9675.jpg', '/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_34_9739.jpg', '/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_25_10705.jpg', '/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_14_9771.jpg', '/home/nano/Desktop/images/29092025/20/08/image_29092025_20_09_04_9747.jpg', '/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_44_9675.jpg
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_34_9739.jpg
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_25_10705.jpg
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_14_9771.jpg
/home/nano/Desktop/images/29092025/20/08/image_29092025_20_09_04_9747.jpg
/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_54_9653.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.45365715026855 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:14:47.240442
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_45_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_35_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_24_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_15_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/13/image_29092025_20_14_05_10714.jpg', 2), ('/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_54_9711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_45_9701.jpg', '/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_35_10642.jpg', '/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_24_9668.jpg', '/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_15_9676.jpg', '/home/nano/Desktop/images/29092025/20/13/image_29092025_20_14_05_10714.jpg', '/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_54_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_45_9701.jpg
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_35_10642.jpg
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_24_9668.jpg
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_15_9676.jpg
/home/nano/Desktop/images/29092025/20/13/image_29092025_20_14_05_10714.jpg
/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_54_9711.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.11853671073914 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:20:02.413403
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_45_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_34_9615.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_25_9781.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_15_10841.jpg', 2), ('/home/nano/Desktop/images/29092025/20/18/image_29092025_20_19_04_9806.jpg', 2), ('/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_54_9760.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_45_10664.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_34_9615.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_25_9781.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_15_10841.jpg', '/home/nano/Desktop/images/29092025/20/18/image_29092025_20_19_04_9806.jpg', '/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_54_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_45_10664.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_34_9615.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_25_9781.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_15_10841.jpg
/home/nano/Desktop/images/29092025/20/18/image_29092025_20_19_04_9806.jpg
/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_54_9760.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 301.59518790245056 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:25:17.526767
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_44_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_35_10633.jpg', 2), ('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_24_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_14_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/20/24/image_29092025_20_25_05_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_54_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_44_9623.jpg', '/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_35_10633.jpg', '/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_24_9616.jpg', '/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_14_9648.jpg', '/home/nano/Desktop/images/29092025/20/24/image_29092025_20_25_05_10639.jpg', '/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_54_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_44_9623.jpg
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_35_10633.jpg
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_24_9616.jpg
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_14_9648.jpg
/home/nano/Desktop/images/29092025/20/24/image_29092025_20_25_05_10639.jpg
/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_54_9623.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! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 204.9632842540741 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:28:46.852454
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_45_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_34_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_25_9614.jpg', 2), ('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_15_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_28_04_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_55_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_45_10639.jpg', '/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_34_9652.jpg', '/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_25_9614.jpg', '/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_15_10655.jpg', '/home/nano/Desktop/images/29092025/20/27/image_29092025_20_28_04_9634.jpg', '/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_55_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_45_10639.jpg
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_34_9652.jpg
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_25_9614.jpg
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_15_10655.jpg
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_28_04_9634.jpg
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_55_10636.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.63558101654053 secondes ---
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f876ff1d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:31:02.896347
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_45_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_34_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_24_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_15_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/20/29/image_29092025_20_30_04_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_45_10647.jpg', '/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_34_9652.jpg', '/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_24_9669.jpg', '/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_15_10662.jpg', '/home/nano/Desktop/images/29092025/20/29/image_29092025_20_30_04_9660.jpg', '/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_45_10647.jpg
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_34_9652.jpg
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_24_9669.jpg
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_15_10662.jpg
/home/nano/Desktop/images/29092025/20/29/image_29092025_20_30_04_9660.jpg
/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_54_9656.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: 130.75959992408752 secondes ---
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f89d55160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:33:17.553592
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_45_10817.jpg', 2), ('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_34_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_24_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_15_10698.jpg', 2), ('/home/nano/Desktop/images/29092025/20/32/image_29092025_20_33_04_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_54_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_45_10817.jpg', '/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_34_9682.jpg', '/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_24_9651.jpg', '/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_15_10698.jpg', '/home/nano/Desktop/images/29092025/20/32/image_29092025_20_33_04_9676.jpg', '/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_45_10817.jpg
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_34_9682.jpg
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_24_9651.jpg
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_15_10698.jpg
/home/nano/Desktop/images/29092025/20/32/image_29092025_20_33_04_9676.jpg
/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_54_9675.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.2705523967743 secondes ---
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb0cc0160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:35:32.704813
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_44_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_35_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_24_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_14_9712.jpg', 2), ('/home/nano/Desktop/images/29092025/20/34/image_29092025_20_35_05_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_54_9694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_44_9657.jpg', '/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_35_10660.jpg', '/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_24_9659.jpg', '/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_14_9712.jpg', '/home/nano/Desktop/images/29092025/20/34/image_29092025_20_35_05_10678.jpg', '/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_54_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_44_9657.jpg
/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_35_10660.jpg
/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_24_9659.jpg
/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_14_9712.jpg
/home/nano/Desktop/images/29092025/20/34/image_29092025_20_35_05_10678.jpg
/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_54_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386788791","1386788810","1386788806","1386788799","1386788803","1386788792"],"photo_ids_order":["1386788791","1386788792","1386788799","1386788803","1386788806","1386788810"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/92973741a7da47883d6d6931ef813852.jpg","text":"TemporaryFile(/tmp/multipartBody570488736875358823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759170994463,"filename":"image_29092025_20_35_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/9/29/312ffab8a7b0ecb5f29c907ee4e75b9f.jpg","text":"TemporaryFile(/tmp/multipartBody1525884410293459383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759170994463,"filename":"image_29092025_20_34_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/74a2890ac7dd69f88f5e4b4422b804e5.jpg","text":"TemporaryFile(/tmp/multipartBody5703260452021656200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759170994463,"filename":"image_29092025_20_35_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/03f63781929729a3dc3bad71a3e7ffa7.jpg","text":"TemporaryFile(/tmp/multipartBody530073066780496102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759170994463,"filename":"image_29092025_20_35_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/9/29/17f2cc3e80262c478beded2cafbbdc69.jpg","text":"TemporaryFile(/tmp/multipartBody5019640374435805316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759170994463,"filename":"image_29092025_20_35_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/816dd3cf3d42460a15a884706c02814f.jpg","text":"TemporaryFile(/tmp/multipartBody1329299834273577916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759170994463,"filename":"image_29092025_20_35_35_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386788799","file1":"1386788792","file0":"1386788791","file4":"1386788806","file5":"1386788810","file3":"1386788803"},"map_files_photo_id_array":[{"photo_id":"1386788810","filename":"file5"},{"photo_id":"1386788799","filename":"file2"},{"photo_id":"1386788806","filename":"file4"},{"photo_id":"1386788792","filename":"file1"},{"photo_id":"1386788791","filename":"file0"},{"photo_id":"1386788803","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386788791":["hashtag1","hashtag2"]},{"1386788810":["hashtag1","hashtag2"]},{"1386788806":["hashtag1","hashtag2"]},{"1386788799":["hashtag1","hashtag2"]},{"1386788803":["hashtag1","hashtag2"]},{"1386788792":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386788791, 1386788810, 1386788806, 1386788799, 1386788803, 1386788792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.477845191955566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:36:16.772583
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_44_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_35_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_24_9687.jpg', 2), ('/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_14_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/20/35/image_29092025_20_36_05_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_44_9634.jpg', '/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_35_10646.jpg', '/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_24_9687.jpg', '/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_14_9677.jpg', '/home/nano/Desktop/images/29092025/20/35/image_29092025_20_36_05_10671.jpg', '/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_44_9634.jpg
/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_35_10646.jpg
/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_24_9687.jpg
/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_14_9677.jpg
/home/nano/Desktop/images/29092025/20/35/image_29092025_20_36_05_10671.jpg
/home/nano/Desktop/images/29092025/20/35/image_29092025_20_35_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":["1386788860","1386788857","1386788847","1386788844","1386788864","1386788852"],"photo_ids_order":["1386788844","1386788847","1386788852","1386788857","1386788860","1386788864"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/10b179ca25a0e5e6b44881282f2a8037.jpg","text":"TemporaryFile(/tmp/multipartBody9173860106399273399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171038401,"filename":"image_29092025_20_36_05_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7f2920f6735808456c5a6b141655c0c7.jpg","text":"TemporaryFile(/tmp/multipartBody1775930272688316978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171038401,"filename":"image_29092025_20_36_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/9/29/ad9e5674191f181b0f46551cfbf5e5d7.jpg","text":"TemporaryFile(/tmp/multipartBody8462063877133453720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171038401,"filename":"image_29092025_20_36_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/9/29/0f23dc02fd3c5e7e9510148290add8a1.jpg","text":"TemporaryFile(/tmp/multipartBody7779541690438954971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171038401,"filename":"image_29092025_20_36_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/21f720177bcddf6f5f47b4519b308b9b.jpg","text":"TemporaryFile(/tmp/multipartBody924815120218802548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171038401,"filename":"image_29092025_20_35_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/9/29/6ec7b9b11b8dffb51dca093724852395.jpg","text":"TemporaryFile(/tmp/multipartBody7120185017198670584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171038401,"filename":"image_29092025_20_36_24_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386788852","file1":"1386788847","file0":"1386788844","file4":"1386788860","file5":"1386788864","file3":"1386788857"},"map_files_photo_id_array":[{"photo_id":"1386788864","filename":"file5"},{"photo_id":"1386788852","filename":"file2"},{"photo_id":"1386788860","filename":"file4"},{"photo_id":"1386788847","filename":"file1"},{"photo_id":"1386788844","filename":"file0"},{"photo_id":"1386788857","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386788860":["hashtag1","hashtag2"]},{"1386788857":["hashtag1","hashtag2"]},{"1386788847":["hashtag1","hashtag2"]},{"1386788844":["hashtag1","hashtag2"]},{"1386788864":["hashtag1","hashtag2"]},{"1386788852":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386788860, 1386788857, 1386788847, 1386788844, 1386788864, 1386788852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.825039863586426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:37:02.626049
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_44_9733.jpg', 2), ('/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_35_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_25_10772.jpg', 2), ('/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_14_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_34_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_55_9795.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_44_9733.jpg', '/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_35_9690.jpg', '/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_25_10772.jpg', '/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_14_9692.jpg', '/home/nano/Desktop/images/29092025/20/33/image_29092025_20_34_04_9658.jpg', '/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_55_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_44_9733.jpg
/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_35_9690.jpg
/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_25_10772.jpg
/home/nano/Desktop/images/29092025/20/34/image_29092025_20_34_14_9692.jpg
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_34_04_9658.jpg
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_55_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386788900","1386788890","1386788886","1386788895","1386788877","1386788882"],"photo_ids_order":["1386788877","1386788882","1386788886","1386788890","1386788895","1386788900"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f7eec6cc9190926a0a09f5bdbfbdf149.jpg","text":"TemporaryFile(/tmp/multipartBody3152928897258446286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171084695,"filename":"image_29092025_20_33_55_9795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d759ff2dc297622a15e43bf3cba39990.jpg","text":"TemporaryFile(/tmp/multipartBody3300705707978520033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171084695,"filename":"image_29092025_20_34_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/936941f2b624c0e7d423cdf941cf80d7.jpg","text":"TemporaryFile(/tmp/multipartBody3182354471909682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171084695,"filename":"image_29092025_20_34_25_10772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b6bf4a6bd01805dfff946432ecef5d7a.jpg","text":"TemporaryFile(/tmp/multipartBody3998919655390977199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171084695,"filename":"image_29092025_20_34_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/9/29/8698f6d219e6f0ef5e8966a736394fe8.jpg","text":"TemporaryFile(/tmp/multipartBody3293051747978605694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171084695,"filename":"image_29092025_20_34_44_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f20732f622ce3c12837b43f86ea994f9.jpg","text":"TemporaryFile(/tmp/multipartBody6581472854724735582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171084695,"filename":"image_29092025_20_34_35_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386788886","file1":"1386788882","file0":"1386788877","file4":"1386788895","file5":"1386788900","file3":"1386788890"},"map_files_photo_id_array":[{"photo_id":"1386788900","filename":"file5"},{"photo_id":"1386788886","filename":"file2"},{"photo_id":"1386788895","filename":"file4"},{"photo_id":"1386788882","filename":"file1"},{"photo_id":"1386788877","filename":"file0"},{"photo_id":"1386788890","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386788900":["hashtag1","hashtag2"]},{"1386788890":["hashtag1","hashtag2"]},{"1386788886":["hashtag1","hashtag2"]},{"1386788895":["hashtag1","hashtag2"]},{"1386788877":["hashtag1","hashtag2"]},{"1386788882":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386788900, 1386788890, 1386788886, 1386788895, 1386788877, 1386788882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.277520418167114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:37:46.859526
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_44_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_35_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_24_9697.jpg', 2), ('/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/20/36/image_29092025_20_37_05_10733.jpg', 2), ('/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_44_9676.jpg', '/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_35_10667.jpg', '/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_24_9697.jpg', '/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_14_9660.jpg', '/home/nano/Desktop/images/29092025/20/36/image_29092025_20_37_05_10733.jpg', '/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_44_9676.jpg
/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_35_10667.jpg
/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_24_9697.jpg
/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_14_9660.jpg
/home/nano/Desktop/images/29092025/20/36/image_29092025_20_37_05_10733.jpg
/home/nano/Desktop/images/29092025/20/36/image_29092025_20_36_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":["1386788941","1386788920","1386788937","1386788925","1386788930","1386788933"],"photo_ids_order":["1386788920","1386788925","1386788930","1386788933","1386788937","1386788941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5ee9edb7aaaa231c6b94a28555516a9c.jpg","text":"TemporaryFile(/tmp/multipartBody6881666738204234103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171128480,"filename":"image_29092025_20_36_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/9/29/ebd74ada2df58e69a3244bbcc8977204.jpg","text":"TemporaryFile(/tmp/multipartBody6977685213961675513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171128480,"filename":"image_29092025_20_37_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c1385c86ee7d2bb89a2a2167083ada59.jpg","text":"TemporaryFile(/tmp/multipartBody6419761920279528643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171128480,"filename":"image_29092025_20_37_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/23accd5885efb7b4405a18a761354789.jpg","text":"TemporaryFile(/tmp/multipartBody1860294610608699846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171128480,"filename":"image_29092025_20_37_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/74a0c4de00fae03ae1806f565bc9c4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8540328810902352173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171128480,"filename":"image_29092025_20_37_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e576fbe1238680e2f5de6e6634b31907.jpg","text":"TemporaryFile(/tmp/multipartBody7018756799633821805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171128480,"filename":"image_29092025_20_37_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386788930","file1":"1386788925","file0":"1386788920","file4":"1386788937","file5":"1386788941","file3":"1386788933"},"map_files_photo_id_array":[{"photo_id":"1386788941","filename":"file5"},{"photo_id":"1386788930","filename":"file2"},{"photo_id":"1386788937","filename":"file4"},{"photo_id":"1386788925","filename":"file1"},{"photo_id":"1386788920","filename":"file0"},{"photo_id":"1386788933","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386788941":["hashtag1","hashtag2"]},{"1386788920":["hashtag1","hashtag2"]},{"1386788937":["hashtag1","hashtag2"]},{"1386788925":["hashtag1","hashtag2"]},{"1386788930":["hashtag1","hashtag2"]},{"1386788933":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386788941, 1386788920, 1386788937, 1386788925, 1386788930, 1386788933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.519468545913696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:38:31.966106
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_44_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_35_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_24_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_14_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/20/37/image_29092025_20_38_05_10711.jpg', 2), ('/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_44_9640.jpg', '/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_35_10667.jpg', '/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_24_9652.jpg', '/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_14_9668.jpg', '/home/nano/Desktop/images/29092025/20/37/image_29092025_20_38_05_10711.jpg', '/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_44_9640.jpg
/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_35_10667.jpg
/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_24_9652.jpg
/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_14_9668.jpg
/home/nano/Desktop/images/29092025/20/37/image_29092025_20_38_05_10711.jpg
/home/nano/Desktop/images/29092025/20/37/image_29092025_20_37_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":["1386788986","1386788980","1386788983","1386788962","1386788965","1386788958"],"photo_ids_order":["1386788958","1386788962","1386788965","1386788980","1386788983","1386788986"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8bf2ba8bfe182be12f2ec329a4ffc1cc.jpg","text":"TemporaryFile(/tmp/multipartBody2976399148857932034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171173734,"filename":"image_29092025_20_37_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/9/29/0752f17f5c254d0e1098b66a721a328e.jpg","text":"TemporaryFile(/tmp/multipartBody2945951000085499588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171173734,"filename":"image_29092025_20_38_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/9/29/bc2b09cde16d1bce43f73d023fa57839.jpg","text":"TemporaryFile(/tmp/multipartBody3474853873801577707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171173734,"filename":"image_29092025_20_38_05_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/adfb8856c8a7c7713dbf683e22053b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3041534483558113574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171173734,"filename":"image_29092025_20_38_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6fbfa49a1890d1f70aecc9aa895d3ef1.jpg","text":"TemporaryFile(/tmp/multipartBody6220544535779242194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171173734,"filename":"image_29092025_20_38_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/779d88eeadb25f4c69c7c2cd4449316e.jpg","text":"TemporaryFile(/tmp/multipartBody759050663288836103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171173734,"filename":"image_29092025_20_38_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386788965","file1":"1386788962","file0":"1386788958","file4":"1386788983","file5":"1386788986","file3":"1386788980"},"map_files_photo_id_array":[{"photo_id":"1386788986","filename":"file5"},{"photo_id":"1386788965","filename":"file2"},{"photo_id":"1386788983","filename":"file4"},{"photo_id":"1386788962","filename":"file1"},{"photo_id":"1386788958","filename":"file0"},{"photo_id":"1386788980","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386788986":["hashtag1","hashtag2"]},{"1386788980":["hashtag1","hashtag2"]},{"1386788983":["hashtag1","hashtag2"]},{"1386788962":["hashtag1","hashtag2"]},{"1386788965":["hashtag1","hashtag2"]},{"1386788958":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386788986, 1386788980, 1386788983, 1386788962, 1386788965, 1386788958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4517765045166 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:39:17.092144
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_44_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_35_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_24_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_14_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/20/38/image_29092025_20_39_05_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_54_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_44_9647.jpg', '/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_35_10672.jpg', '/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_24_9646.jpg', '/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_14_9654.jpg', '/home/nano/Desktop/images/29092025/20/38/image_29092025_20_39_05_10669.jpg', '/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_44_9647.jpg
/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_35_10672.jpg
/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_24_9646.jpg
/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_14_9654.jpg
/home/nano/Desktop/images/29092025/20/38/image_29092025_20_39_05_10669.jpg
/home/nano/Desktop/images/29092025/20/38/image_29092025_20_38_54_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789022","1386789019","1386789000","1386789012","1386789006","1386789017"],"photo_ids_order":["1386789000","1386789006","1386789012","1386789017","1386789019","1386789022"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/43ce45cdc23ce3f698e909c014cd0ab0.jpg","text":"TemporaryFile(/tmp/multipartBody9121541405375735542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171218926,"filename":"image_29092025_20_38_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8be47f24cfee9b808662924ffc6256f1.jpg","text":"TemporaryFile(/tmp/multipartBody3533421813846690806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171218926,"filename":"image_29092025_20_39_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/9/29/69b25b39c2e1581f06fe01fe3ba95e44.jpg","text":"TemporaryFile(/tmp/multipartBody4488000757353052506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171218926,"filename":"image_29092025_20_39_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5c111c70bfb00a08550911354fcb520c.jpg","text":"TemporaryFile(/tmp/multipartBody7689088778254991322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171218926,"filename":"image_29092025_20_39_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e13c0f35f0a09946706c9fdad8c4bbcb.jpg","text":"TemporaryFile(/tmp/multipartBody6843902114141728674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171218926,"filename":"image_29092025_20_39_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5aea87cc30d9faa055a8a8eec71f364d.jpg","text":"TemporaryFile(/tmp/multipartBody6341239768415967795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171218926,"filename":"image_29092025_20_39_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789012","file1":"1386789006","file0":"1386789000","file4":"1386789019","file5":"1386789022","file3":"1386789017"},"map_files_photo_id_array":[{"photo_id":"1386789022","filename":"file5"},{"photo_id":"1386789012","filename":"file2"},{"photo_id":"1386789019","filename":"file4"},{"photo_id":"1386789006","filename":"file1"},{"photo_id":"1386789000","filename":"file0"},{"photo_id":"1386789017","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789022":["hashtag1","hashtag2"]},{"1386789019":["hashtag1","hashtag2"]},{"1386789000":["hashtag1","hashtag2"]},{"1386789012":["hashtag1","hashtag2"]},{"1386789006":["hashtag1","hashtag2"]},{"1386789017":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789022, 1386789019, 1386789000, 1386789012, 1386789006, 1386789017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5972638130188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:40:02.686230
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_45_10817.jpg', 2), ('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_34_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_24_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_15_10698.jpg', 2), ('/home/nano/Desktop/images/29092025/20/32/image_29092025_20_33_04_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_54_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_45_10817.jpg', '/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_34_9682.jpg', '/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_24_9651.jpg', '/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_15_10698.jpg', '/home/nano/Desktop/images/29092025/20/32/image_29092025_20_33_04_9676.jpg', '/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_45_10817.jpg
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_34_9682.jpg
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_24_9651.jpg
/home/nano/Desktop/images/29092025/20/33/image_29092025_20_33_15_10698.jpg
/home/nano/Desktop/images/29092025/20/32/image_29092025_20_33_04_9676.jpg
/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_54_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789052","1386789034","1386789048","1386789041","1386789044","1386789038"],"photo_ids_order":["1386789034","1386789038","1386789041","1386789044","1386789048","1386789052"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0cafe4647eb9f7915d67b50e543d4dc3.jpg","text":"TemporaryFile(/tmp/multipartBody129476284547071295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171264669,"filename":"image_29092025_20_32_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8525b44a9702c09b39cf4450c00e1c88.jpg","text":"TemporaryFile(/tmp/multipartBody4386728947537170322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171264669,"filename":"image_29092025_20_33_45_10817.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/18907565919c4687a8ade4b660688cba.jpg","text":"TemporaryFile(/tmp/multipartBody3740601342722569219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171264669,"filename":"image_29092025_20_33_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/9/29/e296ccf2d999f275f3755cbc0016f615.jpg","text":"TemporaryFile(/tmp/multipartBody7554641102434200393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171264669,"filename":"image_29092025_20_33_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/80582c66f77a66fa8801bb23a68b6fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5567913434772335270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171264669,"filename":"image_29092025_20_33_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/42d38c41a9eb2a1729bb0e8c930f988c.jpg","text":"TemporaryFile(/tmp/multipartBody774978749452263450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171264669,"filename":"image_29092025_20_33_34_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789041","file1":"1386789038","file0":"1386789034","file4":"1386789048","file5":"1386789052","file3":"1386789044"},"map_files_photo_id_array":[{"photo_id":"1386789052","filename":"file5"},{"photo_id":"1386789041","filename":"file2"},{"photo_id":"1386789048","filename":"file4"},{"photo_id":"1386789038","filename":"file1"},{"photo_id":"1386789034","filename":"file0"},{"photo_id":"1386789044","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789052":["hashtag1","hashtag2"]},{"1386789034":["hashtag1","hashtag2"]},{"1386789048":["hashtag1","hashtag2"]},{"1386789041":["hashtag1","hashtag2"]},{"1386789044":["hashtag1","hashtag2"]},{"1386789038":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789052, 1386789034, 1386789048, 1386789041, 1386789044, 1386789038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04474139213562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:40:47.139224
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_44_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_35_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_24_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/20/39/image_29092025_20_40_05_10696.jpg', 2), ('/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_44_9647.jpg', '/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_35_10650.jpg', '/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_24_9634.jpg', '/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_14_9671.jpg', '/home/nano/Desktop/images/29092025/20/39/image_29092025_20_40_05_10696.jpg', '/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_44_9647.jpg
/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_35_10650.jpg
/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_24_9634.jpg
/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_14_9671.jpg
/home/nano/Desktop/images/29092025/20/39/image_29092025_20_40_05_10696.jpg
/home/nano/Desktop/images/29092025/20/39/image_29092025_20_39_54_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789094","1386789084","1386789087","1386789075","1386789080","1386789091"],"photo_ids_order":["1386789075","1386789080","1386789084","1386789087","1386789091","1386789094"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cf73f43aa5468c659cec576521992153.jpg","text":"TemporaryFile(/tmp/multipartBody8075398114739235446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171308638,"filename":"image_29092025_20_39_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/93f6a5cc7838b9bdc388fc44ef22b84f.jpg","text":"TemporaryFile(/tmp/multipartBody7449832129522320996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171308638,"filename":"image_29092025_20_40_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f1adc07c6a80a2c3999c8c2e705466a1.jpg","text":"TemporaryFile(/tmp/multipartBody6904357513691721153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171308638,"filename":"image_29092025_20_40_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/9/29/abea509fe9062333cf5faeecc75a0b74.jpg","text":"TemporaryFile(/tmp/multipartBody7167300257822765897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171308638,"filename":"image_29092025_20_40_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5d3595e5e9043e7ee97fb8df58dc4e85.jpg","text":"TemporaryFile(/tmp/multipartBody8776343035534077072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171308638,"filename":"image_29092025_20_40_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/9/29/df0c145d099ffa27adc492b66175a097.jpg","text":"TemporaryFile(/tmp/multipartBody4942496656492245107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171308638,"filename":"image_29092025_20_40_05_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789084","file1":"1386789080","file0":"1386789075","file4":"1386789091","file5":"1386789094","file3":"1386789087"},"map_files_photo_id_array":[{"photo_id":"1386789094","filename":"file5"},{"photo_id":"1386789084","filename":"file2"},{"photo_id":"1386789091","filename":"file4"},{"photo_id":"1386789080","filename":"file1"},{"photo_id":"1386789075","filename":"file0"},{"photo_id":"1386789087","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789094":["hashtag1","hashtag2"]},{"1386789084":["hashtag1","hashtag2"]},{"1386789087":["hashtag1","hashtag2"]},{"1386789075":["hashtag1","hashtag2"]},{"1386789080":["hashtag1","hashtag2"]},{"1386789091":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789094, 1386789084, 1386789087, 1386789075, 1386789080, 1386789091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.833412408828735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:41:32.271166
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_44_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_35_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_24_9711.jpg', 2), ('/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_14_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/20/40/image_29092025_20_41_05_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_55_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_44_9631.jpg', '/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_35_10655.jpg', '/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_24_9711.jpg', '/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_14_9668.jpg', '/home/nano/Desktop/images/29092025/20/40/image_29092025_20_41_05_9656.jpg', '/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_44_9631.jpg
/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_35_10655.jpg
/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_24_9711.jpg
/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_14_9668.jpg
/home/nano/Desktop/images/29092025/20/40/image_29092025_20_41_05_9656.jpg
/home/nano/Desktop/images/29092025/20/40/image_29092025_20_40_55_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":["1386789118","1386789112","1386789144","1386789141","1386789108","1386789140"],"photo_ids_order":["1386789108","1386789112","1386789118","1386789140","1386789141","1386789144"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3a59d333db8710016d9510d52e091985.jpg","text":"TemporaryFile(/tmp/multipartBody6708965467528947891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171353741,"filename":"image_29092025_20_41_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/708db84db7af19f9c7807050076c2c60.jpg","text":"TemporaryFile(/tmp/multipartBody2554164225503716325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171353741,"filename":"image_29092025_20_41_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/765f91981a749ed4c4ec7f5ba6c1e6e0.jpg","text":"TemporaryFile(/tmp/multipartBody1628505082784732990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171353741,"filename":"image_29092025_20_40_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0baabc1c070a261e2dd6a5bd3cb211d9.jpg","text":"TemporaryFile(/tmp/multipartBody6043774807429083130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171353741,"filename":"image_29092025_20_41_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/134b0b4f4c7190908347786918d12069.jpg","text":"TemporaryFile(/tmp/multipartBody537301148361587120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171353741,"filename":"image_29092025_20_41_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c9c7d1f346a7625d3b477a19367f89fb.jpg","text":"TemporaryFile(/tmp/multipartBody338250174416011685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171353741,"filename":"image_29092025_20_41_14_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789118","file1":"1386789112","file0":"1386789108","file4":"1386789141","file5":"1386789144","file3":"1386789140"},"map_files_photo_id_array":[{"photo_id":"1386789144","filename":"file5"},{"photo_id":"1386789118","filename":"file2"},{"photo_id":"1386789141","filename":"file4"},{"photo_id":"1386789112","filename":"file1"},{"photo_id":"1386789108","filename":"file0"},{"photo_id":"1386789140","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789118":["hashtag1","hashtag2"]},{"1386789112":["hashtag1","hashtag2"]},{"1386789144":["hashtag1","hashtag2"]},{"1386789141":["hashtag1","hashtag2"]},{"1386789108":["hashtag1","hashtag2"]},{"1386789140":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789118, 1386789112, 1386789144, 1386789141, 1386789108, 1386789140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66093111038208 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:42:17.350649
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_44_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_34_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_25_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/20/41/image_29092025_20_42_05_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_55_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_44_9628.jpg', '/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_34_9631.jpg', '/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_25_10635.jpg', '/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_14_9661.jpg', '/home/nano/Desktop/images/29092025/20/41/image_29092025_20_42_05_9640.jpg', '/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_55_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_44_9628.jpg
/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_34_9631.jpg
/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_25_10635.jpg
/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_14_9661.jpg
/home/nano/Desktop/images/29092025/20/41/image_29092025_20_42_05_9640.jpg
/home/nano/Desktop/images/29092025/20/41/image_29092025_20_41_55_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789193","1386789238","1386789179","1386789230","1386789190","1386789184"],"photo_ids_order":["1386789179","1386789184","1386789190","1386789193","1386789230","1386789238"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/92ebadecab60d1e9858eb0ff1d52c4a0.jpg","text":"TemporaryFile(/tmp/multipartBody8445520436823962699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171399443,"filename":"image_29092025_20_42_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/9/29/4cb1fd1949706ed02872a43468d74721.jpg","text":"TemporaryFile(/tmp/multipartBody1626948011586301396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171399443,"filename":"image_29092025_20_41_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/983819ba1a8149301a05b3e151f3f31f.jpg","text":"TemporaryFile(/tmp/multipartBody1316542951305357875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171399443,"filename":"image_29092025_20_42_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/10cb72a4e03306add314758d975075af.jpg","text":"TemporaryFile(/tmp/multipartBody7478866993862482354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171399443,"filename":"image_29092025_20_42_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/766df8ddb06432f6d5cc29e0bad9928d.jpg","text":"TemporaryFile(/tmp/multipartBody2370747496151506793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171399443,"filename":"image_29092025_20_42_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7746ce1fe295f86eb55d9335da65b7b4.jpg","text":"TemporaryFile(/tmp/multipartBody8666339543723507261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171399443,"filename":"image_29092025_20_42_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789190","file1":"1386789184","file0":"1386789179","file4":"1386789230","file5":"1386789238","file3":"1386789193"},"map_files_photo_id_array":[{"photo_id":"1386789238","filename":"file5"},{"photo_id":"1386789190","filename":"file2"},{"photo_id":"1386789230","filename":"file4"},{"photo_id":"1386789184","filename":"file1"},{"photo_id":"1386789179","filename":"file0"},{"photo_id":"1386789193","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789193":["hashtag1","hashtag2"]},{"1386789238":["hashtag1","hashtag2"]},{"1386789179":["hashtag1","hashtag2"]},{"1386789230":["hashtag1","hashtag2"]},{"1386789190":["hashtag1","hashtag2"]},{"1386789184":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789193, 1386789238, 1386789179, 1386789230, 1386789190, 1386789184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71285629272461 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:43:03.083047
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_45_10692.jpg', 2), ('/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_34_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_24_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_15_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/20/31/image_29092025_20_32_04_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_54_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_45_10692.jpg', '/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_34_9666.jpg', '/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_24_9665.jpg', '/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_15_10674.jpg', '/home/nano/Desktop/images/29092025/20/31/image_29092025_20_32_04_9682.jpg', '/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_54_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_45_10692.jpg
/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_34_9666.jpg
/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_24_9665.jpg
/home/nano/Desktop/images/29092025/20/32/image_29092025_20_32_15_10674.jpg
/home/nano/Desktop/images/29092025/20/31/image_29092025_20_32_04_9682.jpg
/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_54_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789256","1386789261","1386789252","1386789266","1386789248","1386789245"],"photo_ids_order":["1386789245","1386789248","1386789252","1386789256","1386789261","1386789266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f7953f785bccc9e250f29af639448dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5090861219153020074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171444885,"filename":"image_29092025_20_32_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/59a273551574fd3232f269b617a2eb3c.jpg","text":"TemporaryFile(/tmp/multipartBody8430601312704028274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171444885,"filename":"image_29092025_20_32_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ac3b9a916e1a7574cbaaf2f52e38262f.jpg","text":"TemporaryFile(/tmp/multipartBody4497187551114075171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171444885,"filename":"image_29092025_20_32_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f8751378c28b74382cdc821161df37fb.jpg","text":"TemporaryFile(/tmp/multipartBody4533386276677781390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171444885,"filename":"image_29092025_20_31_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e21a3bda02ee5d879a56e4d62a3d2d3b.jpg","text":"TemporaryFile(/tmp/multipartBody1026432263616826179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171444885,"filename":"image_29092025_20_32_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d7bd99cc35ea0bd883f29a580262d85c.jpg","text":"TemporaryFile(/tmp/multipartBody728738098681078034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171444885,"filename":"image_29092025_20_32_45_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789252","file1":"1386789248","file0":"1386789245","file4":"1386789261","file5":"1386789266","file3":"1386789256"},"map_files_photo_id_array":[{"photo_id":"1386789266","filename":"file5"},{"photo_id":"1386789252","filename":"file2"},{"photo_id":"1386789261","filename":"file4"},{"photo_id":"1386789248","filename":"file1"},{"photo_id":"1386789245","filename":"file0"},{"photo_id":"1386789256","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789256":["hashtag1","hashtag2"]},{"1386789261":["hashtag1","hashtag2"]},{"1386789252":["hashtag1","hashtag2"]},{"1386789266":["hashtag1","hashtag2"]},{"1386789248":["hashtag1","hashtag2"]},{"1386789245":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789256, 1386789261, 1386789252, 1386789266, 1386789248, 1386789245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03033208847046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:43:47.516000
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_44_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_34_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_25_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_14_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/20/42/image_29092025_20_43_04_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_44_9624.jpg', '/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_34_9617.jpg', '/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_25_10643.jpg', '/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_14_9666.jpg', '/home/nano/Desktop/images/29092025/20/42/image_29092025_20_43_04_9671.jpg', '/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_44_9624.jpg
/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_34_9617.jpg
/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_25_10643.jpg
/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_14_9666.jpg
/home/nano/Desktop/images/29092025/20/42/image_29092025_20_43_04_9671.jpg
/home/nano/Desktop/images/29092025/20/42/image_29092025_20_42_55_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789286","1386789291","1386789276","1386789279","1386789281","1386789277"],"photo_ids_order":["1386789276","1386789277","1386789279","1386789281","1386789286","1386789291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a24c7cb17670aefab8b23a34bc31802c.jpg","text":"TemporaryFile(/tmp/multipartBody8051506400546882899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171489059,"filename":"image_29092025_20_43_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/9/29/337ee9b8a4216789aa7d78188f5e8360.jpg","text":"TemporaryFile(/tmp/multipartBody3159271123773239137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171489059,"filename":"image_29092025_20_42_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/20bbed87d0919e42d0e43e0b294fba9c.jpg","text":"TemporaryFile(/tmp/multipartBody8553270027170537408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171489059,"filename":"image_29092025_20_43_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4f719d630f21ffd462d4c21311be274b.jpg","text":"TemporaryFile(/tmp/multipartBody5687436673480203051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171489059,"filename":"image_29092025_20_43_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ce128c549d7e4aa1653f398e9be843a3.jpg","text":"TemporaryFile(/tmp/multipartBody6166038701741370616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171489059,"filename":"image_29092025_20_43_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/9/29/56e5446b8496b361824eb27be1ce91b4.jpg","text":"TemporaryFile(/tmp/multipartBody7383376287365147550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171489059,"filename":"image_29092025_20_43_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789279","file1":"1386789277","file0":"1386789276","file4":"1386789286","file5":"1386789291","file3":"1386789281"},"map_files_photo_id_array":[{"photo_id":"1386789291","filename":"file5"},{"photo_id":"1386789279","filename":"file2"},{"photo_id":"1386789286","filename":"file4"},{"photo_id":"1386789277","filename":"file1"},{"photo_id":"1386789276","filename":"file0"},{"photo_id":"1386789281","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789286":["hashtag1","hashtag2"]},{"1386789291":["hashtag1","hashtag2"]},{"1386789276":["hashtag1","hashtag2"]},{"1386789279":["hashtag1","hashtag2"]},{"1386789281":["hashtag1","hashtag2"]},{"1386789277":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789286, 1386789291, 1386789276, 1386789279, 1386789281, 1386789277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81511855125427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:44:32.615469
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_45_10645.jpg', 2), ('/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_34_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_25_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_15_10680.jpg', 2), ('/home/nano/Desktop/images/29092025/20/43/image_29092025_20_44_04_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_55_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_45_10645.jpg', '/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_34_9639.jpg', '/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_25_9650.jpg', '/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_15_10680.jpg', '/home/nano/Desktop/images/29092025/20/43/image_29092025_20_44_04_9653.jpg', '/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_55_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_45_10645.jpg
/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_34_9639.jpg
/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_25_9650.jpg
/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_15_10680.jpg
/home/nano/Desktop/images/29092025/20/43/image_29092025_20_44_04_9653.jpg
/home/nano/Desktop/images/29092025/20/43/image_29092025_20_43_55_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789336","1386789333","1386789312","1386789315","1386789309","1386789329"],"photo_ids_order":["1386789309","1386789312","1386789315","1386789329","1386789333","1386789336"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b994a0a1b6800ab80f2d2c7024336a68.jpg","text":"TemporaryFile(/tmp/multipartBody5086949637541059319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171534411,"filename":"image_29092025_20_43_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c518845ab16bd0921d035e6270e0f9ac.jpg","text":"TemporaryFile(/tmp/multipartBody4413085785654997741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171534411,"filename":"image_29092025_20_44_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/9/29/43d890b4b4cadacdffdd6e1077fa3095.jpg","text":"TemporaryFile(/tmp/multipartBody6293568580982321644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171534411,"filename":"image_29092025_20_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/9/29/c05cad62aaa45028e297c5d8c194b1cb.jpg","text":"TemporaryFile(/tmp/multipartBody8565869628578334213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171534411,"filename":"image_29092025_20_44_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/55758cf2714a3978fb726e3ddb1a8aac.jpg","text":"TemporaryFile(/tmp/multipartBody5052301629163590161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171534411,"filename":"image_29092025_20_44_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6898971792acb1274682d09742eefec1.jpg","text":"TemporaryFile(/tmp/multipartBody172846636668276900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171534411,"filename":"image_29092025_20_44_15_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789315","file1":"1386789312","file0":"1386789309","file4":"1386789333","file5":"1386789336","file3":"1386789329"},"map_files_photo_id_array":[{"photo_id":"1386789336","filename":"file5"},{"photo_id":"1386789315","filename":"file2"},{"photo_id":"1386789333","filename":"file4"},{"photo_id":"1386789312","filename":"file1"},{"photo_id":"1386789309","filename":"file0"},{"photo_id":"1386789329","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789336":["hashtag1","hashtag2"]},{"1386789333":["hashtag1","hashtag2"]},{"1386789312":["hashtag1","hashtag2"]},{"1386789315":["hashtag1","hashtag2"]},{"1386789309":["hashtag1","hashtag2"]},{"1386789329":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789336, 1386789333, 1386789312, 1386789315, 1386789309, 1386789329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1097207069397 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:45:17.736634
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_45_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_34_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_24_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_15_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/20/44/image_29092025_20_45_04_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_45_10657.jpg', '/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_34_9619.jpg', '/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_24_9637.jpg', '/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_15_10659.jpg', '/home/nano/Desktop/images/29092025/20/44/image_29092025_20_45_04_9633.jpg', '/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_45_10657.jpg
/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_34_9619.jpg
/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_24_9637.jpg
/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_15_10659.jpg
/home/nano/Desktop/images/29092025/20/44/image_29092025_20_45_04_9633.jpg
/home/nano/Desktop/images/29092025/20/44/image_29092025_20_44_54_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789358","1386789363","1386789366","1386789348","1386789368","1386789353"],"photo_ids_order":["1386789348","1386789353","1386789358","1386789363","1386789366","1386789368"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ffc21fdb7b266729c8b48fe73b0885f3.jpg","text":"TemporaryFile(/tmp/multipartBody6975204088121527315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171579321,"filename":"image_29092025_20_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/9/29/957d2891f5a974f5a4a391ce85e04b12.jpg","text":"TemporaryFile(/tmp/multipartBody2276684251566949694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171579321,"filename":"image_29092025_20_45_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f1addd61f9a35e1f82b5ee2921f86b08.jpg","text":"TemporaryFile(/tmp/multipartBody365414731784052794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171579321,"filename":"image_29092025_20_45_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c9295797295aa273cd4d0023ac74f325.jpg","text":"TemporaryFile(/tmp/multipartBody3622894907292780893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171579321,"filename":"image_29092025_20_45_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/91396e0e908d3099bcd8866585a9bc95.jpg","text":"TemporaryFile(/tmp/multipartBody4925847463730562469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171579321,"filename":"image_29092025_20_44_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/9/29/a601c7456b13981aa3a78a2011675074.jpg","text":"TemporaryFile(/tmp/multipartBody819176909256018732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171579321,"filename":"image_29092025_20_45_34_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789358","file1":"1386789353","file0":"1386789348","file4":"1386789366","file5":"1386789368","file3":"1386789363"},"map_files_photo_id_array":[{"photo_id":"1386789368","filename":"file5"},{"photo_id":"1386789358","filename":"file2"},{"photo_id":"1386789366","filename":"file4"},{"photo_id":"1386789353","filename":"file1"},{"photo_id":"1386789348","filename":"file0"},{"photo_id":"1386789363","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789358":["hashtag1","hashtag2"]},{"1386789363":["hashtag1","hashtag2"]},{"1386789366":["hashtag1","hashtag2"]},{"1386789348":["hashtag1","hashtag2"]},{"1386789368":["hashtag1","hashtag2"]},{"1386789353":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789358, 1386789363, 1386789366, 1386789348, 1386789368, 1386789353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.897189140319824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:46:02.353906
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_45_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_24_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_15_10690.jpg', 2), ('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_31_04_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_54_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_45_10665.jpg', '/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_34_9658.jpg', '/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_24_9677.jpg', '/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_15_10690.jpg', '/home/nano/Desktop/images/29092025/20/30/image_29092025_20_31_04_9681.jpg', '/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_45_10665.jpg
/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_34_9658.jpg
/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_24_9677.jpg
/home/nano/Desktop/images/29092025/20/31/image_29092025_20_31_15_10690.jpg
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_31_04_9681.jpg
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_54_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":["1386789430","1386789454","1386789444","1386789414","1386789386","1386789380"],"photo_ids_order":["1386789380","1386789386","1386789414","1386789430","1386789444","1386789454"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a5c2ddc9c8ca511314ed6c7affa52bcb.jpg","text":"TemporaryFile(/tmp/multipartBody146810760517859315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171624162,"filename":"image_29092025_20_31_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6d6e2a9b960f46bc3ef1e5a42e2b8624.jpg","text":"TemporaryFile(/tmp/multipartBody7749992349459730029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171624162,"filename":"image_29092025_20_30_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/64106115afc0fcf83942f8df71a8b310.jpg","text":"TemporaryFile(/tmp/multipartBody3937710986753531068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171624162,"filename":"image_29092025_20_31_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f3a62c251434f96f0ba56bee69a9416d.jpg","text":"TemporaryFile(/tmp/multipartBody8276016886749616229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171624162,"filename":"image_29092025_20_31_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a543392da17b15ac1e05eda417ee3348.jpg","text":"TemporaryFile(/tmp/multipartBody4159029509179717516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171624162,"filename":"image_29092025_20_31_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/9/29/562b0aed400a947183ebdf70f2539755.jpg","text":"TemporaryFile(/tmp/multipartBody4740918924379925466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171624162,"filename":"image_29092025_20_31_45_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789414","file1":"1386789386","file0":"1386789380","file4":"1386789444","file5":"1386789454","file3":"1386789430"},"map_files_photo_id_array":[{"photo_id":"1386789454","filename":"file5"},{"photo_id":"1386789414","filename":"file2"},{"photo_id":"1386789444","filename":"file4"},{"photo_id":"1386789386","filename":"file1"},{"photo_id":"1386789380","filename":"file0"},{"photo_id":"1386789430","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789430":["hashtag1","hashtag2"]},{"1386789454":["hashtag1","hashtag2"]},{"1386789444":["hashtag1","hashtag2"]},{"1386789414":["hashtag1","hashtag2"]},{"1386789386":["hashtag1","hashtag2"]},{"1386789380":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789430, 1386789454, 1386789444, 1386789414, 1386789386, 1386789380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.348961353302 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:46:46.922305
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_45_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_35_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_24_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_15_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/20/45/image_29092025_20_46_04_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_54_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_45_9625.jpg', '/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_35_10644.jpg', '/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_24_9634.jpg', '/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_15_10666.jpg', '/home/nano/Desktop/images/29092025/20/45/image_29092025_20_46_04_9657.jpg', '/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_45_9625.jpg
/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_35_10644.jpg
/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_24_9634.jpg
/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_15_10666.jpg
/home/nano/Desktop/images/29092025/20/45/image_29092025_20_46_04_9657.jpg
/home/nano/Desktop/images/29092025/20/45/image_29092025_20_45_54_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789495","1386789504","1386789491","1386789500","1386789493","1386789487"],"photo_ids_order":["1386789487","1386789491","1386789493","1386789495","1386789500","1386789504"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e2f945599db0ee07be47486cf7d1e24a.jpg","text":"TemporaryFile(/tmp/multipartBody898305741336994165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171668434,"filename":"image_29092025_20_46_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/9/29/4058eba8353d4bdfff3cacd8d44ad0df.jpg","text":"TemporaryFile(/tmp/multipartBody9110068664654827301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171668434,"filename":"image_29092025_20_45_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7c0eed8441b240fdd5cb0e02be93eeff.jpg","text":"TemporaryFile(/tmp/multipartBody1789083636233511638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171668434,"filename":"image_29092025_20_46_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ec5105b47e9b3fb61553708ba1c520e2.jpg","text":"TemporaryFile(/tmp/multipartBody8059242656489763888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171668434,"filename":"image_29092025_20_46_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/9/29/4dd3dbb41a09387c8b1df12a25a4d28a.jpg","text":"TemporaryFile(/tmp/multipartBody3787032836029834828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171668434,"filename":"image_29092025_20_46_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d85f941c08787fd95d75f81630d94468.jpg","text":"TemporaryFile(/tmp/multipartBody7427021390336468902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171668434,"filename":"image_29092025_20_46_45_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789493","file1":"1386789491","file0":"1386789487","file4":"1386789500","file5":"1386789504","file3":"1386789495"},"map_files_photo_id_array":[{"photo_id":"1386789504","filename":"file5"},{"photo_id":"1386789493","filename":"file2"},{"photo_id":"1386789500","filename":"file4"},{"photo_id":"1386789491","filename":"file1"},{"photo_id":"1386789487","filename":"file0"},{"photo_id":"1386789495","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789495":["hashtag1","hashtag2"]},{"1386789504":["hashtag1","hashtag2"]},{"1386789491":["hashtag1","hashtag2"]},{"1386789500":["hashtag1","hashtag2"]},{"1386789493":["hashtag1","hashtag2"]},{"1386789487":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789495, 1386789504, 1386789491, 1386789500, 1386789493, 1386789487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92428231239319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:47:32.008232
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_44_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_35_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_24_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_14_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/20/46/image_29092025_20_47_05_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_44_9617.jpg', '/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_35_10673.jpg', '/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_24_9622.jpg', '/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_14_9647.jpg', '/home/nano/Desktop/images/29092025/20/46/image_29092025_20_47_05_10654.jpg', '/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_44_9617.jpg
/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_35_10673.jpg
/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_24_9622.jpg
/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_14_9647.jpg
/home/nano/Desktop/images/29092025/20/46/image_29092025_20_47_05_10654.jpg
/home/nano/Desktop/images/29092025/20/46/image_29092025_20_46_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789541","1386789544","1386789523","1386789520","1386789528","1386789548"],"photo_ids_order":["1386789520","1386789523","1386789528","1386789541","1386789544","1386789548"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bd46828c9340bd2f107b2620157b84ab.jpg","text":"TemporaryFile(/tmp/multipartBody4536581895899787914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171714165,"filename":"image_29092025_20_47_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/92fdb02b346b631c050dd8566e28db20.jpg","text":"TemporaryFile(/tmp/multipartBody8503974187699848232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171714165,"filename":"image_29092025_20_47_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/9/29/a0f4b8e3f0f25796e68f5f56a376d7a3.jpg","text":"TemporaryFile(/tmp/multipartBody1389745149700238437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171714165,"filename":"image_29092025_20_47_35_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d66cb743d1e20734f2813e8346478fda.jpg","text":"TemporaryFile(/tmp/multipartBody9046752712912396912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171714165,"filename":"image_29092025_20_47_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/00203327a5c95f6810fe18e8621c4ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2684130159276762242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171714165,"filename":"image_29092025_20_47_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/62d866230bd6e5884bf8729d93a0818c.jpg","text":"TemporaryFile(/tmp/multipartBody4570966908978436574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171714165,"filename":"image_29092025_20_46_54_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789528","file1":"1386789523","file0":"1386789520","file4":"1386789544","file5":"1386789548","file3":"1386789541"},"map_files_photo_id_array":[{"photo_id":"1386789548","filename":"file5"},{"photo_id":"1386789528","filename":"file2"},{"photo_id":"1386789544","filename":"file4"},{"photo_id":"1386789523","filename":"file1"},{"photo_id":"1386789520","filename":"file0"},{"photo_id":"1386789541","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789541":["hashtag1","hashtag2"]},{"1386789544":["hashtag1","hashtag2"]},{"1386789523":["hashtag1","hashtag2"]},{"1386789520":["hashtag1","hashtag2"]},{"1386789528":["hashtag1","hashtag2"]},{"1386789548":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789541, 1386789544, 1386789523, 1386789520, 1386789528, 1386789548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99475860595703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:48:17.110305
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_44_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_35_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_24_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_14_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/20/47/image_29092025_20_48_05_10724.jpg', 2), ('/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_44_9637.jpg', '/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_35_10644.jpg', '/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_24_9650.jpg', '/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_14_9668.jpg', '/home/nano/Desktop/images/29092025/20/47/image_29092025_20_48_05_10724.jpg', '/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_44_9637.jpg
/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_35_10644.jpg
/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_24_9650.jpg
/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_14_9668.jpg
/home/nano/Desktop/images/29092025/20/47/image_29092025_20_48_05_10724.jpg
/home/nano/Desktop/images/29092025/20/47/image_29092025_20_47_54_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789585","1386789582","1386789600","1386789578","1386789569","1386789574"],"photo_ids_order":["1386789569","1386789574","1386789578","1386789582","1386789585","1386789600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/acd412c04483d60fa0a3103511e30114.jpg","text":"TemporaryFile(/tmp/multipartBody6963489803567533775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171758872,"filename":"image_29092025_20_48_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b2806fd32bdd7f4588c0f5ad2f12c75a.jpg","text":"TemporaryFile(/tmp/multipartBody1133358557535927974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171758872,"filename":"image_29092025_20_48_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/9/29/70e83f64463771c0bf629ae5f9d66982.jpg","text":"TemporaryFile(/tmp/multipartBody7419956879241994758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171758872,"filename":"image_29092025_20_47_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/33b51c994fb8f559a2cc6be54190c692.jpg","text":"TemporaryFile(/tmp/multipartBody5506197696217626719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171758872,"filename":"image_29092025_20_48_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/9/29/dddbdbc5f5ab5438aa1a5defc25a1736.jpg","text":"TemporaryFile(/tmp/multipartBody2702162792519279867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171758872,"filename":"image_29092025_20_48_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/9/29/c50768a447bdc9a05cc5d6aa1ee0d312.jpg","text":"TemporaryFile(/tmp/multipartBody8000666646390818368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171758872,"filename":"image_29092025_20_48_35_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789578","file1":"1386789574","file0":"1386789569","file4":"1386789585","file5":"1386789600","file3":"1386789582"},"map_files_photo_id_array":[{"photo_id":"1386789600","filename":"file5"},{"photo_id":"1386789578","filename":"file2"},{"photo_id":"1386789585","filename":"file4"},{"photo_id":"1386789574","filename":"file1"},{"photo_id":"1386789569","filename":"file0"},{"photo_id":"1386789582","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789585":["hashtag1","hashtag2"]},{"1386789582":["hashtag1","hashtag2"]},{"1386789600":["hashtag1","hashtag2"]},{"1386789578":["hashtag1","hashtag2"]},{"1386789569":["hashtag1","hashtag2"]},{"1386789574":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789585, 1386789582, 1386789600, 1386789578, 1386789569, 1386789574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03481984138489 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:49:03.097107
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_45_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_34_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_24_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_15_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/20/29/image_29092025_20_30_04_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_45_10647.jpg', '/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_34_9652.jpg', '/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_24_9669.jpg', '/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_15_10662.jpg', '/home/nano/Desktop/images/29092025/20/29/image_29092025_20_30_04_9660.jpg', '/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_45_10647.jpg
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_34_9652.jpg
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_24_9669.jpg
/home/nano/Desktop/images/29092025/20/30/image_29092025_20_30_15_10662.jpg
/home/nano/Desktop/images/29092025/20/29/image_29092025_20_30_04_9660.jpg
/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_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":["1386789748","1386789763","1386789630","1386789779","1386789743","1386789787"],"photo_ids_order":["1386789630","1386789743","1386789748","1386789763","1386789779","1386789787"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/882f9c9ab49846088655d62d6ef7c15e.jpg","text":"TemporaryFile(/tmp/multipartBody5262570700697493017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171804765,"filename":"image_29092025_20_30_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5bedcc160ab82e5bc586590eb9f46f85.jpg","text":"TemporaryFile(/tmp/multipartBody1253101944954735138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171804765,"filename":"image_29092025_20_30_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/59917931a12a1a60f683cb5324f6d4d2.jpg","text":"TemporaryFile(/tmp/multipartBody8738173308178680351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171804765,"filename":"image_29092025_20_30_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/9/29/feba01514e00326714e8888aaca8dd9e.jpg","text":"TemporaryFile(/tmp/multipartBody4935016975452551289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171804765,"filename":"image_29092025_20_30_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/9/29/f94386d55f87d9196b9ea787e52f2e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5894480663606440265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171804765,"filename":"image_29092025_20_30_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/9/29/f4f570385a5f7efe2e2877d98de0ee9b.jpg","text":"TemporaryFile(/tmp/multipartBody7563417090054779391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171804765,"filename":"image_29092025_20_29_54_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789748","file1":"1386789743","file0":"1386789630","file4":"1386789779","file5":"1386789787","file3":"1386789763"},"map_files_photo_id_array":[{"photo_id":"1386789787","filename":"file5"},{"photo_id":"1386789748","filename":"file2"},{"photo_id":"1386789779","filename":"file4"},{"photo_id":"1386789743","filename":"file1"},{"photo_id":"1386789630","filename":"file0"},{"photo_id":"1386789763","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789748":["hashtag1","hashtag2"]},{"1386789763":["hashtag1","hashtag2"]},{"1386789630":["hashtag1","hashtag2"]},{"1386789779":["hashtag1","hashtag2"]},{"1386789743":["hashtag1","hashtag2"]},{"1386789787":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789748, 1386789763, 1386789630, 1386789779, 1386789743, 1386789787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28173899650574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:49:47.204917
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_44_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_34_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_25_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_14_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/20/48/image_29092025_20_49_05_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_54_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_44_9616.jpg', '/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_34_9626.jpg', '/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_25_10634.jpg', '/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_14_9635.jpg', '/home/nano/Desktop/images/29092025/20/48/image_29092025_20_49_05_10637.jpg', '/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_44_9616.jpg
/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_34_9626.jpg
/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_25_10634.jpg
/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_14_9635.jpg
/home/nano/Desktop/images/29092025/20/48/image_29092025_20_49_05_10637.jpg
/home/nano/Desktop/images/29092025/20/48/image_29092025_20_48_54_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789817","1386789802","1386789811","1386789807","1386789804","1386789800"],"photo_ids_order":["1386789800","1386789802","1386789804","1386789807","1386789811","1386789817"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4274c8d9ad74c13b7981083e5cb0065d.jpg","text":"TemporaryFile(/tmp/multipartBody364137612531535253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171849005,"filename":"image_29092025_20_48_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/98173ab0f7a7248c5e2dc2ca5b105e5c.jpg","text":"TemporaryFile(/tmp/multipartBody2904095005366134263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171849005,"filename":"image_29092025_20_49_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/27bd30761014d50edba7e6465d213a04.jpg","text":"TemporaryFile(/tmp/multipartBody2309308101261480633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171849005,"filename":"image_29092025_20_49_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8cf7634fd7134c9dee1f544347050b6c.jpg","text":"TemporaryFile(/tmp/multipartBody3873054896039529532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171849005,"filename":"image_29092025_20_49_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f4bb8933d72ebe7c10511bc1437093d9.jpg","text":"TemporaryFile(/tmp/multipartBody2614190790069010708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171849005,"filename":"image_29092025_20_49_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/623b91a6e158de2c4d2eea74dbd1f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody8837754418752306191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171849005,"filename":"image_29092025_20_49_44_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789804","file1":"1386789802","file0":"1386789800","file4":"1386789811","file5":"1386789817","file3":"1386789807"},"map_files_photo_id_array":[{"photo_id":"1386789817","filename":"file5"},{"photo_id":"1386789804","filename":"file2"},{"photo_id":"1386789811","filename":"file4"},{"photo_id":"1386789802","filename":"file1"},{"photo_id":"1386789800","filename":"file0"},{"photo_id":"1386789807","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789817":["hashtag1","hashtag2"]},{"1386789802":["hashtag1","hashtag2"]},{"1386789811":["hashtag1","hashtag2"]},{"1386789807":["hashtag1","hashtag2"]},{"1386789804":["hashtag1","hashtag2"]},{"1386789800":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789817, 1386789802, 1386789811, 1386789807, 1386789804, 1386789800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.672122955322266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:50:32.301823
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_45_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_34_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_25_10625.jpg', 2), ('/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_14_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/20/49/image_29092025_20_50_04_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_55_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_45_10658.jpg', '/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_34_9629.jpg', '/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_25_10625.jpg', '/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_14_9644.jpg', '/home/nano/Desktop/images/29092025/20/49/image_29092025_20_50_04_9648.jpg', '/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_55_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_45_10658.jpg
/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_34_9629.jpg
/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_25_10625.jpg
/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_14_9644.jpg
/home/nano/Desktop/images/29092025/20/49/image_29092025_20_50_04_9648.jpg
/home/nano/Desktop/images/29092025/20/49/image_29092025_20_49_55_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789864","1386789855","1386789849","1386789840","1386789860","1386789845"],"photo_ids_order":["1386789840","1386789845","1386789849","1386789855","1386789860","1386789864"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/897054b96313e187c6b0d4e0b62552ca.jpg","text":"TemporaryFile(/tmp/multipartBody5099641409521376043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171893856,"filename":"image_29092025_20_49_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8623ef283f7427d08431f4ad985bd9af.jpg","text":"TemporaryFile(/tmp/multipartBody8314966077758151805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171893856,"filename":"image_29092025_20_50_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5e6c8d7fbf80b650c557aee3f3205b6e.jpg","text":"TemporaryFile(/tmp/multipartBody5036366026645269893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171893856,"filename":"image_29092025_20_50_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ae307f5723c4bec0164540c30d1ae76e.jpg","text":"TemporaryFile(/tmp/multipartBody7342754266457629100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171893856,"filename":"image_29092025_20_50_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f395854cec4cb59925774d61fc8af53b.jpg","text":"TemporaryFile(/tmp/multipartBody2792358671554291896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171893856,"filename":"image_29092025_20_50_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/9/29/5a3d492ae757d225634e53c3329a5d3b.jpg","text":"TemporaryFile(/tmp/multipartBody416897767395980922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171893856,"filename":"image_29092025_20_50_34_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789849","file1":"1386789845","file0":"1386789840","file4":"1386789860","file5":"1386789864","file3":"1386789855"},"map_files_photo_id_array":[{"photo_id":"1386789864","filename":"file5"},{"photo_id":"1386789849","filename":"file2"},{"photo_id":"1386789860","filename":"file4"},{"photo_id":"1386789845","filename":"file1"},{"photo_id":"1386789840","filename":"file0"},{"photo_id":"1386789855","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789864":["hashtag1","hashtag2"]},{"1386789855":["hashtag1","hashtag2"]},{"1386789849":["hashtag1","hashtag2"]},{"1386789840":["hashtag1","hashtag2"]},{"1386789860":["hashtag1","hashtag2"]},{"1386789845":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789864, 1386789855, 1386789849, 1386789840, 1386789860, 1386789845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90346097946167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:51:17.442551
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_45_10624.jpg', 2), ('/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_34_9614.jpg', 2), ('/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_24_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_15_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/20/50/image_29092025_20_51_04_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_55_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_45_10624.jpg', '/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_34_9614.jpg', '/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_24_9620.jpg', '/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_15_10651.jpg', '/home/nano/Desktop/images/29092025/20/50/image_29092025_20_51_04_9641.jpg', '/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_45_10624.jpg
/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_34_9614.jpg
/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_24_9620.jpg
/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_15_10651.jpg
/home/nano/Desktop/images/29092025/20/50/image_29092025_20_51_04_9641.jpg
/home/nano/Desktop/images/29092025/20/50/image_29092025_20_50_55_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":["1386789894","1386789888","1386789900","1386789899","1386789903","1386789881"],"photo_ids_order":["1386789881","1386789888","1386789894","1386789899","1386789900","1386789903"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f4645bbe88760f2113fc440263d187e6.jpg","text":"TemporaryFile(/tmp/multipartBody4507070738916311601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171939061,"filename":"image_29092025_20_51_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f6476b6c41e2f2eab675f296802fa319.jpg","text":"TemporaryFile(/tmp/multipartBody430602944180587718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171939061,"filename":"image_29092025_20_51_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/35ac515b1814fed2583ce961de58d09e.jpg","text":"TemporaryFile(/tmp/multipartBody8513575236319690558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171939061,"filename":"image_29092025_20_51_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/9/29/044c030c26421d2863e11680f0d8c8ba.jpg","text":"TemporaryFile(/tmp/multipartBody2783792537141638037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171939061,"filename":"image_29092025_20_51_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/78c8656b67fbc6f76b30a8776fbc7f95.jpg","text":"TemporaryFile(/tmp/multipartBody2623471842646936623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171939061,"filename":"image_29092025_20_50_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/078a78d767b52a4e3ecd6af27c249564.jpg","text":"TemporaryFile(/tmp/multipartBody3462566347539339417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171939061,"filename":"image_29092025_20_51_45_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789894","file1":"1386789888","file0":"1386789881","file4":"1386789900","file5":"1386789903","file3":"1386789899"},"map_files_photo_id_array":[{"photo_id":"1386789903","filename":"file5"},{"photo_id":"1386789894","filename":"file2"},{"photo_id":"1386789900","filename":"file4"},{"photo_id":"1386789888","filename":"file1"},{"photo_id":"1386789881","filename":"file0"},{"photo_id":"1386789899","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789894":["hashtag1","hashtag2"]},{"1386789888":["hashtag1","hashtag2"]},{"1386789900":["hashtag1","hashtag2"]},{"1386789899":["hashtag1","hashtag2"]},{"1386789903":["hashtag1","hashtag2"]},{"1386789881":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789894, 1386789888, 1386789900, 1386789899, 1386789903, 1386789881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.250159740448 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:52:03.008631
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_45_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_34_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_15_10685.jpg', 2), ('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_29_04_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_45_10669.jpg', '/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_34_9636.jpg', '/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_24_9627.jpg', '/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_15_10685.jpg', '/home/nano/Desktop/images/29092025/20/28/image_29092025_20_29_04_9617.jpg', '/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_45_10669.jpg
/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_34_9636.jpg
/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_24_9627.jpg
/home/nano/Desktop/images/29092025/20/29/image_29092025_20_29_15_10685.jpg
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_29_04_9617.jpg
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_54_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386789934","1386789943","1386789925","1386789923","1386789917","1386789929"],"photo_ids_order":["1386789917","1386789923","1386789925","1386789929","1386789934","1386789943"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6a91db01eee01e0c47bde120f382879c.jpg","text":"TemporaryFile(/tmp/multipartBody3636255648975678821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171984627,"filename":"image_29092025_20_29_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f29998dd494431a33623fdb23f4c02ee.jpg","text":"TemporaryFile(/tmp/multipartBody3116450468421744671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171984627,"filename":"image_29092025_20_28_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b1cf024af1e6dae656e720e7f3d75e27.jpg","text":"TemporaryFile(/tmp/multipartBody7590534138174039576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171984627,"filename":"image_29092025_20_29_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/42574a00da8796bcf5c9a31035a51490.jpg","text":"TemporaryFile(/tmp/multipartBody1197554562075045660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171984627,"filename":"image_29092025_20_29_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/9/29/97097d761c4e67c55760798914bf453a.jpg","text":"TemporaryFile(/tmp/multipartBody4318664028511363912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171984627,"filename":"image_29092025_20_29_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9728ccd53bc4beeddde3547cfe8a5ffd.jpg","text":"TemporaryFile(/tmp/multipartBody4940300954338938076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171984627,"filename":"image_29092025_20_29_15_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789925","file1":"1386789923","file0":"1386789917","file4":"1386789934","file5":"1386789943","file3":"1386789929"},"map_files_photo_id_array":[{"photo_id":"1386789943","filename":"file5"},{"photo_id":"1386789925","filename":"file2"},{"photo_id":"1386789934","filename":"file4"},{"photo_id":"1386789923","filename":"file1"},{"photo_id":"1386789917","filename":"file0"},{"photo_id":"1386789929","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386789934":["hashtag1","hashtag2"]},{"1386789943":["hashtag1","hashtag2"]},{"1386789925":["hashtag1","hashtag2"]},{"1386789923":["hashtag1","hashtag2"]},{"1386789917":["hashtag1","hashtag2"]},{"1386789929":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386789934, 1386789943, 1386789925, 1386789923, 1386789917, 1386789929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17531061172485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:52:47.491895
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_45_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_35_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_24_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_15_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/20/51/image_29092025_20_52_04_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_45_9626.jpg', '/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_35_10644.jpg', '/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_24_9633.jpg', '/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_15_10651.jpg', '/home/nano/Desktop/images/29092025/20/51/image_29092025_20_52_04_9634.jpg', '/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_45_9626.jpg
/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_35_10644.jpg
/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_24_9633.jpg
/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_15_10651.jpg
/home/nano/Desktop/images/29092025/20/51/image_29092025_20_52_04_9634.jpg
/home/nano/Desktop/images/29092025/20/51/image_29092025_20_51_54_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790007","1386789999","1386790003","1386789992","1386789995","1386789989"],"photo_ids_order":["1386789989","1386789992","1386789995","1386789999","1386790003","1386790007"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/03aceb03748d15551f827f312c22ea4c.jpg","text":"TemporaryFile(/tmp/multipartBody5955246807270814657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172028965,"filename":"image_29092025_20_51_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/150f87ba9c939f24785ee5efbf7beeaa.jpg","text":"TemporaryFile(/tmp/multipartBody8270877653188604767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172028965,"filename":"image_29092025_20_52_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cf9bfca7b7c8582603b4dd044b600173.jpg","text":"TemporaryFile(/tmp/multipartBody6213153753687644646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172028965,"filename":"image_29092025_20_52_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/14c94b9db21bdaf42539636e2fbeece7.jpg","text":"TemporaryFile(/tmp/multipartBody8718907038534427830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172028965,"filename":"image_29092025_20_52_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0957f766b780341dcde7f3add23e7b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5595156863093012443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172028965,"filename":"image_29092025_20_52_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c9ef3691e6c7e22444ad5a11834f7d98.jpg","text":"TemporaryFile(/tmp/multipartBody9147193913390966746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172028965,"filename":"image_29092025_20_52_45_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789995","file1":"1386789992","file0":"1386789989","file4":"1386790003","file5":"1386790007","file3":"1386789999"},"map_files_photo_id_array":[{"photo_id":"1386790007","filename":"file5"},{"photo_id":"1386789995","filename":"file2"},{"photo_id":"1386790003","filename":"file4"},{"photo_id":"1386789992","filename":"file1"},{"photo_id":"1386789989","filename":"file0"},{"photo_id":"1386789999","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790007":["hashtag1","hashtag2"]},{"1386789999":["hashtag1","hashtag2"]},{"1386790003":["hashtag1","hashtag2"]},{"1386789992":["hashtag1","hashtag2"]},{"1386789995":["hashtag1","hashtag2"]},{"1386789989":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790007, 1386789999, 1386790003, 1386789992, 1386789995, 1386789989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38998508453369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:53:32.606824
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_35_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_24_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_14_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/20/52/image_29092025_20_53_05_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_45_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_35_10676.jpg', '/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_24_9622.jpg', '/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_14_9666.jpg', '/home/nano/Desktop/images/29092025/20/52/image_29092025_20_53_05_10643.jpg', '/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_54_9640.jpg', '/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_45_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_35_10676.jpg
/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_24_9622.jpg
/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_14_9666.jpg
/home/nano/Desktop/images/29092025/20/52/image_29092025_20_53_05_10643.jpg
/home/nano/Desktop/images/29092025/20/52/image_29092025_20_52_54_9640.jpg
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_45_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790031","1386790045","1386790027","1386790042","1386790036","1386790022"],"photo_ids_order":["1386790022","1386790027","1386790031","1386790036","1386790042","1386790045"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cc61f64ff42a9a0e3d829953a65de54c.jpg","text":"TemporaryFile(/tmp/multipartBody5754769863816596805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172074628,"filename":"image_29092025_20_53_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/9/29/6022322af5d9c3dc4e4cc736531b3304.jpg","text":"TemporaryFile(/tmp/multipartBody2339229631237106829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172074628,"filename":"image_29092025_20_28_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8c27decc066042b713150d338979fa8f.jpg","text":"TemporaryFile(/tmp/multipartBody4683539409369814808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172074628,"filename":"image_29092025_20_53_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1283d22f7f71049ade6597c7a08a8a04.jpg","text":"TemporaryFile(/tmp/multipartBody7307899796097442355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172074628,"filename":"image_29092025_20_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/9/29/e4613ea6f35c3947d80a87bd040a192c.jpg","text":"TemporaryFile(/tmp/multipartBody4274792855229005051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172074628,"filename":"image_29092025_20_53_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8b9720e4edfb790ad482cf32dabdf512.jpg","text":"TemporaryFile(/tmp/multipartBody314752544612098288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172074628,"filename":"image_29092025_20_53_35_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790031","file1":"1386790027","file0":"1386790022","file4":"1386790042","file5":"1386790045","file3":"1386790036"},"map_files_photo_id_array":[{"photo_id":"1386790045","filename":"file5"},{"photo_id":"1386790031","filename":"file2"},{"photo_id":"1386790042","filename":"file4"},{"photo_id":"1386790027","filename":"file1"},{"photo_id":"1386790022","filename":"file0"},{"photo_id":"1386790036","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790031":["hashtag1","hashtag2"]},{"1386790045":["hashtag1","hashtag2"]},{"1386790027":["hashtag1","hashtag2"]},{"1386790042":["hashtag1","hashtag2"]},{"1386790036":["hashtag1","hashtag2"]},{"1386790022":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790031, 1386790045, 1386790027, 1386790042, 1386790036, 1386790022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64232420921326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:54:17.707027
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_45_10680.jpg', 2), ('/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_34_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_24_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_15_9754.jpg', 2), ('/home/nano/Desktop/images/29092025/20/53/image_29092025_20_54_05_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_45_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_45_10680.jpg', '/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_34_9676.jpg', '/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_24_9657.jpg', '/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_15_9754.jpg', '/home/nano/Desktop/images/29092025/20/53/image_29092025_20_54_05_10681.jpg', '/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_45_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_45_10680.jpg
/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_34_9676.jpg
/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_24_9657.jpg
/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_15_9754.jpg
/home/nano/Desktop/images/29092025/20/53/image_29092025_20_54_05_10681.jpg
/home/nano/Desktop/images/29092025/20/53/image_29092025_20_53_45_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790103","1386790096","1386790108","1386790080","1386790086","1386790101"],"photo_ids_order":["1386790080","1386790086","1386790096","1386790101","1386790103","1386790108"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8bbfca5890d552a38856397842593a27.jpg","text":"TemporaryFile(/tmp/multipartBody2157151856999361029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172119593,"filename":"image_29092025_20_54_05_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/06467aff90661128883e02fe166b9c66.jpg","text":"TemporaryFile(/tmp/multipartBody8089280868332287602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172119593,"filename":"image_29092025_20_54_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/9/29/0c1304be4a185aaf70459227f7030ae2.jpg","text":"TemporaryFile(/tmp/multipartBody3773084147328850716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172119593,"filename":"image_29092025_20_53_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a221825065a1a5f399d8e95a7b3c25df.jpg","text":"TemporaryFile(/tmp/multipartBody8234628901641038128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172119593,"filename":"image_29092025_20_54_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/92894884db885836228ea841d4d5361c.jpg","text":"TemporaryFile(/tmp/multipartBody4293548623421718067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172119593,"filename":"image_29092025_20_54_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7488cfed4c07d73fefd765cce8b86770.jpg","text":"TemporaryFile(/tmp/multipartBody152265078194821021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172119593,"filename":"image_29092025_20_54_15_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790096","file1":"1386790086","file0":"1386790080","file4":"1386790103","file5":"1386790108","file3":"1386790101"},"map_files_photo_id_array":[{"photo_id":"1386790108","filename":"file5"},{"photo_id":"1386790096","filename":"file2"},{"photo_id":"1386790103","filename":"file4"},{"photo_id":"1386790086","filename":"file1"},{"photo_id":"1386790080","filename":"file0"},{"photo_id":"1386790101","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790103":["hashtag1","hashtag2"]},{"1386790096":["hashtag1","hashtag2"]},{"1386790108":["hashtag1","hashtag2"]},{"1386790080":["hashtag1","hashtag2"]},{"1386790086":["hashtag1","hashtag2"]},{"1386790101":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790103, 1386790096, 1386790108, 1386790080, 1386790086, 1386790101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.478649377822876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:55:02.484028
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_34_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_25_9614.jpg', 2), ('/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_15_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_28_04_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_55_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_44_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_34_9652.jpg', '/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_25_9614.jpg', '/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_15_10655.jpg', '/home/nano/Desktop/images/29092025/20/27/image_29092025_20_28_04_9634.jpg', '/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_55_10636.jpg', '/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_34_9652.jpg
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_25_9614.jpg
/home/nano/Desktop/images/29092025/20/28/image_29092025_20_28_15_10655.jpg
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_28_04_9634.jpg
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_55_10636.jpg
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_44_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790165","1386790153","1386790158","1386790137","1386790146","1386790149"],"photo_ids_order":["1386790137","1386790146","1386790149","1386790153","1386790158","1386790165"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/da0cc2005896a7b9a46b33cb29e59fcf.jpg","text":"TemporaryFile(/tmp/multipartBody5741264569897353256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172163908,"filename":"image_29092025_20_27_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/23d820aaa37b4fc2a0c886d4543d3970.jpg","text":"TemporaryFile(/tmp/multipartBody7163871064751247439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172163908,"filename":"image_29092025_20_28_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/42cbc2fd79191d49bbdec3f85bd85b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2087541527347638769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172163908,"filename":"image_29092025_20_27_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/02e0ca2f7581c26f213cde62908d4bc3.jpg","text":"TemporaryFile(/tmp/multipartBody7231897319898130104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172163908,"filename":"image_29092025_20_28_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/9/29/f16463e6b3560bdfcd12a052c13ea52f.jpg","text":"TemporaryFile(/tmp/multipartBody1753019403340626341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172163908,"filename":"image_29092025_20_28_25_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/aec6074dc5e072ec6af0ea87f0a85b6a.jpg","text":"TemporaryFile(/tmp/multipartBody8944673828162135070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172163908,"filename":"image_29092025_20_28_15_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790149","file1":"1386790146","file0":"1386790137","file4":"1386790158","file5":"1386790165","file3":"1386790153"},"map_files_photo_id_array":[{"photo_id":"1386790165","filename":"file5"},{"photo_id":"1386790149","filename":"file2"},{"photo_id":"1386790158","filename":"file4"},{"photo_id":"1386790146","filename":"file1"},{"photo_id":"1386790137","filename":"file0"},{"photo_id":"1386790153","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790165":["hashtag1","hashtag2"]},{"1386790153":["hashtag1","hashtag2"]},{"1386790158":["hashtag1","hashtag2"]},{"1386790137":["hashtag1","hashtag2"]},{"1386790146":["hashtag1","hashtag2"]},{"1386790149":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790165, 1386790153, 1386790158, 1386790137, 1386790146, 1386790149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04068970680237 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:55:46.913873
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_45_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_35_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_24_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/20/54/image_29092025_20_55_05_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_54_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_45_9626.jpg', '/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_35_10636.jpg', '/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_24_9658.jpg', '/home/nano/Desktop/images/29092025/20/54/image_29092025_20_55_05_10670.jpg', '/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_54_9654.jpg', '/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_45_9626.jpg
/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_35_10636.jpg
/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_24_9658.jpg
/home/nano/Desktop/images/29092025/20/54/image_29092025_20_55_05_10670.jpg
/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_54_9654.jpg
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_34_9617.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1763277053833008 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:56:02.511431
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_45_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_35_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_24_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/20/54/image_29092025_20_55_05_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_54_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_45_9626.jpg', '/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_35_10636.jpg', '/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_24_9658.jpg', '/home/nano/Desktop/images/29092025/20/54/image_29092025_20_55_05_10670.jpg', '/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_54_9654.jpg', '/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_45_9626.jpg
/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_35_10636.jpg
/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_24_9658.jpg
/home/nano/Desktop/images/29092025/20/54/image_29092025_20_55_05_10670.jpg
/home/nano/Desktop/images/29092025/20/54/image_29092025_20_54_54_9654.jpg
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_34_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790258","1386790249","1386790299","1386790272","1386790236","1386790302"],"photo_ids_order":["1386790236","1386790249","1386790258","1386790272","1386790299","1386790302"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/26158b2fb7af57802727376a2dc2cf15.jpg","text":"TemporaryFile(/tmp/multipartBody1805261430556389066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172224168,"filename":"image_29092025_20_55_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/9/29/06188efe71c8147f1d6c79b4f43913ad.jpg","text":"TemporaryFile(/tmp/multipartBody7842434645948976979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172224168,"filename":"image_29092025_20_55_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/874c0f621ef46ac3a333cf410874a788.jpg","text":"TemporaryFile(/tmp/multipartBody9194448529276665279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172224168,"filename":"image_29092025_20_54_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/9/29/323cc877ac8cbc43a89a808a1cbb33a7.jpg","text":"TemporaryFile(/tmp/multipartBody2169722613701988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172224168,"filename":"image_29092025_20_55_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1da43c4e645e06a0da9272a2a50d36d6.jpg","text":"TemporaryFile(/tmp/multipartBody4655719855176184296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172224168,"filename":"image_29092025_20_55_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b696fa5f40fd586bdefdda7ca4efe576.jpg","text":"TemporaryFile(/tmp/multipartBody4290165136169675329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172224168,"filename":"image_29092025_20_27_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790258","file1":"1386790249","file0":"1386790236","file4":"1386790299","file5":"1386790302","file3":"1386790272"},"map_files_photo_id_array":[{"photo_id":"1386790302","filename":"file5"},{"photo_id":"1386790258","filename":"file2"},{"photo_id":"1386790299","filename":"file4"},{"photo_id":"1386790249","filename":"file1"},{"photo_id":"1386790236","filename":"file0"},{"photo_id":"1386790272","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790258":["hashtag1","hashtag2"]},{"1386790249":["hashtag1","hashtag2"]},{"1386790299":["hashtag1","hashtag2"]},{"1386790272":["hashtag1","hashtag2"]},{"1386790236":["hashtag1","hashtag2"]},{"1386790302":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790258, 1386790249, 1386790299, 1386790272, 1386790236, 1386790302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56173872947693 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:56:46.993046
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_44_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_35_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_24_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/20/55/image_29092025_20_56_05_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_54_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_44_9643.jpg', '/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_35_10643.jpg', '/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_24_9633.jpg', '/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_14_9661.jpg', '/home/nano/Desktop/images/29092025/20/55/image_29092025_20_56_05_10651.jpg', '/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_54_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_44_9643.jpg
/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_35_10643.jpg
/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_24_9633.jpg
/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_14_9661.jpg
/home/nano/Desktop/images/29092025/20/55/image_29092025_20_56_05_10651.jpg
/home/nano/Desktop/images/29092025/20/55/image_29092025_20_55_54_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790343","1386790330","1386790348","1386790327","1386790338","1386790334"],"photo_ids_order":["1386790327","1386790330","1386790334","1386790338","1386790343","1386790348"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a6fa615fc59221837ce59619bf823b42.jpg","text":"TemporaryFile(/tmp/multipartBody3355910472683392730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172268544,"filename":"image_29092025_20_56_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/9/29/d3b1e575c4b97985e3df99d552709bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8055959496363740656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172268544,"filename":"image_29092025_20_56_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/12f4a72d584db03151fa84fdf4862668.jpg","text":"TemporaryFile(/tmp/multipartBody5707964847624858281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172268544,"filename":"image_29092025_20_55_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/44adcb7c7593cbfdb2afc70b3ace528b.jpg","text":"TemporaryFile(/tmp/multipartBody6738575670115820508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172268544,"filename":"image_29092025_20_56_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/9/29/0d49b5a97d2459135f80a8fc42688d53.jpg","text":"TemporaryFile(/tmp/multipartBody3977784128369689766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172268544,"filename":"image_29092025_20_56_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/9/29/b3d5fee71363db28711f7ba3cb1be0ea.jpg","text":"TemporaryFile(/tmp/multipartBody2049587569014537429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172268544,"filename":"image_29092025_20_56_24_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790334","file1":"1386790330","file0":"1386790327","file4":"1386790343","file5":"1386790348","file3":"1386790338"},"map_files_photo_id_array":[{"photo_id":"1386790348","filename":"file5"},{"photo_id":"1386790334","filename":"file2"},{"photo_id":"1386790343","filename":"file4"},{"photo_id":"1386790330","filename":"file1"},{"photo_id":"1386790327","filename":"file0"},{"photo_id":"1386790338","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790343":["hashtag1","hashtag2"]},{"1386790330":["hashtag1","hashtag2"]},{"1386790348":["hashtag1","hashtag2"]},{"1386790327":["hashtag1","hashtag2"]},{"1386790338":["hashtag1","hashtag2"]},{"1386790334":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790343, 1386790330, 1386790348, 1386790327, 1386790338, 1386790334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75800561904907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:57:32.117730
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_35_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_14_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/20/56/image_29092025_20_57_05_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_44_9641.jpg', '/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_35_10639.jpg', '/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_24_9627.jpg', '/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_14_9648.jpg', '/home/nano/Desktop/images/29092025/20/56/image_29092025_20_57_05_10651.jpg', '/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_44_9641.jpg
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_35_10639.jpg
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_24_9627.jpg
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_14_9648.jpg
/home/nano/Desktop/images/29092025/20/56/image_29092025_20_57_05_10651.jpg
/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_54_9635.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:58:02.736741
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_44_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_35_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_14_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/20/56/image_29092025_20_57_05_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_44_9641.jpg', '/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_35_10639.jpg', '/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_24_9627.jpg', '/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_14_9648.jpg', '/home/nano/Desktop/images/29092025/20/56/image_29092025_20_57_05_10651.jpg', '/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_44_9641.jpg
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_35_10639.jpg
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_24_9627.jpg
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_14_9648.jpg
/home/nano/Desktop/images/29092025/20/56/image_29092025_20_57_05_10651.jpg
/home/nano/Desktop/images/29092025/20/56/image_29092025_20_56_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":["1386790393","1386790395","1386790389","1386790394","1386790391","1386790385"],"photo_ids_order":["1386790385","1386790389","1386790391","1386790393","1386790394","1386790395"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0d94889c4eba4ab45bb90cd6c83be32e.jpg","text":"TemporaryFile(/tmp/multipartBody2459764364008132346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172344196,"filename":"image_29092025_20_57_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d2548fdff09bea8e60032caf7631cef7.jpg","text":"TemporaryFile(/tmp/multipartBody541610221872254543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172344196,"filename":"image_29092025_20_56_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/9/29/54bec9bb30018e048f120561b8264de6.jpg","text":"TemporaryFile(/tmp/multipartBody686961270328067101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172344196,"filename":"image_29092025_20_57_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/96507cbb3232c48e02180be3d775243a.jpg","text":"TemporaryFile(/tmp/multipartBody4530092512852857581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172344196,"filename":"image_29092025_20_57_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/9/29/b09078e996e3903c86867fd7ff8c9526.jpg","text":"TemporaryFile(/tmp/multipartBody96921146950005611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172344196,"filename":"image_29092025_20_57_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fb2b896b295e38ec1ac1680fda8c7d6a.jpg","text":"TemporaryFile(/tmp/multipartBody6022791645054507194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172344196,"filename":"image_29092025_20_57_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790391","file1":"1386790389","file0":"1386790385","file4":"1386790394","file5":"1386790395","file3":"1386790393"},"map_files_photo_id_array":[{"photo_id":"1386790395","filename":"file5"},{"photo_id":"1386790391","filename":"file2"},{"photo_id":"1386790394","filename":"file4"},{"photo_id":"1386790389","filename":"file1"},{"photo_id":"1386790385","filename":"file0"},{"photo_id":"1386790393","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790393":["hashtag1","hashtag2"]},{"1386790395":["hashtag1","hashtag2"]},{"1386790389":["hashtag1","hashtag2"]},{"1386790394":["hashtag1","hashtag2"]},{"1386790391":["hashtag1","hashtag2"]},{"1386790385":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790393, 1386790395, 1386790389, 1386790394, 1386790391, 1386790385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34929823875427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:59:03.396127
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_55_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_35_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_25_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_14_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_58_05_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_55_10663.jpg', '/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_44_9656.jpg', '/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_35_9649.jpg', '/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_25_10653.jpg', '/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_14_9667.jpg', '/home/nano/Desktop/images/29092025/20/57/image_29092025_20_58_05_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_55_10663.jpg
/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_44_9656.jpg
/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_35_9649.jpg
/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_25_10653.jpg
/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_14_9667.jpg
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_58_05_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":["1386790436","1386790414","1386790408","1386790425","1386790419","1386790430"],"photo_ids_order":["1386790408","1386790414","1386790419","1386790425","1386790430","1386790436"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b65e1a7e73ec0a3f8f30d51fc2acf41c.jpg","text":"TemporaryFile(/tmp/multipartBody8621399057389209031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172405110,"filename":"image_29092025_20_58_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e10ff48bc37edbf71bef50a07b39d2d2.jpg","text":"TemporaryFile(/tmp/multipartBody2137614068069410266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172405110,"filename":"image_29092025_20_58_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/9/29/6165da698e0cd1d51356298daa42aa58.jpg","text":"TemporaryFile(/tmp/multipartBody2893831531559917497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172405110,"filename":"image_29092025_20_59_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3179f5c9b854bfac5b257cff7d431755.jpg","text":"TemporaryFile(/tmp/multipartBody379652050092892625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172405110,"filename":"image_29092025_20_58_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/9/29/1fea66886f3facad11f7de1ae44d295e.jpg","text":"TemporaryFile(/tmp/multipartBody6798058908597650444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172405110,"filename":"image_29092025_20_58_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f60597904d129f2e72b31ae5f3499dcb.jpg","text":"TemporaryFile(/tmp/multipartBody4394739775693926267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172405110,"filename":"image_29092025_20_58_14_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790419","file1":"1386790414","file0":"1386790408","file4":"1386790430","file5":"1386790436","file3":"1386790425"},"map_files_photo_id_array":[{"photo_id":"1386790436","filename":"file5"},{"photo_id":"1386790419","filename":"file2"},{"photo_id":"1386790430","filename":"file4"},{"photo_id":"1386790414","filename":"file1"},{"photo_id":"1386790408","filename":"file0"},{"photo_id":"1386790425","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790436":["hashtag1","hashtag2"]},{"1386790414":["hashtag1","hashtag2"]},{"1386790408":["hashtag1","hashtag2"]},{"1386790425":["hashtag1","hashtag2"]},{"1386790419":["hashtag1","hashtag2"]},{"1386790430":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790436, 1386790414, 1386790408, 1386790425, 1386790419, 1386790430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43124437332153 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 20:59:47.383701
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_34_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_25_10629.jpg', 2), ('/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_14_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/20/58/image_29092025_20_59_04_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_55_10645.jpg', 2), ('/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_34_9633.jpg', '/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_25_10629.jpg', '/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_14_9665.jpg', '/home/nano/Desktop/images/29092025/20/58/image_29092025_20_59_04_9637.jpg', '/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_55_10645.jpg', '/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_34_9633.jpg
/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_25_10629.jpg
/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_14_9665.jpg
/home/nano/Desktop/images/29092025/20/58/image_29092025_20_59_04_9637.jpg
/home/nano/Desktop/images/29092025/20/58/image_29092025_20_58_55_10645.jpg
/home/nano/Desktop/images/29092025/20/57/image_29092025_20_57_55_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790456","1386790467","1386790452","1386790475","1386790463","1386790472"],"photo_ids_order":["1386790452","1386790456","1386790463","1386790467","1386790472","1386790475"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c8792d72f81ac60b6878dc42000a6044.jpg","text":"TemporaryFile(/tmp/multipartBody5283085569753997520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172449144,"filename":"image_29092025_20_59_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0c48b73b4c90c4344ac51ca2696d5b7a.jpg","text":"TemporaryFile(/tmp/multipartBody8414641020395035891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172449144,"filename":"image_29092025_20_59_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/9/29/2624ea9e64020acc8877d998fb96bf68.jpg","text":"TemporaryFile(/tmp/multipartBody8223869841699701809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172449144,"filename":"image_29092025_20_59_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/41b5bf139de1e0569e8b5c326c472f13.jpg","text":"TemporaryFile(/tmp/multipartBody5425055246707515542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172449144,"filename":"image_29092025_20_57_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8da31d759657ace260e291c7a1c38fa3.jpg","text":"TemporaryFile(/tmp/multipartBody9055517194823672986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172449144,"filename":"image_29092025_20_59_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/9/29/c4f57d6cf164ab5365ff53d58a00e22b.jpg","text":"TemporaryFile(/tmp/multipartBody8185793454306557948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172449144,"filename":"image_29092025_20_58_55_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790463","file1":"1386790456","file0":"1386790452","file4":"1386790472","file5":"1386790475","file3":"1386790467"},"map_files_photo_id_array":[{"photo_id":"1386790475","filename":"file5"},{"photo_id":"1386790463","filename":"file2"},{"photo_id":"1386790472","filename":"file4"},{"photo_id":"1386790456","filename":"file1"},{"photo_id":"1386790452","filename":"file0"},{"photo_id":"1386790467","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790456":["hashtag1","hashtag2"]},{"1386790467":["hashtag1","hashtag2"]},{"1386790452":["hashtag1","hashtag2"]},{"1386790475":["hashtag1","hashtag2"]},{"1386790463":["hashtag1","hashtag2"]},{"1386790472":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790456, 1386790467, 1386790452, 1386790475, 1386790463, 1386790472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69254446029663 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:00:32.470915
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_44_9639.jpg', 2), ('/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_25_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_14_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/20/59/image_29092025_21_00_04_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_44_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_44_9639.jpg', '/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_34_9647.jpg', '/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_25_10669.jpg', '/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_14_9669.jpg', '/home/nano/Desktop/images/29092025/20/59/image_29092025_21_00_04_9646.jpg', '/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_44_9639.jpg
/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_34_9647.jpg
/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_25_10669.jpg
/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_14_9669.jpg
/home/nano/Desktop/images/29092025/20/59/image_29092025_21_00_04_9646.jpg
/home/nano/Desktop/images/29092025/20/59/image_29092025_20_59_44_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790514","1386790508","1386790498","1386790510","1386790504","1386790512"],"photo_ids_order":["1386790498","1386790504","1386790508","1386790510","1386790512","1386790514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/960360836c2fbcf81c854118572ca213.jpg","text":"TemporaryFile(/tmp/multipartBody988786069076976738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172494125,"filename":"image_29092025_20_59_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7ab9e3961db34baf32884b0ed2eba1a0.jpg","text":"TemporaryFile(/tmp/multipartBody2484164062197664391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172494125,"filename":"image_29092025_21_00_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/9/29/dadccebf4ea265263b4e2f419daa5f13.jpg","text":"TemporaryFile(/tmp/multipartBody1902247409379739592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172494125,"filename":"image_29092025_21_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/9/29/e85a180074c35f9f0caacc34405c7ad3.jpg","text":"TemporaryFile(/tmp/multipartBody7675740686380035966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172494125,"filename":"image_29092025_21_00_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/9/29/469f3ff870750bdbe53da56a7f1a139c.jpg","text":"TemporaryFile(/tmp/multipartBody5640889076991957196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172494125,"filename":"image_29092025_21_00_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/9/29/09ea185a7866dc5b3611fc97ed988026.jpg","text":"TemporaryFile(/tmp/multipartBody2678366143468039513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172494125,"filename":"image_29092025_21_00_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790508","file1":"1386790504","file0":"1386790498","file4":"1386790512","file5":"1386790514","file3":"1386790510"},"map_files_photo_id_array":[{"photo_id":"1386790514","filename":"file5"},{"photo_id":"1386790508","filename":"file2"},{"photo_id":"1386790512","filename":"file4"},{"photo_id":"1386790504","filename":"file1"},{"photo_id":"1386790498","filename":"file0"},{"photo_id":"1386790510","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790514":["hashtag1","hashtag2"]},{"1386790508":["hashtag1","hashtag2"]},{"1386790498":["hashtag1","hashtag2"]},{"1386790510":["hashtag1","hashtag2"]},{"1386790504":["hashtag1","hashtag2"]},{"1386790512":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790514, 1386790508, 1386790498, 1386790510, 1386790504, 1386790512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78376245498657 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:01:17.569632
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_44_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_34_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_25_10715.jpg', 2), ('/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_14_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/21/00/image_29092025_21_01_04_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_44_9673.jpg', '/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_34_9701.jpg', '/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_25_10715.jpg', '/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_14_9663.jpg', '/home/nano/Desktop/images/29092025/21/00/image_29092025_21_01_04_9685.jpg', '/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_44_9673.jpg
/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_34_9701.jpg
/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_25_10715.jpg
/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_14_9663.jpg
/home/nano/Desktop/images/29092025/21/00/image_29092025_21_01_04_9685.jpg
/home/nano/Desktop/images/29092025/21/00/image_29092025_21_00_55_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":["1386790537","1386790545","1386790527","1386790542","1386790539","1386790532"],"photo_ids_order":["1386790527","1386790532","1386790537","1386790539","1386790542","1386790545"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/49e032028f3c49cb52a22193da126555.jpg","text":"TemporaryFile(/tmp/multipartBody370257278405666252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172539122,"filename":"image_29092025_21_01_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/85bf895defcec442e151124247f7fdc1.jpg","text":"TemporaryFile(/tmp/multipartBody8822165156004330286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172539122,"filename":"image_29092025_21_00_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c3d12050932859e9c3c074b6c6f6823a.jpg","text":"TemporaryFile(/tmp/multipartBody2045728716601503526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172539122,"filename":"image_29092025_21_01_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f40063a9016079a8d4a9a4d6c2b9ca78.jpg","text":"TemporaryFile(/tmp/multipartBody3589958136584387513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172539122,"filename":"image_29092025_21_01_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/39f02118ca3ab2f0d6d35b2e310dc63b.jpg","text":"TemporaryFile(/tmp/multipartBody3513927907244757189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172539122,"filename":"image_29092025_21_01_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/9/29/5c2909def35b3234f337fa2b1c18a506.jpg","text":"TemporaryFile(/tmp/multipartBody8430221098829718498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172539122,"filename":"image_29092025_21_01_34_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790537","file1":"1386790532","file0":"1386790527","file4":"1386790542","file5":"1386790545","file3":"1386790539"},"map_files_photo_id_array":[{"photo_id":"1386790545","filename":"file5"},{"photo_id":"1386790537","filename":"file2"},{"photo_id":"1386790542","filename":"file4"},{"photo_id":"1386790532","filename":"file1"},{"photo_id":"1386790527","filename":"file0"},{"photo_id":"1386790539","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790537":["hashtag1","hashtag2"]},{"1386790545":["hashtag1","hashtag2"]},{"1386790527":["hashtag1","hashtag2"]},{"1386790542":["hashtag1","hashtag2"]},{"1386790539":["hashtag1","hashtag2"]},{"1386790532":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790537, 1386790545, 1386790527, 1386790542, 1386790539, 1386790532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42336416244507 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:02:03.284201
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_25_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_14_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/20/26/image_29092025_20_27_04_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_55_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_35_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_25_10637.jpg', '/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_14_9673.jpg', '/home/nano/Desktop/images/29092025/20/26/image_29092025_20_27_04_9631.jpg', '/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_55_10639.jpg', '/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_44_9646.jpg', '/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_35_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_25_10637.jpg
/home/nano/Desktop/images/29092025/20/27/image_29092025_20_27_14_9673.jpg
/home/nano/Desktop/images/29092025/20/26/image_29092025_20_27_04_9631.jpg
/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_55_10639.jpg
/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_44_9646.jpg
/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_35_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790616","1386790624","1386790612","1386790620","1386790571","1386790631"],"photo_ids_order":["1386790571","1386790612","1386790616","1386790620","1386790624","1386790631"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/54dafbc49e22132f5cd0f4e8eff28575.jpg","text":"TemporaryFile(/tmp/multipartBody7137425073354502526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172584921,"filename":"image_29092025_20_27_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/54404b97ce5f6a8acd82723c27eb6f94.jpg","text":"TemporaryFile(/tmp/multipartBody2695570879962902909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172584921,"filename":"image_29092025_20_26_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7876de5d7ce62ec78e854d041e3ac191.jpg","text":"TemporaryFile(/tmp/multipartBody6494925445731220915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172584921,"filename":"image_29092025_20_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/9/29/ed7a5ac9e62080d9bda46c73293480bd.jpg","text":"TemporaryFile(/tmp/multipartBody7497055133269725964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172584921,"filename":"image_29092025_20_26_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e65669f2cb95f43fe8ee2d0f8f23b269.jpg","text":"TemporaryFile(/tmp/multipartBody2301123333851585881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172584921,"filename":"image_29092025_20_27_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8fbf9e9a6e87bc2cf2dac833b84b946d.jpg","text":"TemporaryFile(/tmp/multipartBody4006255244085478975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172584921,"filename":"image_29092025_20_26_35_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790616","file1":"1386790612","file0":"1386790571","file4":"1386790624","file5":"1386790631","file3":"1386790620"},"map_files_photo_id_array":[{"photo_id":"1386790631","filename":"file5"},{"photo_id":"1386790616","filename":"file2"},{"photo_id":"1386790624","filename":"file4"},{"photo_id":"1386790612","filename":"file1"},{"photo_id":"1386790571","filename":"file0"},{"photo_id":"1386790620","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790616":["hashtag1","hashtag2"]},{"1386790624":["hashtag1","hashtag2"]},{"1386790612":["hashtag1","hashtag2"]},{"1386790620":["hashtag1","hashtag2"]},{"1386790571":["hashtag1","hashtag2"]},{"1386790631":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790616, 1386790624, 1386790612, 1386790620, 1386790571, 1386790631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.453752279281616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:02:47.724440
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_44_9797.jpg', 2), ('/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_35_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_24_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_14_9760.jpg', 2), ('/home/nano/Desktop/images/29092025/21/01/image_29092025_21_02_05_9757.jpg', 2), ('/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_55_10777.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_44_9797.jpg', '/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_35_10665.jpg', '/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_24_9667.jpg', '/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_14_9760.jpg', '/home/nano/Desktop/images/29092025/21/01/image_29092025_21_02_05_9757.jpg', '/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_55_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_44_9797.jpg
/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_35_10665.jpg
/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_24_9667.jpg
/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_14_9760.jpg
/home/nano/Desktop/images/29092025/21/01/image_29092025_21_02_05_9757.jpg
/home/nano/Desktop/images/29092025/21/01/image_29092025_21_01_55_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790675","1386790663","1386790680","1386790671","1386790659","1386790668"],"photo_ids_order":["1386790659","1386790663","1386790668","1386790671","1386790675","1386790680"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c5b3785255b7b037588d85448fbba4a0.jpg","text":"TemporaryFile(/tmp/multipartBody5490074784891778296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172629944,"filename":"image_29092025_21_02_05_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/25fc66bbd9c6eb2135e11d38d9b7b65c.jpg","text":"TemporaryFile(/tmp/multipartBody4040429571587016465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172629944,"filename":"image_29092025_21_02_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/84241135e41cba8b6ba588196cdfa324.jpg","text":"TemporaryFile(/tmp/multipartBody4318663060878611273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172629944,"filename":"image_29092025_21_01_55_10777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c94d185927e25dc3a906941a3190efda.jpg","text":"TemporaryFile(/tmp/multipartBody1431239112159579155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172629944,"filename":"image_29092025_21_02_14_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a25f564eec55685611374d51a9e99f37.jpg","text":"TemporaryFile(/tmp/multipartBody8476063455511081310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172629944,"filename":"image_29092025_21_02_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eaa5353bba8d6926ea6ae0a2584fa9f7.jpg","text":"TemporaryFile(/tmp/multipartBody3927345362028725708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172629944,"filename":"image_29092025_21_02_24_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790668","file1":"1386790663","file0":"1386790659","file4":"1386790675","file5":"1386790680","file3":"1386790671"},"map_files_photo_id_array":[{"photo_id":"1386790680","filename":"file5"},{"photo_id":"1386790668","filename":"file2"},{"photo_id":"1386790675","filename":"file4"},{"photo_id":"1386790663","filename":"file1"},{"photo_id":"1386790659","filename":"file0"},{"photo_id":"1386790671","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790675":["hashtag1","hashtag2"]},{"1386790663":["hashtag1","hashtag2"]},{"1386790680":["hashtag1","hashtag2"]},{"1386790671":["hashtag1","hashtag2"]},{"1386790659":["hashtag1","hashtag2"]},{"1386790668":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790675, 1386790663, 1386790680, 1386790671, 1386790659, 1386790668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47905135154724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:03:31.836765
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_45_10724.jpg', 2), ('/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_34_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_24_9758.jpg', 2), ('/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_15_9815.jpg', 2), ('/home/nano/Desktop/images/29092025/21/02/image_29092025_21_03_05_10724.jpg', 2), ('/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_54_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_45_10724.jpg', '/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_34_9677.jpg', '/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_24_9758.jpg', '/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_15_9815.jpg', '/home/nano/Desktop/images/29092025/21/02/image_29092025_21_03_05_10724.jpg', '/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_54_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_45_10724.jpg
/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_34_9677.jpg
/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_24_9758.jpg
/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_15_9815.jpg
/home/nano/Desktop/images/29092025/21/02/image_29092025_21_03_05_10724.jpg
/home/nano/Desktop/images/29092025/21/02/image_29092025_21_02_54_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790712","1386790700","1386790703","1386790707","1386790710","1386790697"],"photo_ids_order":["1386790697","1386790700","1386790703","1386790707","1386790710","1386790712"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/31ec3d06ceb32034e73294b8354c2ada.jpg","text":"TemporaryFile(/tmp/multipartBody5670011921457169848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172673723,"filename":"image_29092025_21_02_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/dd02a228984e328a23fb5d29f4842f28.jpg","text":"TemporaryFile(/tmp/multipartBody2055171801836759640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172673723,"filename":"image_29092025_21_03_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3fcfde06d6ee17daf873d0385052e13c.jpg","text":"TemporaryFile(/tmp/multipartBody3388210440364573291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172673723,"filename":"image_29092025_21_03_24_9758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bb2dbfb4c75f38a21644b227104b16e6.jpg","text":"TemporaryFile(/tmp/multipartBody2016851050568754883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172673723,"filename":"image_29092025_21_03_15_9815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8fa6978fb349dc565f0d99273d07fce2.jpg","text":"TemporaryFile(/tmp/multipartBody6805915256844170759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172673723,"filename":"image_29092025_21_03_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5f025ccd472ed5440baf9b076726998b.jpg","text":"TemporaryFile(/tmp/multipartBody4044907114103684505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172673723,"filename":"image_29092025_21_03_45_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790703","file1":"1386790700","file0":"1386790697","file4":"1386790710","file5":"1386790712","file3":"1386790707"},"map_files_photo_id_array":[{"photo_id":"1386790712","filename":"file5"},{"photo_id":"1386790703","filename":"file2"},{"photo_id":"1386790710","filename":"file4"},{"photo_id":"1386790700","filename":"file1"},{"photo_id":"1386790697","filename":"file0"},{"photo_id":"1386790707","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790712":["hashtag1","hashtag2"]},{"1386790700":["hashtag1","hashtag2"]},{"1386790703":["hashtag1","hashtag2"]},{"1386790707":["hashtag1","hashtag2"]},{"1386790710":["hashtag1","hashtag2"]},{"1386790697":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790712, 1386790700, 1386790703, 1386790707, 1386790710, 1386790697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57274413108826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:04:16.937852
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_44_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_35_9722.jpg', 2), ('/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_25_10704.jpg', 2), ('/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_14_9770.jpg', 2), ('/home/nano/Desktop/images/29092025/21/03/image_29092025_21_04_04_9782.jpg', 2), ('/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_55_9735.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_44_9716.jpg', '/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_35_9722.jpg', '/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_25_10704.jpg', '/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_14_9770.jpg', '/home/nano/Desktop/images/29092025/21/03/image_29092025_21_04_04_9782.jpg', '/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_55_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_44_9716.jpg
/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_35_9722.jpg
/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_25_10704.jpg
/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_14_9770.jpg
/home/nano/Desktop/images/29092025/21/03/image_29092025_21_04_04_9782.jpg
/home/nano/Desktop/images/29092025/21/03/image_29092025_21_03_55_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790727","1386790750","1386790738","1386790761","1386790770","1386790734"],"photo_ids_order":["1386790727","1386790734","1386790738","1386790750","1386790761","1386790770"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/90c30cee2b9dd28a1f60ddc21033f95b.jpg","text":"TemporaryFile(/tmp/multipartBody3229791433570163876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172719087,"filename":"image_29092025_21_04_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6a613325f59bb7f4ff71a57fb1fc22c9.jpg","text":"TemporaryFile(/tmp/multipartBody1560026615998160866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172719087,"filename":"image_29092025_21_04_14_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ee28e10e3b61e0ba01d673d83f9ca265.jpg","text":"TemporaryFile(/tmp/multipartBody5203905364833746971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172719087,"filename":"image_29092025_21_04_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e19d721b39639bfb5ecbfcd58c631e6e.jpg","text":"TemporaryFile(/tmp/multipartBody997641710690589520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172719087,"filename":"image_29092025_21_04_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/200ca70198d5e95ab52aa4f708f8ec7c.jpg","text":"TemporaryFile(/tmp/multipartBody1807752971843577450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172719087,"filename":"image_29092025_21_03_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8ed6372b6e7b02a5b3144c76ad79fbb4.jpg","text":"TemporaryFile(/tmp/multipartBody6098101397499551446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172719087,"filename":"image_29092025_21_04_35_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790738","file1":"1386790734","file0":"1386790727","file4":"1386790761","file5":"1386790770","file3":"1386790750"},"map_files_photo_id_array":[{"photo_id":"1386790770","filename":"file5"},{"photo_id":"1386790738","filename":"file2"},{"photo_id":"1386790761","filename":"file4"},{"photo_id":"1386790734","filename":"file1"},{"photo_id":"1386790727","filename":"file0"},{"photo_id":"1386790750","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790727":["hashtag1","hashtag2"]},{"1386790750":["hashtag1","hashtag2"]},{"1386790738":["hashtag1","hashtag2"]},{"1386790761":["hashtag1","hashtag2"]},{"1386790770":["hashtag1","hashtag2"]},{"1386790734":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790727, 1386790750, 1386790738, 1386790761, 1386790770, 1386790734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52084398269653 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:05:02.714449
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_25_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_14_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_26_05_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_55_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_44_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_35_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_25_10663.jpg', '/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_14_9638.jpg', '/home/nano/Desktop/images/29092025/20/25/image_29092025_20_26_05_9627.jpg', '/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_55_10642.jpg', '/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_44_9623.jpg', '/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_35_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_25_10663.jpg
/home/nano/Desktop/images/29092025/20/26/image_29092025_20_26_14_9638.jpg
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_26_05_9627.jpg
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_55_10642.jpg
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_44_9623.jpg
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_35_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790794","1386790782","1386790785","1386790799","1386790790","1386790803"],"photo_ids_order":["1386790782","1386790785","1386790790","1386790794","1386790799","1386790803"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/40526fb7b95529f480cd7c67b416d8e9.jpg","text":"TemporaryFile(/tmp/multipartBody6132226578136487757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172764673,"filename":"image_29092025_20_25_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/893321c1ab9bf45e1e865eb60f545f35.jpg","text":"TemporaryFile(/tmp/multipartBody8184096795965900456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172764673,"filename":"image_29092025_20_26_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/38182fb2410451d486c8707910ee06cd.jpg","text":"TemporaryFile(/tmp/multipartBody1115017752169577661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172764673,"filename":"image_29092025_20_26_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/9/29/0e437e1c648a96fa74fa5f326a1dcca3.jpg","text":"TemporaryFile(/tmp/multipartBody6404028535868175779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172764673,"filename":"image_29092025_20_25_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0cfcbaecd474609e2b2d372ab2286a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2253741245199892439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172764673,"filename":"image_29092025_20_26_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bb12fb4b60020ff408261e999bb17a37.jpg","text":"TemporaryFile(/tmp/multipartBody71385382721525608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172764673,"filename":"image_29092025_20_25_35_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790790","file1":"1386790785","file0":"1386790782","file4":"1386790799","file5":"1386790803","file3":"1386790794"},"map_files_photo_id_array":[{"photo_id":"1386790803","filename":"file5"},{"photo_id":"1386790790","filename":"file2"},{"photo_id":"1386790799","filename":"file4"},{"photo_id":"1386790785","filename":"file1"},{"photo_id":"1386790782","filename":"file0"},{"photo_id":"1386790794","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790794":["hashtag1","hashtag2"]},{"1386790782":["hashtag1","hashtag2"]},{"1386790785":["hashtag1","hashtag2"]},{"1386790799":["hashtag1","hashtag2"]},{"1386790790":["hashtag1","hashtag2"]},{"1386790803":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790794, 1386790782, 1386790785, 1386790799, 1386790790, 1386790803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.120173931121826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:05:47.059637
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_45_10706.jpg', 2), ('/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_34_9632.jpg', 2), ('/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_24_9726.jpg', 2), ('/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_15_9783.jpg', 2), ('/home/nano/Desktop/images/29092025/21/04/image_29092025_21_05_05_10745.jpg', 2), ('/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_54_9729.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_45_10706.jpg', '/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_34_9632.jpg', '/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_24_9726.jpg', '/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_15_9783.jpg', '/home/nano/Desktop/images/29092025/21/04/image_29092025_21_05_05_10745.jpg', '/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_54_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_45_10706.jpg
/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_34_9632.jpg
/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_24_9726.jpg
/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_15_9783.jpg
/home/nano/Desktop/images/29092025/21/04/image_29092025_21_05_05_10745.jpg
/home/nano/Desktop/images/29092025/21/04/image_29092025_21_04_54_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790828","1386790825","1386790860","1386790833","1386790856","1386790841"],"photo_ids_order":["1386790825","1386790828","1386790833","1386790841","1386790856","1386790860"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/604420f4375504b805ef67b7ed2de998.jpg","text":"TemporaryFile(/tmp/multipartBody5318400803240622056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172809893,"filename":"image_29092025_21_05_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c5e1c8f53582764b535882dbb948bbf8.jpg","text":"TemporaryFile(/tmp/multipartBody5651943395288015199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172809893,"filename":"image_29092025_21_05_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/82e2b68c8d667b040577f09102404f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3148563588564624773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172809893,"filename":"image_29092025_21_04_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a44c524212d319998209a0d4707f9464.jpg","text":"TemporaryFile(/tmp/multipartBody6374963370697278497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172809893,"filename":"image_29092025_21_05_24_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4db9bc715aa616a1b4328b967a88d77f.jpg","text":"TemporaryFile(/tmp/multipartBody2146793324017441345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172809893,"filename":"image_29092025_21_05_05_10745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/633c094e50dbc0f7af328c8319fd19ce.jpg","text":"TemporaryFile(/tmp/multipartBody7930819861951892741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172809893,"filename":"image_29092025_21_05_15_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790833","file1":"1386790828","file0":"1386790825","file4":"1386790856","file5":"1386790860","file3":"1386790841"},"map_files_photo_id_array":[{"photo_id":"1386790860","filename":"file5"},{"photo_id":"1386790833","filename":"file2"},{"photo_id":"1386790856","filename":"file4"},{"photo_id":"1386790828","filename":"file1"},{"photo_id":"1386790825","filename":"file0"},{"photo_id":"1386790841","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790828":["hashtag1","hashtag2"]},{"1386790825":["hashtag1","hashtag2"]},{"1386790860":["hashtag1","hashtag2"]},{"1386790833":["hashtag1","hashtag2"]},{"1386790856":["hashtag1","hashtag2"]},{"1386790841":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790828, 1386790825, 1386790860, 1386790833, 1386790856, 1386790841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60628294944763 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:06:32.168567
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_45_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_34_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_24_9628.jpg', 2), ('/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_15_10777.jpg', 2), ('/home/nano/Desktop/images/29092025/21/05/image_29092025_21_06_04_9726.jpg', 2), ('/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_54_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_45_10644.jpg', '/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_34_9674.jpg', '/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_24_9628.jpg', '/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_15_10777.jpg', '/home/nano/Desktop/images/29092025/21/05/image_29092025_21_06_04_9726.jpg', '/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_54_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_45_10644.jpg
/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_34_9674.jpg
/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_24_9628.jpg
/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_15_10777.jpg
/home/nano/Desktop/images/29092025/21/05/image_29092025_21_06_04_9726.jpg
/home/nano/Desktop/images/29092025/21/05/image_29092025_21_05_54_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790897","1386790882","1386790888","1386790893","1386790884","1386790901"],"photo_ids_order":["1386790882","1386790884","1386790888","1386790893","1386790897","1386790901"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/54d4ef437cfcd162eeb8f5a90a12c8dd.jpg","text":"TemporaryFile(/tmp/multipartBody536255246296345585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172853756,"filename":"image_29092025_21_06_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9a35624a261b574aab11deb5920d6be4.jpg","text":"TemporaryFile(/tmp/multipartBody2653447369861096918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172853756,"filename":"image_29092025_21_06_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c7c56c670b3906a4088a54d15ce753c3.jpg","text":"TemporaryFile(/tmp/multipartBody7589707203053763402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172853756,"filename":"image_29092025_21_06_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c57ca61128559b2895b4004f6ef2a14e.jpg","text":"TemporaryFile(/tmp/multipartBody7902430304362695256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172853756,"filename":"image_29092025_21_06_15_10777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/af9feebab4531effcd56436a89434ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3230559166337178088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172853756,"filename":"image_29092025_21_06_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0e49dab593c90c5a3a47af3217203b88.jpg","text":"TemporaryFile(/tmp/multipartBody951457021750165290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172853756,"filename":"image_29092025_21_05_54_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790888","file1":"1386790884","file0":"1386790882","file4":"1386790897","file5":"1386790901","file3":"1386790893"},"map_files_photo_id_array":[{"photo_id":"1386790901","filename":"file5"},{"photo_id":"1386790888","filename":"file2"},{"photo_id":"1386790897","filename":"file4"},{"photo_id":"1386790884","filename":"file1"},{"photo_id":"1386790882","filename":"file0"},{"photo_id":"1386790893","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790897":["hashtag1","hashtag2"]},{"1386790882":["hashtag1","hashtag2"]},{"1386790888":["hashtag1","hashtag2"]},{"1386790893":["hashtag1","hashtag2"]},{"1386790884":["hashtag1","hashtag2"]},{"1386790901":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790897, 1386790882, 1386790888, 1386790893, 1386790884, 1386790901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10042715072632 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:07:17.272125
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_45_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_35_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_24_9610.jpg', 2), ('/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_15_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/21/06/image_29092025_21_07_04_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_45_9641.jpg', '/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_35_10656.jpg', '/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_24_9610.jpg', '/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_15_10653.jpg', '/home/nano/Desktop/images/29092025/21/06/image_29092025_21_07_04_9620.jpg', '/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_45_9641.jpg
/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_35_10656.jpg
/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_24_9610.jpg
/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_15_10653.jpg
/home/nano/Desktop/images/29092025/21/06/image_29092025_21_07_04_9620.jpg
/home/nano/Desktop/images/29092025/21/06/image_29092025_21_06_54_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386790925","1386790935","1386790932","1386790929","1386790920","1386790916"],"photo_ids_order":["1386790916","1386790920","1386790925","1386790929","1386790932","1386790935"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2a3431f98b8a8691c206ef392ea01fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8063299069876398105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172898873,"filename":"image_29092025_21_07_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/efc18c8307ce6b025d76508daea73b58.jpg","text":"TemporaryFile(/tmp/multipartBody7395249816071911215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172898873,"filename":"image_29092025_21_06_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0a634e944e981caf004e0b90caf28e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3185042749049077632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172898873,"filename":"image_29092025_21_07_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/188c56780d1f907425b1131bf0340f67.jpg","text":"TemporaryFile(/tmp/multipartBody8343572507188162253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172898873,"filename":"image_29092025_21_07_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/547aca05daa888385926845687798971.jpg","text":"TemporaryFile(/tmp/multipartBody6581848158905471955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172898873,"filename":"image_29092025_21_07_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f1fe8a311a11f01e9e7ebb842ff520ba.jpg","text":"TemporaryFile(/tmp/multipartBody2621031882304337741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172898873,"filename":"image_29092025_21_07_45_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790925","file1":"1386790920","file0":"1386790916","file4":"1386790932","file5":"1386790935","file3":"1386790929"},"map_files_photo_id_array":[{"photo_id":"1386790935","filename":"file5"},{"photo_id":"1386790925","filename":"file2"},{"photo_id":"1386790932","filename":"file4"},{"photo_id":"1386790920","filename":"file1"},{"photo_id":"1386790916","filename":"file0"},{"photo_id":"1386790929","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790925":["hashtag1","hashtag2"]},{"1386790935":["hashtag1","hashtag2"]},{"1386790932":["hashtag1","hashtag2"]},{"1386790929":["hashtag1","hashtag2"]},{"1386790920":["hashtag1","hashtag2"]},{"1386790916":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790925, 1386790935, 1386790932, 1386790929, 1386790920, 1386790916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03155779838562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:08:02.801957
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_24_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_14_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/20/24/image_29092025_20_25_05_10639.jpg', 2), ('/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_54_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_45_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_35_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_24_9616.jpg', '/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_14_9648.jpg', '/home/nano/Desktop/images/29092025/20/24/image_29092025_20_25_05_10639.jpg', '/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_54_9623.jpg', '/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_45_9625.jpg', '/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_35_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_24_9616.jpg
/home/nano/Desktop/images/29092025/20/25/image_29092025_20_25_14_9648.jpg
/home/nano/Desktop/images/29092025/20/24/image_29092025_20_25_05_10639.jpg
/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_54_9623.jpg
/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_45_9625.jpg
/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_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":["1386790960","1386790965","1386790950","1386790947","1386790973","1386790955"],"photo_ids_order":["1386790947","1386790950","1386790955","1386790960","1386790965","1386790973"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7630280762ba164f8e78c402313ca9e9.jpg","text":"TemporaryFile(/tmp/multipartBody9007226923781003173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172944209,"filename":"image_29092025_20_24_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a43e33bc8f33d3f61dc1f9dda6ff309a.jpg","text":"TemporaryFile(/tmp/multipartBody2252586652838290940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172944209,"filename":"image_29092025_20_24_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/34e44462f50d6cd13bca39fa138e9d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7070501294166182711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172944209,"filename":"image_29092025_20_25_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1de537067dfcb5bf42bf62b3af6574a1.jpg","text":"TemporaryFile(/tmp/multipartBody2902596957631403394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172944209,"filename":"image_29092025_20_25_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e24a4e7f5f4721db489730853bc6f920.jpg","text":"TemporaryFile(/tmp/multipartBody7536451175247805680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172944209,"filename":"image_29092025_20_24_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/9/29/cda4e71b439e23d6f08a0a79e8634f69.jpg","text":"TemporaryFile(/tmp/multipartBody321278418725705544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172944209,"filename":"image_29092025_20_25_05_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790955","file1":"1386790950","file0":"1386790947","file4":"1386790965","file5":"1386790973","file3":"1386790960"},"map_files_photo_id_array":[{"photo_id":"1386790973","filename":"file5"},{"photo_id":"1386790955","filename":"file2"},{"photo_id":"1386790965","filename":"file4"},{"photo_id":"1386790950","filename":"file1"},{"photo_id":"1386790947","filename":"file0"},{"photo_id":"1386790960","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386790960":["hashtag1","hashtag2"]},{"1386790965":["hashtag1","hashtag2"]},{"1386790950":["hashtag1","hashtag2"]},{"1386790947":["hashtag1","hashtag2"]},{"1386790973":["hashtag1","hashtag2"]},{"1386790955":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386790960, 1386790965, 1386790950, 1386790947, 1386790973, 1386790955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.918485164642334 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:08:47.382934
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_35_10585.jpg', 2), ('/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_24_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_15_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/21/07/image_29092025_21_08_05_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_54_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_24_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_35_10585.jpg', '/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_24_9661.jpg', '/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_15_9662.jpg', '/home/nano/Desktop/images/29092025/21/07/image_29092025_21_08_05_10650.jpg', '/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_54_9641.jpg', '/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_24_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_35_10585.jpg
/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_24_9661.jpg
/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_15_9662.jpg
/home/nano/Desktop/images/29092025/21/07/image_29092025_21_08_05_10650.jpg
/home/nano/Desktop/images/29092025/21/07/image_29092025_21_07_54_9641.jpg
/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_24_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791011","1386790999","1386791002","1386790991","1386790994","1386791006"],"photo_ids_order":["1386790991","1386790994","1386790999","1386791002","1386791006","1386791011"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ef95e84f8d4e572093ab5de298e2850f.jpg","text":"TemporaryFile(/tmp/multipartBody2775136373220806739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172988805,"filename":"image_29092025_20_24_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9b4dd3516dcb043eecc3d7a90ea54f83.jpg","text":"TemporaryFile(/tmp/multipartBody4127563314834169874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172988805,"filename":"image_29092025_21_08_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f5d3db850f3e2e7ed9d6c91a3b5f8d00.jpg","text":"TemporaryFile(/tmp/multipartBody2093103520344836222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172988805,"filename":"image_29092025_21_08_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/115bc1319c2a4488ae3d9ea754eb4beb.jpg","text":"TemporaryFile(/tmp/multipartBody965253076608648470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172988805,"filename":"image_29092025_21_08_35_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c15aeea90b4ad8fbf7db98dc8542331f.jpg","text":"TemporaryFile(/tmp/multipartBody415705748460796958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172988805,"filename":"image_29092025_21_08_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/9/29/207b9e5a86d66899e91dca5a1bf665f3.jpg","text":"TemporaryFile(/tmp/multipartBody746956863658646857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172988805,"filename":"image_29092025_21_07_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790999","file1":"1386790994","file0":"1386790991","file4":"1386791006","file5":"1386791011","file3":"1386791002"},"map_files_photo_id_array":[{"photo_id":"1386791011","filename":"file5"},{"photo_id":"1386790999","filename":"file2"},{"photo_id":"1386791006","filename":"file4"},{"photo_id":"1386790994","filename":"file1"},{"photo_id":"1386790991","filename":"file0"},{"photo_id":"1386791002","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791011":["hashtag1","hashtag2"]},{"1386790999":["hashtag1","hashtag2"]},{"1386791002":["hashtag1","hashtag2"]},{"1386790991":["hashtag1","hashtag2"]},{"1386790994":["hashtag1","hashtag2"]},{"1386791006":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791011, 1386790999, 1386791002, 1386790991, 1386790994, 1386791006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06220817565918 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:09:32.500509
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_34_9572.jpg', 2), ('/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_25_10582.jpg', 2), ('/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_14_9593.jpg', 2), ('/home/nano/Desktop/images/29092025/21/08/image_29092025_21_09_05_9589.jpg', 2), ('/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_55_10586.jpg', 2), ('/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_15_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_34_9572.jpg', '/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_25_10582.jpg', '/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_14_9593.jpg', '/home/nano/Desktop/images/29092025/21/08/image_29092025_21_09_05_9589.jpg', '/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_55_10586.jpg', '/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_34_9572.jpg
/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_25_10582.jpg
/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_14_9593.jpg
/home/nano/Desktop/images/29092025/21/08/image_29092025_21_09_05_9589.jpg
/home/nano/Desktop/images/29092025/21/08/image_29092025_21_08_55_10586.jpg
/home/nano/Desktop/images/29092025/20/24/image_29092025_20_24_15_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":["1386791040","1386791031","1386791051","1386791045","1386791057","1386791036"],"photo_ids_order":["1386791031","1386791036","1386791040","1386791045","1386791051","1386791057"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/adb4e92b78169fe687b0024bfb457d1e.jpg","text":"TemporaryFile(/tmp/multipartBody6595824038969168083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173033794,"filename":"image_29092025_21_09_14_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/83a534cc5adbb5bfb7783addbe971ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1977994529090676583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173033794,"filename":"image_29092025_21_09_34_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c911fb14fcc4d5701f3ade33c43e52f2.jpg","text":"TemporaryFile(/tmp/multipartBody2270706207955712239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173033794,"filename":"image_29092025_21_08_55_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d3da414e5dea568b104dcb093a70e1a1.jpg","text":"TemporaryFile(/tmp/multipartBody1271409291512701088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173033794,"filename":"image_29092025_21_09_05_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c80338f983f51bcb0424bf84a9a36da3.jpg","text":"TemporaryFile(/tmp/multipartBody756873768145831530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173033794,"filename":"image_29092025_20_24_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/63d037a5bc33f9e4858341634ff14851.jpg","text":"TemporaryFile(/tmp/multipartBody8441905046270839222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173033794,"filename":"image_29092025_21_09_25_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791040","file1":"1386791036","file0":"1386791031","file4":"1386791051","file5":"1386791057","file3":"1386791045"},"map_files_photo_id_array":[{"photo_id":"1386791057","filename":"file5"},{"photo_id":"1386791040","filename":"file2"},{"photo_id":"1386791051","filename":"file4"},{"photo_id":"1386791036","filename":"file1"},{"photo_id":"1386791031","filename":"file0"},{"photo_id":"1386791045","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791040":["hashtag1","hashtag2"]},{"1386791031":["hashtag1","hashtag2"]},{"1386791051":["hashtag1","hashtag2"]},{"1386791045":["hashtag1","hashtag2"]},{"1386791057":["hashtag1","hashtag2"]},{"1386791036":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791040, 1386791031, 1386791051, 1386791045, 1386791057, 1386791036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07690620422363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:10:17.635671
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_44_9575.jpg', 2), ('/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_35_10584.jpg', 2), ('/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_24_9573.jpg', 2), ('/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_15_10601.jpg', 2), ('/home/nano/Desktop/images/29092025/21/09/image_29092025_21_10_04_9575.jpg', 2), ('/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_54_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_44_9575.jpg', '/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_35_10584.jpg', '/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_24_9573.jpg', '/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_15_10601.jpg', '/home/nano/Desktop/images/29092025/21/09/image_29092025_21_10_04_9575.jpg', '/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_54_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_44_9575.jpg
/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_35_10584.jpg
/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_24_9573.jpg
/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_15_10601.jpg
/home/nano/Desktop/images/29092025/21/09/image_29092025_21_10_04_9575.jpg
/home/nano/Desktop/images/29092025/21/09/image_29092025_21_09_54_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791083","1386791090","1386791093","1386791087","1386791080","1386791074"],"photo_ids_order":["1386791074","1386791080","1386791083","1386791087","1386791090","1386791093"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/08f434621a55bfd800b696b4211b9396.jpg","text":"TemporaryFile(/tmp/multipartBody6509558697790968995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173078979,"filename":"image_29092025_21_10_24_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b1bd6fe299443b83f91390138f82614a.jpg","text":"TemporaryFile(/tmp/multipartBody5848479766982807777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173078979,"filename":"image_29092025_21_10_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8a4dce9c64c6c4d4b0c3008f17e81b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6489966445491748519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173078979,"filename":"image_29092025_21_09_54_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/58d121e15f1c87eb432a7ea5496e0897.jpg","text":"TemporaryFile(/tmp/multipartBody3251333053356502689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173078979,"filename":"image_29092025_21_10_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cd8e1b76ba969e82a2e6419463cf47e1.jpg","text":"TemporaryFile(/tmp/multipartBody6949692155370389283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173078979,"filename":"image_29092025_21_10_35_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bcc4185c6a9af7033aee16721355dc36.jpg","text":"TemporaryFile(/tmp/multipartBody1196117274523633356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173078979,"filename":"image_29092025_21_10_44_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791083","file1":"1386791080","file0":"1386791074","file4":"1386791090","file5":"1386791093","file3":"1386791087"},"map_files_photo_id_array":[{"photo_id":"1386791093","filename":"file5"},{"photo_id":"1386791083","filename":"file2"},{"photo_id":"1386791090","filename":"file4"},{"photo_id":"1386791080","filename":"file1"},{"photo_id":"1386791074","filename":"file0"},{"photo_id":"1386791087","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791083":["hashtag1","hashtag2"]},{"1386791090":["hashtag1","hashtag2"]},{"1386791093":["hashtag1","hashtag2"]},{"1386791087":["hashtag1","hashtag2"]},{"1386791080":["hashtag1","hashtag2"]},{"1386791074":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791083, 1386791090, 1386791093, 1386791087, 1386791080, 1386791074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65454125404358 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:11:03.537831
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/23/image_29092025_20_24_04_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_54_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_45_10641.jpg', 2), ('/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_34_9629.jpg', 2), ('/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_24_9619.jpg', 2), ('/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_15_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/23/image_29092025_20_24_04_9624.jpg', '/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_54_9622.jpg', '/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_45_10641.jpg', '/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_34_9629.jpg', '/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_24_9619.jpg', '/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_15_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/23/image_29092025_20_24_04_9624.jpg
/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_54_9622.jpg
/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_45_10641.jpg
/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_34_9629.jpg
/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_24_9619.jpg
/home/nano/Desktop/images/29092025/20/23/image_29092025_20_23_15_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791110","1386791124","1386791120","1386791114","1386791117","1386791105"],"photo_ids_order":["1386791105","1386791110","1386791114","1386791117","1386791120","1386791124"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8f935dd779b0c27ef77665ba36bb80c5.jpg","text":"TemporaryFile(/tmp/multipartBody4164366899097975273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173124893,"filename":"image_29092025_20_23_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/dff626016de2cf634f6b838d1a06fcba.jpg","text":"TemporaryFile(/tmp/multipartBody8541202868562585095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173124893,"filename":"image_29092025_20_23_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/61d276c5580c1d1acc1a78c67522ccc3.jpg","text":"TemporaryFile(/tmp/multipartBody1117660460992724528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173124893,"filename":"image_29092025_20_23_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/38bf97938e66bf6feb92d4b26990499a.jpg","text":"TemporaryFile(/tmp/multipartBody3065826942421309069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173124893,"filename":"image_29092025_20_23_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8a3d9b66b43e37dff926d7a43a163f9a.jpg","text":"TemporaryFile(/tmp/multipartBody6781663165353351357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173124893,"filename":"image_29092025_20_23_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8c174cc7cceccc73be708c8da9ddbe3f.jpg","text":"TemporaryFile(/tmp/multipartBody7876505883278442829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173124893,"filename":"image_29092025_20_24_04_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791114","file1":"1386791110","file0":"1386791105","file4":"1386791120","file5":"1386791124","file3":"1386791117"},"map_files_photo_id_array":[{"photo_id":"1386791124","filename":"file5"},{"photo_id":"1386791114","filename":"file2"},{"photo_id":"1386791120","filename":"file4"},{"photo_id":"1386791110","filename":"file1"},{"photo_id":"1386791105","filename":"file0"},{"photo_id":"1386791117","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791110":["hashtag1","hashtag2"]},{"1386791124":["hashtag1","hashtag2"]},{"1386791120":["hashtag1","hashtag2"]},{"1386791114":["hashtag1","hashtag2"]},{"1386791117":["hashtag1","hashtag2"]},{"1386791105":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791110, 1386791124, 1386791120, 1386791114, 1386791117, 1386791105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.992244482040405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:11:47.746921
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_44_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_35_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_25_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_14_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/21/10/image_29092025_21_11_05_9593.jpg', 2), ('/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_55_10583.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_44_9674.jpg', '/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_35_9663.jpg', '/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_25_10671.jpg', '/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_14_9701.jpg', '/home/nano/Desktop/images/29092025/21/10/image_29092025_21_11_05_9593.jpg', '/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_55_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_44_9674.jpg
/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_35_9663.jpg
/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_25_10671.jpg
/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_14_9701.jpg
/home/nano/Desktop/images/29092025/21/10/image_29092025_21_11_05_9593.jpg
/home/nano/Desktop/images/29092025/21/10/image_29092025_21_10_55_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791149","1386791146","1386791151","1386791163","1386791157","1386791142"],"photo_ids_order":["1386791142","1386791146","1386791149","1386791151","1386791157","1386791163"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e7ec3ec1edc5707409fa520947d5ba56.jpg","text":"TemporaryFile(/tmp/multipartBody1952447214140568547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173169571,"filename":"image_29092025_21_11_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d06539a1523705b3fe94ad2e225c053f.jpg","text":"TemporaryFile(/tmp/multipartBody416855327628505197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173169571,"filename":"image_29092025_21_11_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/154902a0882e0fca83df869f94e91f45.jpg","text":"TemporaryFile(/tmp/multipartBody3161388829082213339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173169571,"filename":"image_29092025_21_11_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b845876e9a9e0ddc1e5fabe045489024.jpg","text":"TemporaryFile(/tmp/multipartBody5105706390427794530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173169571,"filename":"image_29092025_21_10_55_10583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/84bbdfb3cfea7f0b26c66fec9cdda49b.jpg","text":"TemporaryFile(/tmp/multipartBody5994349114987290871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173169571,"filename":"image_29092025_21_11_05_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/14148810bc80ffa16349f8066a772285.jpg","text":"TemporaryFile(/tmp/multipartBody8132286082984869756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173169571,"filename":"image_29092025_21_11_44_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791149","file1":"1386791146","file0":"1386791142","file4":"1386791157","file5":"1386791163","file3":"1386791151"},"map_files_photo_id_array":[{"photo_id":"1386791163","filename":"file5"},{"photo_id":"1386791149","filename":"file2"},{"photo_id":"1386791157","filename":"file4"},{"photo_id":"1386791146","filename":"file1"},{"photo_id":"1386791142","filename":"file0"},{"photo_id":"1386791151","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791149":["hashtag1","hashtag2"]},{"1386791146":["hashtag1","hashtag2"]},{"1386791151":["hashtag1","hashtag2"]},{"1386791163":["hashtag1","hashtag2"]},{"1386791157":["hashtag1","hashtag2"]},{"1386791142":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791149, 1386791146, 1386791151, 1386791163, 1386791157, 1386791142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.286102056503296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:12:31.837853
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_44_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_35_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_25_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_14_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/21/11/image_29092025_21_12_05_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_55_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_44_9650.jpg', '/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_35_9649.jpg', '/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_25_10676.jpg', '/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_14_9699.jpg', '/home/nano/Desktop/images/29092025/21/11/image_29092025_21_12_05_9668.jpg', '/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_55_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_44_9650.jpg
/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_35_9649.jpg
/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_25_10676.jpg
/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_14_9699.jpg
/home/nano/Desktop/images/29092025/21/11/image_29092025_21_12_05_9668.jpg
/home/nano/Desktop/images/29092025/21/11/image_29092025_21_11_55_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791224","1386791233","1386791193","1386791183","1386791204","1386791188"],"photo_ids_order":["1386791183","1386791188","1386791193","1386791204","1386791224","1386791233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f17200c0a4278014d639f3f3594b3f01.jpg","text":"TemporaryFile(/tmp/multipartBody2844330106507916329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173213648,"filename":"image_29092025_21_12_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bbe40fa0457489f9c46ee3e6eda671d1.jpg","text":"TemporaryFile(/tmp/multipartBody7612003339626670237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173213648,"filename":"image_29092025_21_11_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1f51d382964695d18c28cef5b3460d52.jpg","text":"TemporaryFile(/tmp/multipartBody5957443737779599668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173213648,"filename":"image_29092025_21_12_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/42a37a4469cc3c18c599777becbc1751.jpg","text":"TemporaryFile(/tmp/multipartBody8856607196359191074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173213648,"filename":"image_29092025_21_12_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c7feb9282534db90040c0834a999e63d.jpg","text":"TemporaryFile(/tmp/multipartBody6363726955637797989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173213648,"filename":"image_29092025_21_12_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/94fbdd18b37b0529ea266feb1c8773ba.jpg","text":"TemporaryFile(/tmp/multipartBody1984453564698131043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173213648,"filename":"image_29092025_21_12_35_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791193","file1":"1386791188","file0":"1386791183","file4":"1386791224","file5":"1386791233","file3":"1386791204"},"map_files_photo_id_array":[{"photo_id":"1386791233","filename":"file5"},{"photo_id":"1386791193","filename":"file2"},{"photo_id":"1386791224","filename":"file4"},{"photo_id":"1386791188","filename":"file1"},{"photo_id":"1386791183","filename":"file0"},{"photo_id":"1386791204","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791224":["hashtag1","hashtag2"]},{"1386791233":["hashtag1","hashtag2"]},{"1386791193":["hashtag1","hashtag2"]},{"1386791183":["hashtag1","hashtag2"]},{"1386791204":["hashtag1","hashtag2"]},{"1386791188":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791224, 1386791233, 1386791193, 1386791183, 1386791204, 1386791188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6282639503479 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:13:16.937357
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_35_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_14_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/21/12/image_29092025_21_13_05_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_55_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/20/22/image_29092025_20_23_04_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_44_9656.jpg', '/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_35_9650.jpg', '/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_14_9661.jpg', '/home/nano/Desktop/images/29092025/21/12/image_29092025_21_13_05_9664.jpg', '/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_55_10657.jpg', '/home/nano/Desktop/images/29092025/20/22/image_29092025_20_23_04_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_44_9656.jpg
/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_35_9650.jpg
/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_14_9661.jpg
/home/nano/Desktop/images/29092025/21/12/image_29092025_21_13_05_9664.jpg
/home/nano/Desktop/images/29092025/21/12/image_29092025_21_12_55_10657.jpg
/home/nano/Desktop/images/29092025/20/22/image_29092025_20_23_04_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791260","1386791250","1386791268","1386791247","1386791264","1386791255"],"photo_ids_order":["1386791247","1386791250","1386791255","1386791260","1386791264","1386791268"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cf3b2d5b42dbfc6efb59ce40033547c3.jpg","text":"TemporaryFile(/tmp/multipartBody5335647205932698021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173258595,"filename":"image_29092025_21_13_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/50f772ef678fc531bc0fcd9e89a402bd.jpg","text":"TemporaryFile(/tmp/multipartBody6763836571665433271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173258595,"filename":"image_29092025_21_13_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b8b890283d884d0c66249c7a1b43e527.jpg","text":"TemporaryFile(/tmp/multipartBody5205478344423034340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173258595,"filename":"image_29092025_20_23_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/9/29/28ee510fff5b446dbe54dcc2cf808884.jpg","text":"TemporaryFile(/tmp/multipartBody2904489104913449440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173258595,"filename":"image_29092025_21_13_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/9/29/d48fbbf8c7d73712d0f586a12f35fc0b.jpg","text":"TemporaryFile(/tmp/multipartBody3781261458503082198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173258595,"filename":"image_29092025_21_12_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d2c5efb934d1f0134a9a687eb1c7fc43.jpg","text":"TemporaryFile(/tmp/multipartBody3039939946112852544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173258595,"filename":"image_29092025_21_13_14_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791255","file1":"1386791250","file0":"1386791247","file4":"1386791264","file5":"1386791268","file3":"1386791260"},"map_files_photo_id_array":[{"photo_id":"1386791268","filename":"file5"},{"photo_id":"1386791255","filename":"file2"},{"photo_id":"1386791264","filename":"file4"},{"photo_id":"1386791250","filename":"file1"},{"photo_id":"1386791247","filename":"file0"},{"photo_id":"1386791260","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791260":["hashtag1","hashtag2"]},{"1386791250":["hashtag1","hashtag2"]},{"1386791268":["hashtag1","hashtag2"]},{"1386791247":["hashtag1","hashtag2"]},{"1386791264":["hashtag1","hashtag2"]},{"1386791255":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791260, 1386791250, 1386791268, 1386791247, 1386791264, 1386791255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.570070028305054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:14:02.583873
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_55_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_45_10710.jpg', 2), ('/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_34_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_24_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_15_10703.jpg', 2), ('/home/nano/Desktop/images/29092025/20/21/image_29092025_20_22_04_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_55_9636.jpg', '/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_45_10710.jpg', '/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_34_9691.jpg', '/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_24_9677.jpg', '/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_15_10703.jpg', '/home/nano/Desktop/images/29092025/20/21/image_29092025_20_22_04_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_55_9636.jpg
/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_45_10710.jpg
/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_34_9691.jpg
/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_24_9677.jpg
/home/nano/Desktop/images/29092025/20/22/image_29092025_20_22_15_10703.jpg
/home/nano/Desktop/images/29092025/20/21/image_29092025_20_22_04_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":["1386791296","1386791292","1386791304","1386791288","1386791300","1386791284"],"photo_ids_order":["1386791284","1386791288","1386791292","1386791296","1386791300","1386791304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8e64f49415491721846f18238f1d23ba.jpg","text":"TemporaryFile(/tmp/multipartBody8156492187820028965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173304453,"filename":"image_29092025_20_22_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0321144c32caa4f0237c0e6f8d135e16.jpg","text":"TemporaryFile(/tmp/multipartBody7537149918917978301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173304453,"filename":"image_29092025_20_22_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/027c81d2f3c6a19183025187f8e4ecab.jpg","text":"TemporaryFile(/tmp/multipartBody6418455304339151944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173304453,"filename":"image_29092025_20_22_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/9/29/aace6a4f7143f8cf3220243fc89d85d9.jpg","text":"TemporaryFile(/tmp/multipartBody6348053113405313145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173304453,"filename":"image_29092025_20_22_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/76e7542cd82948088b83a7e40eeeac2b.jpg","text":"TemporaryFile(/tmp/multipartBody1173157247016956400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173304453,"filename":"image_29092025_20_22_15_10703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a2ad96aecdefab61c27f2409124d1bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8798624911028077539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173304453,"filename":"image_29092025_20_22_55_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791292","file1":"1386791288","file0":"1386791284","file4":"1386791300","file5":"1386791304","file3":"1386791296"},"map_files_photo_id_array":[{"photo_id":"1386791304","filename":"file5"},{"photo_id":"1386791292","filename":"file2"},{"photo_id":"1386791300","filename":"file4"},{"photo_id":"1386791288","filename":"file1"},{"photo_id":"1386791284","filename":"file0"},{"photo_id":"1386791296","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791296":["hashtag1","hashtag2"]},{"1386791292":["hashtag1","hashtag2"]},{"1386791304":["hashtag1","hashtag2"]},{"1386791288":["hashtag1","hashtag2"]},{"1386791300":["hashtag1","hashtag2"]},{"1386791284":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791296, 1386791292, 1386791304, 1386791288, 1386791300, 1386791284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4221715927124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:14:47.021266
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_44_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_35_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_14_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/21/13/image_29092025_21_14_05_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_55_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_54_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_44_9652.jpg', '/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_35_9667.jpg', '/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_14_9683.jpg', '/home/nano/Desktop/images/29092025/21/13/image_29092025_21_14_05_9658.jpg', '/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_55_10666.jpg', '/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_44_9652.jpg
/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_35_9667.jpg
/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_14_9683.jpg
/home/nano/Desktop/images/29092025/21/13/image_29092025_21_14_05_9658.jpg
/home/nano/Desktop/images/29092025/21/13/image_29092025_21_13_55_10666.jpg
/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_54_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":["1386791341","1386791346","1386791337","1386791342","1386791351","1386791333"],"photo_ids_order":["1386791333","1386791337","1386791341","1386791342","1386791346","1386791351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6c786e381e6fb17575bf36f0f3e14928.jpg","text":"TemporaryFile(/tmp/multipartBody8513376430438223016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173348716,"filename":"image_29092025_21_14_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/9/29/53d1be209dbbebc0bc82da1d7eb06241.jpg","text":"TemporaryFile(/tmp/multipartBody34087169663125547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173348716,"filename":"image_29092025_21_13_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/927d81d032ce52e0e95648027371453e.jpg","text":"TemporaryFile(/tmp/multipartBody7293796541422454746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173348716,"filename":"image_29092025_21_14_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0d5dfa8760b7c239a29753e9af844aa1.jpg","text":"TemporaryFile(/tmp/multipartBody396116568213122427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173348716,"filename":"image_29092025_21_14_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/171e0dd09b107c96cf9f7a4634d319dc.jpg","text":"TemporaryFile(/tmp/multipartBody8147126070852126839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173348716,"filename":"image_29092025_20_21_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ecc380b4c18d00ee79e925862e66901e.jpg","text":"TemporaryFile(/tmp/multipartBody8908640358837997424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173348716,"filename":"image_29092025_21_14_44_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791341","file1":"1386791337","file0":"1386791333","file4":"1386791346","file5":"1386791351","file3":"1386791342"},"map_files_photo_id_array":[{"photo_id":"1386791351","filename":"file5"},{"photo_id":"1386791341","filename":"file2"},{"photo_id":"1386791346","filename":"file4"},{"photo_id":"1386791337","filename":"file1"},{"photo_id":"1386791333","filename":"file0"},{"photo_id":"1386791342","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791341":["hashtag1","hashtag2"]},{"1386791346":["hashtag1","hashtag2"]},{"1386791337":["hashtag1","hashtag2"]},{"1386791342":["hashtag1","hashtag2"]},{"1386791351":["hashtag1","hashtag2"]},{"1386791333":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791341, 1386791346, 1386791337, 1386791342, 1386791351, 1386791333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37531304359436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:15:32.137158
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_35_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_25_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_14_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/21/14/image_29092025_21_15_05_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_44_9646.jpg', '/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_35_9647.jpg', '/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_25_10664.jpg', '/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_14_9676.jpg', '/home/nano/Desktop/images/29092025/21/14/image_29092025_21_15_05_9681.jpg', '/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_44_9646.jpg
/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_35_9647.jpg
/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_25_10664.jpg
/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_14_9676.jpg
/home/nano/Desktop/images/29092025/21/14/image_29092025_21_15_05_9681.jpg
/home/nano/Desktop/images/29092025/21/14/image_29092025_21_14_55_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":["1386791380","1386791376","1386791391","1386791370","1386791369","1386791386"],"photo_ids_order":["1386791369","1386791370","1386791376","1386791380","1386791386","1386791391"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ffeb8bdd6dc52cb59648a278015dc801.jpg","text":"TemporaryFile(/tmp/multipartBody8291889133194488052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173393710,"filename":"image_29092025_21_15_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/9/29/d452e414d1669d041e04f919ef0b876f.jpg","text":"TemporaryFile(/tmp/multipartBody4833523924552663012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173393710,"filename":"image_29092025_21_15_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3d93e370e1ec39a7f2a72512d99aa70f.jpg","text":"TemporaryFile(/tmp/multipartBody6533152018484724785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173393710,"filename":"image_29092025_21_14_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/408b7fdef9158579a16f97a673d82234.jpg","text":"TemporaryFile(/tmp/multipartBody1367232536236724921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173393710,"filename":"image_29092025_21_15_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9ca5afc0ad8a026ddb26f777bdbd7f36.jpg","text":"TemporaryFile(/tmp/multipartBody4422142459370380200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173393710,"filename":"image_29092025_21_15_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/53f6faeb0f532a92b0a146ea8dc7bba7.jpg","text":"TemporaryFile(/tmp/multipartBody263506023766974290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173393710,"filename":"image_29092025_21_15_05_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791376","file1":"1386791370","file0":"1386791369","file4":"1386791386","file5":"1386791391","file3":"1386791380"},"map_files_photo_id_array":[{"photo_id":"1386791391","filename":"file5"},{"photo_id":"1386791376","filename":"file2"},{"photo_id":"1386791386","filename":"file4"},{"photo_id":"1386791370","filename":"file1"},{"photo_id":"1386791369","filename":"file0"},{"photo_id":"1386791380","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791380":["hashtag1","hashtag2"]},{"1386791376":["hashtag1","hashtag2"]},{"1386791391":["hashtag1","hashtag2"]},{"1386791370":["hashtag1","hashtag2"]},{"1386791369":["hashtag1","hashtag2"]},{"1386791386":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791380, 1386791376, 1386791391, 1386791370, 1386791369, 1386791386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89400124549866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:16:17.224962
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_44_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_34_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_25_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_14_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/21/15/image_29092025_21_16_04_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_55_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_44_9651.jpg', '/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_34_9665.jpg', '/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_25_10659.jpg', '/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_14_9679.jpg', '/home/nano/Desktop/images/29092025/21/15/image_29092025_21_16_04_9653.jpg', '/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_55_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_44_9651.jpg
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_34_9665.jpg
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_25_10659.jpg
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_14_9679.jpg
/home/nano/Desktop/images/29092025/21/15/image_29092025_21_16_04_9653.jpg
/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_55_10656.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3179655075073242 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:16:32.307765
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_44_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_34_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_25_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_14_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/21/15/image_29092025_21_16_04_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_55_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_44_9651.jpg', '/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_34_9665.jpg', '/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_25_10659.jpg', '/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_14_9679.jpg', '/home/nano/Desktop/images/29092025/21/15/image_29092025_21_16_04_9653.jpg', '/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_55_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_44_9651.jpg
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_34_9665.jpg
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_25_10659.jpg
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_14_9679.jpg
/home/nano/Desktop/images/29092025/21/15/image_29092025_21_16_04_9653.jpg
/home/nano/Desktop/images/29092025/21/15/image_29092025_21_15_55_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791449","1386791434","1386791445","1386791439","1386791430","1386791442"],"photo_ids_order":["1386791430","1386791434","1386791439","1386791442","1386791445","1386791449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f0ea534a0e00e59555886c50182f02bf.jpg","text":"TemporaryFile(/tmp/multipartBody4017630990578851735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173453744,"filename":"image_29092025_21_15_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/864c5162b9d690e41529efb6ee95ab58.jpg","text":"TemporaryFile(/tmp/multipartBody7748929231474734051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173453744,"filename":"image_29092025_21_16_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eb5a2d99770a99bd55655f0e55dd1679.jpg","text":"TemporaryFile(/tmp/multipartBody3745216823627536057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173453744,"filename":"image_29092025_21_16_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/9/29/adc05983909dd9cabb39b76ccf3ab540.jpg","text":"TemporaryFile(/tmp/multipartBody3832570971566003606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173453744,"filename":"image_29092025_21_16_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e3f9e27bacb4c2de704ad711f7769250.jpg","text":"TemporaryFile(/tmp/multipartBody7782365244299799394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173453744,"filename":"image_29092025_21_16_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b40506ab4bc7029c88c0313188e5ce82.jpg","text":"TemporaryFile(/tmp/multipartBody1522079121877865411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173453744,"filename":"image_29092025_21_16_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791439","file1":"1386791434","file0":"1386791430","file4":"1386791445","file5":"1386791449","file3":"1386791442"},"map_files_photo_id_array":[{"photo_id":"1386791449","filename":"file5"},{"photo_id":"1386791439","filename":"file2"},{"photo_id":"1386791445","filename":"file4"},{"photo_id":"1386791434","filename":"file1"},{"photo_id":"1386791430","filename":"file0"},{"photo_id":"1386791442","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791449":["hashtag1","hashtag2"]},{"1386791434":["hashtag1","hashtag2"]},{"1386791445":["hashtag1","hashtag2"]},{"1386791439":["hashtag1","hashtag2"]},{"1386791430":["hashtag1","hashtag2"]},{"1386791442":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791449, 1386791434, 1386791445, 1386791439, 1386791430, 1386791442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71272015571594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:17:17.352190
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_44_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_34_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_14_9714.jpg', 2), ('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_17_04_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_55_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_45_10684.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_44_9654.jpg', '/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_34_9653.jpg', '/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_14_9714.jpg', '/home/nano/Desktop/images/29092025/21/16/image_29092025_21_17_04_9663.jpg', '/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_55_10661.jpg', '/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_45_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_44_9654.jpg
/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_34_9653.jpg
/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_14_9714.jpg
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_17_04_9663.jpg
/home/nano/Desktop/images/29092025/21/16/image_29092025_21_16_55_10661.jpg
/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_45_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791473","1386791529","1386791534","1386791522","1386791531","1386791525"],"photo_ids_order":["1386791473","1386791522","1386791525","1386791529","1386791531","1386791534"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0990f776a2df610c4a220556cbdd9251.jpg","text":"TemporaryFile(/tmp/multipartBody8397333466534687752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173498759,"filename":"image_29092025_21_17_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/9/29/18161490cf61d2b1b95d8c7564ca6684.jpg","text":"TemporaryFile(/tmp/multipartBody195835424143971206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173498759,"filename":"image_29092025_21_17_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/9/29/63c4b188e834dd4bc99f0b9013c59bf5.jpg","text":"TemporaryFile(/tmp/multipartBody7109218824676430697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173498759,"filename":"image_29092025_20_21_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/aac4be694b1f8d9a01680a1d0bede928.jpg","text":"TemporaryFile(/tmp/multipartBody505785303559205939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173498759,"filename":"image_29092025_21_17_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/9/29/3ff5c311f0e466b1b327a9bdc110b176.jpg","text":"TemporaryFile(/tmp/multipartBody6368668786015403808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173498759,"filename":"image_29092025_21_16_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/19fe185821a2bd63a5ee464a490e3e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8806436794042060168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173498759,"filename":"image_29092025_21_17_14_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791525","file1":"1386791522","file0":"1386791473","file4":"1386791531","file5":"1386791534","file3":"1386791529"},"map_files_photo_id_array":[{"photo_id":"1386791534","filename":"file5"},{"photo_id":"1386791525","filename":"file2"},{"photo_id":"1386791531","filename":"file4"},{"photo_id":"1386791522","filename":"file1"},{"photo_id":"1386791473","filename":"file0"},{"photo_id":"1386791529","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791473":["hashtag1","hashtag2"]},{"1386791529":["hashtag1","hashtag2"]},{"1386791534":["hashtag1","hashtag2"]},{"1386791522":["hashtag1","hashtag2"]},{"1386791531":["hashtag1","hashtag2"]},{"1386791525":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791473, 1386791529, 1386791534, 1386791522, 1386791531, 1386791525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32142519950867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:18:02.982119
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_34_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_24_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_15_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/20/20/image_29092025_20_21_04_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_55_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_45_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_34_9630.jpg', '/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_24_9630.jpg', '/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_15_10656.jpg', '/home/nano/Desktop/images/29092025/20/20/image_29092025_20_21_04_9654.jpg', '/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_55_9617.jpg', '/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_45_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_34_9630.jpg
/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_24_9630.jpg
/home/nano/Desktop/images/29092025/20/21/image_29092025_20_21_15_10656.jpg
/home/nano/Desktop/images/29092025/20/20/image_29092025_20_21_04_9654.jpg
/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_55_9617.jpg
/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_45_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791580","1386791571","1386791567","1386791576","1386791549","1386791563"],"photo_ids_order":["1386791549","1386791563","1386791567","1386791571","1386791576","1386791580"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e8aba65a5a68d834663ded22f927ed1b.jpg","text":"TemporaryFile(/tmp/multipartBody6775482752738038209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173544801,"filename":"image_29092025_20_20_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/139f5b7e1e4f6a5218063cd2a9f315d4.jpg","text":"TemporaryFile(/tmp/multipartBody8016601263080790755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173544801,"filename":"image_29092025_20_21_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/9/29/b1bbe378af487e70a94bf7dbc75417b2.jpg","text":"TemporaryFile(/tmp/multipartBody2119305858087110945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173544801,"filename":"image_29092025_20_21_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/de1e98cdf018e8bc8e2e9f2d232a8ca6.jpg","text":"TemporaryFile(/tmp/multipartBody904484920604134209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173544801,"filename":"image_29092025_20_20_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c4a11d37218f9f6cff02c38415308e34.jpg","text":"TemporaryFile(/tmp/multipartBody5605743073165083801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173544801,"filename":"image_29092025_20_21_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9c921347f681241dce03fbd7d5646db6.jpg","text":"TemporaryFile(/tmp/multipartBody3936120684665114080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173544801,"filename":"image_29092025_20_21_24_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791567","file1":"1386791563","file0":"1386791549","file4":"1386791576","file5":"1386791580","file3":"1386791571"},"map_files_photo_id_array":[{"photo_id":"1386791580","filename":"file5"},{"photo_id":"1386791567","filename":"file2"},{"photo_id":"1386791576","filename":"file4"},{"photo_id":"1386791563","filename":"file1"},{"photo_id":"1386791549","filename":"file0"},{"photo_id":"1386791571","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791580":["hashtag1","hashtag2"]},{"1386791571":["hashtag1","hashtag2"]},{"1386791567":["hashtag1","hashtag2"]},{"1386791576":["hashtag1","hashtag2"]},{"1386791549":["hashtag1","hashtag2"]},{"1386791563":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791580, 1386791571, 1386791567, 1386791576, 1386791549, 1386791563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.401848793029785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:18:47.450905
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_34_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_25_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_14_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_55_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_44_9658.jpg', '/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_34_9657.jpg', '/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_25_10681.jpg', '/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_14_9698.jpg', '/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_55_10661.jpg', '/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_34_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_44_9658.jpg
/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_34_9657.jpg
/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_25_10681.jpg
/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_14_9698.jpg
/home/nano/Desktop/images/29092025/21/17/image_29092025_21_17_55_10661.jpg
/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_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":["1386791602","1386791625","1386791621","1386791630","1386791609","1386791599"],"photo_ids_order":["1386791599","1386791602","1386791609","1386791621","1386791625","1386791630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fc567c4044aaa6e9cef9d637c2a2ef6d.jpg","text":"TemporaryFile(/tmp/multipartBody6992439581309909428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173588904,"filename":"image_29092025_21_18_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/9/29/5c35754dff8e076c5a4be67d3f175cc8.jpg","text":"TemporaryFile(/tmp/multipartBody1224147355529278113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173588904,"filename":"image_29092025_21_17_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ece80e636eb199ba40df3f3dd651939d.jpg","text":"TemporaryFile(/tmp/multipartBody8752129608833760225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173588904,"filename":"image_29092025_21_18_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3a47dd82ccd327c5866aec1dc1aea4c0.jpg","text":"TemporaryFile(/tmp/multipartBody1957771735069672219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173588904,"filename":"image_29092025_20_20_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/9/29/f8a45c9b11527cc014c25917318f9c5f.jpg","text":"TemporaryFile(/tmp/multipartBody7764763070956159567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173588904,"filename":"image_29092025_21_18_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/828bf9dd4eb4826967360b2838466198.jpg","text":"TemporaryFile(/tmp/multipartBody6819003608440844368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173588904,"filename":"image_29092025_21_18_44_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791609","file1":"1386791602","file0":"1386791599","file4":"1386791625","file5":"1386791630","file3":"1386791621"},"map_files_photo_id_array":[{"photo_id":"1386791630","filename":"file5"},{"photo_id":"1386791609","filename":"file2"},{"photo_id":"1386791625","filename":"file4"},{"photo_id":"1386791602","filename":"file1"},{"photo_id":"1386791599","filename":"file0"},{"photo_id":"1386791621","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791602":["hashtag1","hashtag2"]},{"1386791625":["hashtag1","hashtag2"]},{"1386791621":["hashtag1","hashtag2"]},{"1386791630":["hashtag1","hashtag2"]},{"1386791609":["hashtag1","hashtag2"]},{"1386791599":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791602, 1386791625, 1386791621, 1386791630, 1386791609, 1386791599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30502462387085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:19:32.547534
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_35_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_25_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_14_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/21/18/image_29092025_21_19_05_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_55_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_44_9658.jpg', '/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_35_9668.jpg', '/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_25_10668.jpg', '/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_14_9682.jpg', '/home/nano/Desktop/images/29092025/21/18/image_29092025_21_19_05_9672.jpg', '/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_55_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_44_9658.jpg
/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_35_9668.jpg
/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_25_10668.jpg
/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_14_9682.jpg
/home/nano/Desktop/images/29092025/21/18/image_29092025_21_19_05_9672.jpg
/home/nano/Desktop/images/29092025/21/18/image_29092025_21_18_55_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791668","1386791655","1386791649","1386791664","1386791652","1386791660"],"photo_ids_order":["1386791649","1386791652","1386791655","1386791660","1386791664","1386791668"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5fdc1a903fb068deb1fde2804d58147a.jpg","text":"TemporaryFile(/tmp/multipartBody6328183522397324981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173634194,"filename":"image_29092025_21_18_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4b0ac01aeef707536c3c584c5e3eef49.jpg","text":"TemporaryFile(/tmp/multipartBody8356845286139648814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173634194,"filename":"image_29092025_21_19_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b104e953c3849f0584f955de4d6cc2da.jpg","text":"TemporaryFile(/tmp/multipartBody5135605346438765688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173634194,"filename":"image_29092025_21_19_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f89cf7706e82d878dc781b8fb7c73efc.jpg","text":"TemporaryFile(/tmp/multipartBody943804614945420316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173634194,"filename":"image_29092025_21_19_05_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7dcb08c92c48e1fcea760ec054700553.jpg","text":"TemporaryFile(/tmp/multipartBody5177083140249994342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173634194,"filename":"image_29092025_21_19_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/27b0b9405755c5d008d5dbefec1c6f57.jpg","text":"TemporaryFile(/tmp/multipartBody5512708618473341764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173634194,"filename":"image_29092025_21_19_14_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791655","file1":"1386791652","file0":"1386791649","file4":"1386791664","file5":"1386791668","file3":"1386791660"},"map_files_photo_id_array":[{"photo_id":"1386791668","filename":"file5"},{"photo_id":"1386791655","filename":"file2"},{"photo_id":"1386791664","filename":"file4"},{"photo_id":"1386791652","filename":"file1"},{"photo_id":"1386791649","filename":"file0"},{"photo_id":"1386791660","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791668":["hashtag1","hashtag2"]},{"1386791655":["hashtag1","hashtag2"]},{"1386791649":["hashtag1","hashtag2"]},{"1386791664":["hashtag1","hashtag2"]},{"1386791652":["hashtag1","hashtag2"]},{"1386791660":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791668, 1386791655, 1386791649, 1386791664, 1386791652, 1386791660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14699196815491 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:20:17.652402
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_44_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_35_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_25_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_14_9693.jpg', 2), ('/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_55_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_25_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_44_9659.jpg', '/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_35_9656.jpg', '/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_25_10668.jpg', '/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_14_9693.jpg', '/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_55_10667.jpg', '/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_25_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_44_9659.jpg
/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_35_9656.jpg
/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_25_10668.jpg
/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_14_9693.jpg
/home/nano/Desktop/images/29092025/21/19/image_29092025_21_19_55_10667.jpg
/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_25_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":["1386791701","1386791694","1386791703","1386791705","1386791689","1386791698"],"photo_ids_order":["1386791689","1386791694","1386791698","1386791701","1386791703","1386791705"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/009aaa990006cd4943388ce40d8573b9.jpg","text":"TemporaryFile(/tmp/multipartBody9008532417299926723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173679540,"filename":"image_29092025_21_20_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/89a0f40e3fafec108afb953b74910e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7041018500304377643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173679540,"filename":"image_29092025_21_20_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0db08668cb287fa05011d6b7a4786dae.jpg","text":"TemporaryFile(/tmp/multipartBody1029366254384329861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173679540,"filename":"image_29092025_21_19_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/9/29/37fcebac09e347f023b759566a4c96cf.jpg","text":"TemporaryFile(/tmp/multipartBody7455391337021285031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173679540,"filename":"image_29092025_20_20_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/da1b063645228041548570f944653a45.jpg","text":"TemporaryFile(/tmp/multipartBody2466348497821237272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173679540,"filename":"image_29092025_21_20_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c21412c319f073081c77943e2930cbca.jpg","text":"TemporaryFile(/tmp/multipartBody4480644773185467917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173679540,"filename":"image_29092025_21_20_25_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791698","file1":"1386791694","file0":"1386791689","file4":"1386791703","file5":"1386791705","file3":"1386791701"},"map_files_photo_id_array":[{"photo_id":"1386791705","filename":"file5"},{"photo_id":"1386791698","filename":"file2"},{"photo_id":"1386791703","filename":"file4"},{"photo_id":"1386791694","filename":"file1"},{"photo_id":"1386791689","filename":"file0"},{"photo_id":"1386791701","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791701":["hashtag1","hashtag2"]},{"1386791694":["hashtag1","hashtag2"]},{"1386791703":["hashtag1","hashtag2"]},{"1386791705":["hashtag1","hashtag2"]},{"1386791689":["hashtag1","hashtag2"]},{"1386791698":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791701, 1386791694, 1386791703, 1386791705, 1386791689, 1386791698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64004373550415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:21:02.485595
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_14_9741.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_20_04_9712.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_55_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_45_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_34_9615.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_25_9781.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_14_9741.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_20_04_9712.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_55_9647.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_45_10664.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_34_9615.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_25_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/20/image_29092025_20_20_14_9741.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_20_04_9712.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_55_9647.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_45_10664.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_34_9615.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_25_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791731","1386791749","1386791754","1386791720","1386791714","1386791726"],"photo_ids_order":["1386791714","1386791720","1386791726","1386791731","1386791749","1386791754"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c7a565b0371afed4453443d9a467825d.jpg","text":"TemporaryFile(/tmp/multipartBody886675040698283851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173724165,"filename":"image_29092025_20_19_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b357df1dd7102552afb7f04894b3c831.jpg","text":"TemporaryFile(/tmp/multipartBody996167961786905762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173724165,"filename":"image_29092025_20_19_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/93224b7e1cf6f139d1252a8203378007.jpg","text":"TemporaryFile(/tmp/multipartBody3405906003019422255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173724165,"filename":"image_29092025_20_19_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bb9c0f2362c0fe40b08127e6b2df29df.jpg","text":"TemporaryFile(/tmp/multipartBody842844101027719427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173724165,"filename":"image_29092025_20_20_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e772eef7f3547d7c1799bfaa48b78545.jpg","text":"TemporaryFile(/tmp/multipartBody329279409714934425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173724165,"filename":"image_29092025_20_20_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8a08ba5264df8449d76da5aa867df487.jpg","text":"TemporaryFile(/tmp/multipartBody5886125882715855779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173724165,"filename":"image_29092025_20_19_55_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791726","file1":"1386791720","file0":"1386791714","file4":"1386791749","file5":"1386791754","file3":"1386791731"},"map_files_photo_id_array":[{"photo_id":"1386791754","filename":"file5"},{"photo_id":"1386791726","filename":"file2"},{"photo_id":"1386791749","filename":"file4"},{"photo_id":"1386791720","filename":"file1"},{"photo_id":"1386791714","filename":"file0"},{"photo_id":"1386791731","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791731":["hashtag1","hashtag2"]},{"1386791749":["hashtag1","hashtag2"]},{"1386791754":["hashtag1","hashtag2"]},{"1386791720":["hashtag1","hashtag2"]},{"1386791714":["hashtag1","hashtag2"]},{"1386791726":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791731, 1386791749, 1386791754, 1386791720, 1386791714, 1386791726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.707178354263306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:21:46.778964
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_44_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_35_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/21/20/image_29092025_21_21_05_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_55_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_15_10841.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_44_9651.jpg', '/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_35_9652.jpg', '/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_14_9671.jpg', '/home/nano/Desktop/images/29092025/21/20/image_29092025_21_21_05_9678.jpg', '/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_55_10668.jpg', '/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_15_10841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_44_9651.jpg
/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_35_9652.jpg
/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_14_9671.jpg
/home/nano/Desktop/images/29092025/21/20/image_29092025_21_21_05_9678.jpg
/home/nano/Desktop/images/29092025/21/20/image_29092025_21_20_55_10668.jpg
/home/nano/Desktop/images/29092025/20/19/image_29092025_20_19_15_10841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791836","1386791839","1386791833","1386791846","1386791840","1386791843"],"photo_ids_order":["1386791833","1386791836","1386791839","1386791840","1386791843","1386791846"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c6c7a80f042a04479045584775b7ecf9.jpg","text":"TemporaryFile(/tmp/multipartBody771495717209427586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173768674,"filename":"image_29092025_21_21_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cb43689b019ae137bb0fc60ae80472e7.jpg","text":"TemporaryFile(/tmp/multipartBody7037270290072105507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173768674,"filename":"image_29092025_21_21_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/9/29/712604942fa91e60a6a8aaf8e9070725.jpg","text":"TemporaryFile(/tmp/multipartBody3372771013354394070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173768674,"filename":"image_29092025_21_21_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f875841c9d4fa0a0ad44628e1215135b.jpg","text":"TemporaryFile(/tmp/multipartBody1923218449478946507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173768674,"filename":"image_29092025_20_19_15_10841.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b9f998297fb72eed3050907d81b4084d.jpg","text":"TemporaryFile(/tmp/multipartBody4499107484455500210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173768674,"filename":"image_29092025_21_21_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b8af54d35de3df2e5e22bb50ac516e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3139368859595332482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173768674,"filename":"image_29092025_21_20_55_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791839","file1":"1386791836","file0":"1386791833","file4":"1386791843","file5":"1386791846","file3":"1386791840"},"map_files_photo_id_array":[{"photo_id":"1386791846","filename":"file5"},{"photo_id":"1386791839","filename":"file2"},{"photo_id":"1386791843","filename":"file4"},{"photo_id":"1386791836","filename":"file1"},{"photo_id":"1386791833","filename":"file0"},{"photo_id":"1386791840","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791836":["hashtag1","hashtag2"]},{"1386791839":["hashtag1","hashtag2"]},{"1386791833":["hashtag1","hashtag2"]},{"1386791846":["hashtag1","hashtag2"]},{"1386791840":["hashtag1","hashtag2"]},{"1386791843":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791836, 1386791839, 1386791833, 1386791846, 1386791840, 1386791843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2893648147583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:22:31.849478
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_35_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_25_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_14_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/21/21/image_29092025_21_22_05_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_55_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/20/18/image_29092025_20_19_04_9806.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_35_9652.jpg', '/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_25_10665.jpg', '/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_14_9677.jpg', '/home/nano/Desktop/images/29092025/21/21/image_29092025_21_22_05_9662.jpg', '/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_55_10664.jpg', '/home/nano/Desktop/images/29092025/20/18/image_29092025_20_19_04_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_35_9652.jpg
/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_25_10665.jpg
/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_14_9677.jpg
/home/nano/Desktop/images/29092025/21/21/image_29092025_21_22_05_9662.jpg
/home/nano/Desktop/images/29092025/21/21/image_29092025_21_21_55_10664.jpg
/home/nano/Desktop/images/29092025/20/18/image_29092025_20_19_04_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791878","1386791863","1386791866","1386791874","1386791882","1386791870"],"photo_ids_order":["1386791863","1386791866","1386791870","1386791874","1386791878","1386791882"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a4ca0af6c3273b2313026546b7a16a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4272493764205524187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173813770,"filename":"image_29092025_21_21_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/740b97d8eed6926bcc044da869881d18.jpg","text":"TemporaryFile(/tmp/multipartBody1775164514105759320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173813770,"filename":"image_29092025_21_22_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ce5fac8b3d914240ce23cac9ec77d63a.jpg","text":"TemporaryFile(/tmp/multipartBody4966436390824619453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173813770,"filename":"image_29092025_21_22_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/9/29/9699c705c59e23b7beba17d341cf90c9.jpg","text":"TemporaryFile(/tmp/multipartBody7568768312798958266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173813770,"filename":"image_29092025_21_22_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/47d15a5d6f582031291f1c8340e00e7d.jpg","text":"TemporaryFile(/tmp/multipartBody947304365202560748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173813770,"filename":"image_29092025_20_19_04_9806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/23bce723652acc310c2af5155b2b6f1f.jpg","text":"TemporaryFile(/tmp/multipartBody5595261159491426517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173813770,"filename":"image_29092025_21_22_14_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791870","file1":"1386791866","file0":"1386791863","file4":"1386791878","file5":"1386791882","file3":"1386791874"},"map_files_photo_id_array":[{"photo_id":"1386791882","filename":"file5"},{"photo_id":"1386791870","filename":"file2"},{"photo_id":"1386791878","filename":"file4"},{"photo_id":"1386791866","filename":"file1"},{"photo_id":"1386791863","filename":"file0"},{"photo_id":"1386791874","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791878":["hashtag1","hashtag2"]},{"1386791863":["hashtag1","hashtag2"]},{"1386791866":["hashtag1","hashtag2"]},{"1386791874":["hashtag1","hashtag2"]},{"1386791882":["hashtag1","hashtag2"]},{"1386791870":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791878, 1386791863, 1386791866, 1386791874, 1386791882, 1386791870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73452162742615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:23:16.963416
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_34_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_25_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_14_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/21/22/image_29092025_21_23_05_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_55_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_54_9760.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_34_9656.jpg', '/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_25_10668.jpg', '/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_14_9675.jpg', '/home/nano/Desktop/images/29092025/21/22/image_29092025_21_23_05_9665.jpg', '/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_55_10666.jpg', '/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_54_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_34_9656.jpg
/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_25_10668.jpg
/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_14_9675.jpg
/home/nano/Desktop/images/29092025/21/22/image_29092025_21_23_05_9665.jpg
/home/nano/Desktop/images/29092025/21/22/image_29092025_21_22_55_10666.jpg
/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_54_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791914","1386791902","1386791910","1386791894","1386791907","1386791896"],"photo_ids_order":["1386791894","1386791896","1386791902","1386791907","1386791910","1386791914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/04c7bee29e6d0e9b6a776988ac1b9e0c.jpg","text":"TemporaryFile(/tmp/multipartBody6670483816563684577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173858503,"filename":"image_29092025_20_18_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/33be42f07bfeffaa1e792c4c6fce1486.jpg","text":"TemporaryFile(/tmp/multipartBody4143624418832365704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173858503,"filename":"image_29092025_21_23_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/9/29/5d1f3f7d3ab49698fcf050482325cdd2.jpg","text":"TemporaryFile(/tmp/multipartBody417183554722710165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173858503,"filename":"image_29092025_21_22_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1cb9e2452809e53e35269c20b82c0e6a.jpg","text":"TemporaryFile(/tmp/multipartBody7823017481941140452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173858503,"filename":"image_29092025_21_23_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/9/29/35d9b99ce8412de5e00421da6b118e29.jpg","text":"TemporaryFile(/tmp/multipartBody4312953501270900140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173858503,"filename":"image_29092025_21_23_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a840435b5b37cff9409d5f732b4733f1.jpg","text":"TemporaryFile(/tmp/multipartBody7488545128487156257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173858503,"filename":"image_29092025_21_23_25_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791902","file1":"1386791896","file0":"1386791894","file4":"1386791910","file5":"1386791914","file3":"1386791907"},"map_files_photo_id_array":[{"photo_id":"1386791914","filename":"file5"},{"photo_id":"1386791902","filename":"file2"},{"photo_id":"1386791910","filename":"file4"},{"photo_id":"1386791896","filename":"file1"},{"photo_id":"1386791894","filename":"file0"},{"photo_id":"1386791907","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791914":["hashtag1","hashtag2"]},{"1386791902":["hashtag1","hashtag2"]},{"1386791910":["hashtag1","hashtag2"]},{"1386791894":["hashtag1","hashtag2"]},{"1386791907":["hashtag1","hashtag2"]},{"1386791896":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791914, 1386791902, 1386791910, 1386791894, 1386791907, 1386791896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66780352592468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:24:02.949446
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_44_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_35_10711.jpg', 2), ('/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_24_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_14_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/20/17/image_29092025_20_18_05_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_54_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_44_9635.jpg', '/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_35_10711.jpg', '/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_24_9682.jpg', '/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_14_9678.jpg', '/home/nano/Desktop/images/29092025/20/17/image_29092025_20_18_05_10634.jpg', '/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_44_9635.jpg
/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_35_10711.jpg
/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_24_9682.jpg
/home/nano/Desktop/images/29092025/20/18/image_29092025_20_18_14_9678.jpg
/home/nano/Desktop/images/29092025/20/17/image_29092025_20_18_05_10634.jpg
/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_54_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386791977","1386791973","1386791945","1386791939","1386791930","1386791924"],"photo_ids_order":["1386791924","1386791930","1386791939","1386791945","1386791973","1386791977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7d019bfb6ad348b42bbf8151ffc873aa.jpg","text":"TemporaryFile(/tmp/multipartBody8745244672107319012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173904836,"filename":"image_29092025_20_17_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4a80a9b6818dae1be73d67fe82bbdc17.jpg","text":"TemporaryFile(/tmp/multipartBody8839421787705447950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173904836,"filename":"image_29092025_20_18_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d4585a278c58d9de3ce38b4219622a79.jpg","text":"TemporaryFile(/tmp/multipartBody1183435251080485259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173904836,"filename":"image_29092025_20_18_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/9/29/d4025ad82d8168fc29a45f0b04ae600c.jpg","text":"TemporaryFile(/tmp/multipartBody1713651575406291700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173904836,"filename":"image_29092025_20_18_24_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4a75c9f91e27fc84ad7088deb9e2144e.jpg","text":"TemporaryFile(/tmp/multipartBody1218299756606785618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173904836,"filename":"image_29092025_20_18_35_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/aa3b433916f70c8d8ece9d0d4971e7c2.jpg","text":"TemporaryFile(/tmp/multipartBody2292334441648117051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173904836,"filename":"image_29092025_20_18_44_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791939","file1":"1386791930","file0":"1386791924","file4":"1386791973","file5":"1386791977","file3":"1386791945"},"map_files_photo_id_array":[{"photo_id":"1386791977","filename":"file5"},{"photo_id":"1386791939","filename":"file2"},{"photo_id":"1386791973","filename":"file4"},{"photo_id":"1386791930","filename":"file1"},{"photo_id":"1386791924","filename":"file0"},{"photo_id":"1386791945","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386791977":["hashtag1","hashtag2"]},{"1386791973":["hashtag1","hashtag2"]},{"1386791945":["hashtag1","hashtag2"]},{"1386791939":["hashtag1","hashtag2"]},{"1386791930":["hashtag1","hashtag2"]},{"1386791924":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386791977, 1386791973, 1386791945, 1386791939, 1386791930, 1386791924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.392005443573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:24:47.085736
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_44_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_34_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_25_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/21/23/image_29092025_21_24_05_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_55_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_44_9671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_44_9655.jpg', '/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_34_9654.jpg', '/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_25_10662.jpg', '/home/nano/Desktop/images/29092025/21/23/image_29092025_21_24_05_9669.jpg', '/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_55_10665.jpg', '/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_44_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_44_9655.jpg
/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_34_9654.jpg
/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_25_10662.jpg
/home/nano/Desktop/images/29092025/21/23/image_29092025_21_24_05_9669.jpg
/home/nano/Desktop/images/29092025/21/23/image_29092025_21_23_55_10665.jpg
/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_44_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792010","1386792001","1386792006","1386791996","1386791999","1386791992"],"photo_ids_order":["1386791992","1386791996","1386791999","1386792001","1386792006","1386792010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/27f85f52be8cfc21c0241ac2a32f1411.jpg","text":"TemporaryFile(/tmp/multipartBody6222046492246528429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173948800,"filename":"image_29092025_20_17_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b22c836099029b1ea5d62803152bd725.jpg","text":"TemporaryFile(/tmp/multipartBody2457093856420768275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173948800,"filename":"image_29092025_21_24_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5891f5f9cab609ec74c8290e60a39572.jpg","text":"TemporaryFile(/tmp/multipartBody3759129592464468467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173948800,"filename":"image_29092025_21_23_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a461d15683277c045f62c8b69decbe6f.jpg","text":"TemporaryFile(/tmp/multipartBody1879041385552626098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173948800,"filename":"image_29092025_21_24_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/9/29/3fbcd8a8ac95c7927327357bd49dbd30.jpg","text":"TemporaryFile(/tmp/multipartBody6056744571371389418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173948800,"filename":"image_29092025_21_24_25_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8a67a9c9b026cd6303669c3f00ea6819.jpg","text":"TemporaryFile(/tmp/multipartBody2939573983729528692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173948800,"filename":"image_29092025_21_24_44_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386791999","file1":"1386791996","file0":"1386791992","file4":"1386792006","file5":"1386792010","file3":"1386792001"},"map_files_photo_id_array":[{"photo_id":"1386792010","filename":"file5"},{"photo_id":"1386791999","filename":"file2"},{"photo_id":"1386792006","filename":"file4"},{"photo_id":"1386791996","filename":"file1"},{"photo_id":"1386791992","filename":"file0"},{"photo_id":"1386792001","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792010":["hashtag1","hashtag2"]},{"1386792001":["hashtag1","hashtag2"]},{"1386792006":["hashtag1","hashtag2"]},{"1386791996":["hashtag1","hashtag2"]},{"1386791999":["hashtag1","hashtag2"]},{"1386791992":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792010, 1386792001, 1386792006, 1386791996, 1386791999, 1386791992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30650973320007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:25:32.226369
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_25_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_14_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/21/24/image_29092025_21_25_04_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_55_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_35_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_24_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_25_10663.jpg', '/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_14_9674.jpg', '/home/nano/Desktop/images/29092025/21/24/image_29092025_21_25_04_9660.jpg', '/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_55_10663.jpg', '/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_35_10681.jpg', '/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_24_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_25_10663.jpg
/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_14_9674.jpg
/home/nano/Desktop/images/29092025/21/24/image_29092025_21_25_04_9660.jpg
/home/nano/Desktop/images/29092025/21/24/image_29092025_21_24_55_10663.jpg
/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_35_10681.jpg
/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_24_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792031","1386792027","1386792042","1386792038","1386792029","1386792034"],"photo_ids_order":["1386792027","1386792029","1386792031","1386792034","1386792038","1386792042"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/efba533bcf7f68cd814a5987cfdd5012.jpg","text":"TemporaryFile(/tmp/multipartBody6624876858760043668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173993818,"filename":"image_29092025_21_25_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/9/29/b5923151e14ac1807e5950f9583f589a.jpg","text":"TemporaryFile(/tmp/multipartBody4521945179865322737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173993818,"filename":"image_29092025_21_25_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f80e70424683d7dbc67e1e48eb44ef24.jpg","text":"TemporaryFile(/tmp/multipartBody1256018363436412810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173993818,"filename":"image_29092025_20_17_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6d39094ad1d039aea76982b8caa8b4d8.jpg","text":"TemporaryFile(/tmp/multipartBody3206724587435670336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173993818,"filename":"image_29092025_20_17_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3b539b340543886b41877c66a8dcb45a.jpg","text":"TemporaryFile(/tmp/multipartBody6822786797543961627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173993818,"filename":"image_29092025_21_25_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/9/29/c0061847c94ffb323dc57b257f66f6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3219596859815802917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759173993818,"filename":"image_29092025_21_24_55_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792031","file1":"1386792029","file0":"1386792027","file4":"1386792038","file5":"1386792042","file3":"1386792034"},"map_files_photo_id_array":[{"photo_id":"1386792042","filename":"file5"},{"photo_id":"1386792031","filename":"file2"},{"photo_id":"1386792038","filename":"file4"},{"photo_id":"1386792029","filename":"file1"},{"photo_id":"1386792027","filename":"file0"},{"photo_id":"1386792034","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792031":["hashtag1","hashtag2"]},{"1386792027":["hashtag1","hashtag2"]},{"1386792042":["hashtag1","hashtag2"]},{"1386792038":["hashtag1","hashtag2"]},{"1386792029":["hashtag1","hashtag2"]},{"1386792034":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792031, 1386792027, 1386792042, 1386792038, 1386792029, 1386792034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.185606718063354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:26:17.290215
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_44_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_34_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_25_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_34_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_14_9746.jpg', 2), ('/home/nano/Desktop/images/29092025/20/16/image_29092025_20_17_05_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_44_9663.jpg', '/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_34_9660.jpg', '/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_25_10671.jpg', '/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_34_9648.jpg', '/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_14_9746.jpg', '/home/nano/Desktop/images/29092025/20/16/image_29092025_20_17_05_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_44_9663.jpg
/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_34_9660.jpg
/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_25_10671.jpg
/home/nano/Desktop/images/29092025/21/25/image_29092025_21_25_34_9648.jpg
/home/nano/Desktop/images/29092025/20/17/image_29092025_20_17_14_9746.jpg
/home/nano/Desktop/images/29092025/20/16/image_29092025_20_17_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":["1386792063","1386792060","1386792056","1386792071","1386792067","1386792076"],"photo_ids_order":["1386792056","1386792060","1386792063","1386792067","1386792071","1386792076"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1883790ca4d7dee904090ddc744fed39.jpg","text":"TemporaryFile(/tmp/multipartBody6585768743867783236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174039302,"filename":"image_29092025_21_26_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/df62b287bb5f8e8153e849a42725893b.jpg","text":"TemporaryFile(/tmp/multipartBody40670103282094332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174039302,"filename":"image_29092025_21_26_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/9/29/45974366a111c28c7054a73b8dd37dde.jpg","text":"TemporaryFile(/tmp/multipartBody2545312389197514218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174039302,"filename":"image_29092025_21_26_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f3ffb176771934f3f685f5b22a26b4fe.jpg","text":"TemporaryFile(/tmp/multipartBody1865223135023469721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174039302,"filename":"image_29092025_20_17_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2cc1268076c338d90f6de8bd9870800b.jpg","text":"TemporaryFile(/tmp/multipartBody357894869890115774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174039302,"filename":"image_29092025_21_25_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0cbdc7de2f535a1a28046f1b2f25c3f0.jpg","text":"TemporaryFile(/tmp/multipartBody3392131504968058013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174039302,"filename":"image_29092025_20_17_05_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792063","file1":"1386792060","file0":"1386792056","file4":"1386792071","file5":"1386792076","file3":"1386792067"},"map_files_photo_id_array":[{"photo_id":"1386792076","filename":"file5"},{"photo_id":"1386792063","filename":"file2"},{"photo_id":"1386792071","filename":"file4"},{"photo_id":"1386792060","filename":"file1"},{"photo_id":"1386792056","filename":"file0"},{"photo_id":"1386792067","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792063":["hashtag1","hashtag2"]},{"1386792060":["hashtag1","hashtag2"]},{"1386792056":["hashtag1","hashtag2"]},{"1386792071":["hashtag1","hashtag2"]},{"1386792067":["hashtag1","hashtag2"]},{"1386792076":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792063, 1386792060, 1386792056, 1386792071, 1386792067, 1386792076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.891154527664185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:27:03.191921
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_54_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_44_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_35_10688.jpg', 2), ('/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_24_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_14_9726.jpg', 2), ('/home/nano/Desktop/images/29092025/20/15/image_29092025_20_16_05_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_54_9665.jpg', '/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_44_9650.jpg', '/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_35_10688.jpg', '/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_24_9691.jpg', '/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_14_9726.jpg', '/home/nano/Desktop/images/29092025/20/15/image_29092025_20_16_05_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_54_9665.jpg
/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_44_9650.jpg
/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_35_10688.jpg
/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_24_9691.jpg
/home/nano/Desktop/images/29092025/20/16/image_29092025_20_16_14_9726.jpg
/home/nano/Desktop/images/29092025/20/15/image_29092025_20_16_05_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792103","1386792099","1386792093","1386792108","1386792119","1386792113"],"photo_ids_order":["1386792093","1386792099","1386792103","1386792108","1386792113","1386792119"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/25f2ceb3f73468edeb65247c60ec0010.jpg","text":"TemporaryFile(/tmp/multipartBody7375306694482262706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174085044,"filename":"image_29092025_20_16_35_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/058bca06f4057ed88df4591f2c429056.jpg","text":"TemporaryFile(/tmp/multipartBody8795214647662905984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174085044,"filename":"image_29092025_20_16_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/48f0985c4d208cd0b6ec09a1cffee958.jpg","text":"TemporaryFile(/tmp/multipartBody185032811397493707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174085044,"filename":"image_29092025_20_16_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bdf8a21f6e3274ae362a5d0b5dab1ca0.jpg","text":"TemporaryFile(/tmp/multipartBody90616004129073039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174085044,"filename":"image_29092025_20_16_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1e4597d4c5ee26aeb6936ebb490bb18e.jpg","text":"TemporaryFile(/tmp/multipartBody373852644556005362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174085044,"filename":"image_29092025_20_16_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/19023badd76f7bc15db64ec44ada3fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7082406154657769738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174085044,"filename":"image_29092025_20_16_14_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792103","file1":"1386792099","file0":"1386792093","file4":"1386792113","file5":"1386792119","file3":"1386792108"},"map_files_photo_id_array":[{"photo_id":"1386792119","filename":"file5"},{"photo_id":"1386792103","filename":"file2"},{"photo_id":"1386792113","filename":"file4"},{"photo_id":"1386792099","filename":"file1"},{"photo_id":"1386792093","filename":"file0"},{"photo_id":"1386792108","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792103":["hashtag1","hashtag2"]},{"1386792099":["hashtag1","hashtag2"]},{"1386792093":["hashtag1","hashtag2"]},{"1386792108":["hashtag1","hashtag2"]},{"1386792119":["hashtag1","hashtag2"]},{"1386792113":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792103, 1386792099, 1386792093, 1386792108, 1386792119, 1386792113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63611698150635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:27:47.457889
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_25_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_14_9687.jpg', 2), ('/home/nano/Desktop/images/29092025/21/26/image_29092025_21_27_04_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_55_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_44_9656.jpg', '/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_34_9658.jpg', '/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_25_10669.jpg', '/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_14_9687.jpg', '/home/nano/Desktop/images/29092025/21/26/image_29092025_21_27_04_9660.jpg', '/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_55_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_44_9656.jpg
/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_34_9658.jpg
/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_25_10669.jpg
/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_14_9687.jpg
/home/nano/Desktop/images/29092025/21/26/image_29092025_21_27_04_9660.jpg
/home/nano/Desktop/images/29092025/21/26/image_29092025_21_26_55_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792130","1386792144","1386792141","1386792135","1386792137","1386792133"],"photo_ids_order":["1386792130","1386792133","1386792135","1386792137","1386792141","1386792144"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3d76c40b0756406e776a429dc35c4a0c.jpg","text":"TemporaryFile(/tmp/multipartBody3992374831069804177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174129231,"filename":"image_29092025_21_27_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/9/29/27786ca2f4554ae9f26e7dd7290b528a.jpg","text":"TemporaryFile(/tmp/multipartBody7736629333212741087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174129231,"filename":"image_29092025_21_26_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cec653e0316eb955f31dc0426c3e298a.jpg","text":"TemporaryFile(/tmp/multipartBody6363979492483179384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174129231,"filename":"image_29092025_21_27_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/9/29/ea25e9108084548970279979058d01fe.jpg","text":"TemporaryFile(/tmp/multipartBody2522624901035913846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174129231,"filename":"image_29092025_21_27_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/9/29/53cc9e2bf165f8f76d0dfd6974157863.jpg","text":"TemporaryFile(/tmp/multipartBody3507606515893385302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174129231,"filename":"image_29092025_21_27_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/9/29/32912b0ab27d6ff3e47a3adab003d830.jpg","text":"TemporaryFile(/tmp/multipartBody1706847036947484212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174129231,"filename":"image_29092025_21_27_34_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792135","file1":"1386792133","file0":"1386792130","file4":"1386792141","file5":"1386792144","file3":"1386792137"},"map_files_photo_id_array":[{"photo_id":"1386792144","filename":"file5"},{"photo_id":"1386792135","filename":"file2"},{"photo_id":"1386792141","filename":"file4"},{"photo_id":"1386792133","filename":"file1"},{"photo_id":"1386792130","filename":"file0"},{"photo_id":"1386792137","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792130":["hashtag1","hashtag2"]},{"1386792144":["hashtag1","hashtag2"]},{"1386792141":["hashtag1","hashtag2"]},{"1386792135":["hashtag1","hashtag2"]},{"1386792137":["hashtag1","hashtag2"]},{"1386792133":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792130, 1386792144, 1386792141, 1386792135, 1386792137, 1386792133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25933909416199 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:28:32.576296
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_44_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_34_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_25_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_14_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/21/27/image_29092025_21_28_04_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_55_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_44_9672.jpg', '/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_34_9657.jpg', '/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_25_10667.jpg', '/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_14_9685.jpg', '/home/nano/Desktop/images/29092025/21/27/image_29092025_21_28_04_9675.jpg', '/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_55_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_44_9672.jpg
/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_34_9657.jpg
/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_25_10667.jpg
/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_14_9685.jpg
/home/nano/Desktop/images/29092025/21/27/image_29092025_21_28_04_9675.jpg
/home/nano/Desktop/images/29092025/21/27/image_29092025_21_27_55_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":["1386792162","1386792165","1386792176","1386792179","1386792172","1386792169"],"photo_ids_order":["1386792162","1386792165","1386792169","1386792172","1386792176","1386792179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c913e3c2fe5aee567042c3e06d4b7eeb.jpg","text":"TemporaryFile(/tmp/multipartBody5021749249046631268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174174661,"filename":"image_29092025_21_28_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f8967103cbeb4b12788876947f03a2c2.jpg","text":"TemporaryFile(/tmp/multipartBody3813406753757526282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174174661,"filename":"image_29092025_21_28_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/9/29/ee16f05dab9aee5334aaff1ee069887f.jpg","text":"TemporaryFile(/tmp/multipartBody1273294898803941726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174174661,"filename":"image_29092025_21_28_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6da655068427b58f2db7d1c26125e250.jpg","text":"TemporaryFile(/tmp/multipartBody6780135928371892876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174174661,"filename":"image_29092025_21_27_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/029d05179a39ec326a3c2f0d0a3051cc.jpg","text":"TemporaryFile(/tmp/multipartBody783803721196512190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174174661,"filename":"image_29092025_21_28_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/516047adb7f40b35d0cb813a7f6f28b7.jpg","text":"TemporaryFile(/tmp/multipartBody2087813659987747037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174174661,"filename":"image_29092025_21_28_25_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792169","file1":"1386792165","file0":"1386792162","file4":"1386792176","file5":"1386792179","file3":"1386792172"},"map_files_photo_id_array":[{"photo_id":"1386792179","filename":"file5"},{"photo_id":"1386792169","filename":"file2"},{"photo_id":"1386792176","filename":"file4"},{"photo_id":"1386792165","filename":"file1"},{"photo_id":"1386792162","filename":"file0"},{"photo_id":"1386792172","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792162":["hashtag1","hashtag2"]},{"1386792165":["hashtag1","hashtag2"]},{"1386792176":["hashtag1","hashtag2"]},{"1386792179":["hashtag1","hashtag2"]},{"1386792172":["hashtag1","hashtag2"]},{"1386792169":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792162, 1386792165, 1386792176, 1386792179, 1386792172, 1386792169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.573092460632324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:29:17.670184
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_35_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_25_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_14_9687.jpg', 2), ('/home/nano/Desktop/images/29092025/21/28/image_29092025_21_29_05_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_55_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_44_9660.jpg', '/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_35_9658.jpg', '/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_25_10668.jpg', '/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_14_9687.jpg', '/home/nano/Desktop/images/29092025/21/28/image_29092025_21_29_05_9675.jpg', '/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_55_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_44_9660.jpg
/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_35_9658.jpg
/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_25_10668.jpg
/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_14_9687.jpg
/home/nano/Desktop/images/29092025/21/28/image_29092025_21_29_05_9675.jpg
/home/nano/Desktop/images/29092025/21/28/image_29092025_21_28_55_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792198","1386792216","1386792194","1386792203","1386792212","1386792206"],"photo_ids_order":["1386792194","1386792198","1386792203","1386792206","1386792212","1386792216"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ba2235d136b2ac8cd862b34455ce2050.jpg","text":"TemporaryFile(/tmp/multipartBody4721439438197865815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174219221,"filename":"image_29092025_21_29_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fd5fd1823fcc8ca6024f3b2bf36ec266.jpg","text":"TemporaryFile(/tmp/multipartBody5201429065684414627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174219221,"filename":"image_29092025_21_28_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6f6101065a9f119f53a1b80fe7f8611c.jpg","text":"TemporaryFile(/tmp/multipartBody4833753032322468132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174219221,"filename":"image_29092025_21_29_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/03166ec5a86aa1e530626e07d26b09f9.jpg","text":"TemporaryFile(/tmp/multipartBody6675962402528170367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174219221,"filename":"image_29092025_21_29_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/95336c3501c968b4848bff47d6e3f895.jpg","text":"TemporaryFile(/tmp/multipartBody7310348881062812198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174219221,"filename":"image_29092025_21_29_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/19ad8e66835beebc350b66ae4cc724d7.jpg","text":"TemporaryFile(/tmp/multipartBody2664725070219859030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174219221,"filename":"image_29092025_21_29_14_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792203","file1":"1386792198","file0":"1386792194","file4":"1386792212","file5":"1386792216","file3":"1386792206"},"map_files_photo_id_array":[{"photo_id":"1386792216","filename":"file5"},{"photo_id":"1386792203","filename":"file2"},{"photo_id":"1386792212","filename":"file4"},{"photo_id":"1386792198","filename":"file1"},{"photo_id":"1386792194","filename":"file0"},{"photo_id":"1386792206","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792198":["hashtag1","hashtag2"]},{"1386792216":["hashtag1","hashtag2"]},{"1386792194":["hashtag1","hashtag2"]},{"1386792203":["hashtag1","hashtag2"]},{"1386792212":["hashtag1","hashtag2"]},{"1386792206":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792198, 1386792216, 1386792194, 1386792203, 1386792212, 1386792206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26092004776001 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:30:02.434691
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_55_10793.jpg', 2), ('/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_44_9797.jpg', 2), ('/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_34_9793.jpg', 2), ('/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_24_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_15_10688.jpg', 2), ('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_15_04_9730.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_55_10793.jpg', '/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_44_9797.jpg', '/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_34_9793.jpg', '/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_24_9684.jpg', '/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_15_10688.jpg', '/home/nano/Desktop/images/29092025/20/14/image_29092025_20_15_04_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_55_10793.jpg
/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_44_9797.jpg
/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_34_9793.jpg
/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_24_9684.jpg
/home/nano/Desktop/images/29092025/20/15/image_29092025_20_15_15_10688.jpg
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_15_04_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792255","1386792264","1386792240","1386792260","1386792236","1386792245"],"photo_ids_order":["1386792236","1386792240","1386792245","1386792255","1386792260","1386792264"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b8a4f5002809715076f135256ea61180.jpg","text":"TemporaryFile(/tmp/multipartBody2256461410844972441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174264409,"filename":"image_29092025_20_15_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ad1f4606c55b330e0e553ca3fe40ae22.jpg","text":"TemporaryFile(/tmp/multipartBody6558453566372342009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174264409,"filename":"image_29092025_20_15_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/485410429f4509553c102808a86f3249.jpg","text":"TemporaryFile(/tmp/multipartBody7299650060315222661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174264409,"filename":"image_29092025_20_15_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d362cf1f1b5298a69d63dbdccfded0ff.jpg","text":"TemporaryFile(/tmp/multipartBody5934167294091026610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174264409,"filename":"image_29092025_20_15_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/142cb496ab105549d39fa11d4a3e24e3.jpg","text":"TemporaryFile(/tmp/multipartBody4231439206916486308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174264409,"filename":"image_29092025_20_15_55_10793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/da440648423308b0c7f5df65db15b239.jpg","text":"TemporaryFile(/tmp/multipartBody40813497595936859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174264409,"filename":"image_29092025_20_15_34_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792245","file1":"1386792240","file0":"1386792236","file4":"1386792260","file5":"1386792264","file3":"1386792255"},"map_files_photo_id_array":[{"photo_id":"1386792264","filename":"file5"},{"photo_id":"1386792245","filename":"file2"},{"photo_id":"1386792260","filename":"file4"},{"photo_id":"1386792240","filename":"file1"},{"photo_id":"1386792236","filename":"file0"},{"photo_id":"1386792255","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792255":["hashtag1","hashtag2"]},{"1386792264":["hashtag1","hashtag2"]},{"1386792240":["hashtag1","hashtag2"]},{"1386792260":["hashtag1","hashtag2"]},{"1386792236":["hashtag1","hashtag2"]},{"1386792245":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792255, 1386792264, 1386792240, 1386792260, 1386792236, 1386792245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.287466526031494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:30:46.841404
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_44_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_35_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_25_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_14_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_55_10686.jpg', 2), ('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_54_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_44_9677.jpg', '/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_35_9661.jpg', '/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_25_10669.jpg', '/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_14_9695.jpg', '/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_55_10686.jpg', '/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_54_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_44_9677.jpg
/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_35_9661.jpg
/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_25_10669.jpg
/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_14_9695.jpg
/home/nano/Desktop/images/29092025/21/29/image_29092025_21_29_55_10686.jpg
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_54_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792297","1386792278","1386792283","1386792292","1386792286","1386792274"],"photo_ids_order":["1386792274","1386792278","1386792283","1386792286","1386792292","1386792297"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2118b17cfce5bda98bfb936bef298662.jpg","text":"TemporaryFile(/tmp/multipartBody2045264530346449957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174308508,"filename":"image_29092025_20_14_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/633d1b24b42e6838254d28c35ff8beab.jpg","text":"TemporaryFile(/tmp/multipartBody8018669048136399915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174308508,"filename":"image_29092025_21_30_35_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e046f8e1c38ab93eee2db4a643208977.jpg","text":"TemporaryFile(/tmp/multipartBody9209979692094010394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174308508,"filename":"image_29092025_21_30_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/9/29/de6678ac2ef323dbbd2b6e89f75ee8f3.jpg","text":"TemporaryFile(/tmp/multipartBody4017452836120612539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174308508,"filename":"image_29092025_21_29_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7d1de9268cc0e8a760f27ebf453b2ac2.jpg","text":"TemporaryFile(/tmp/multipartBody9009625626939947363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174308508,"filename":"image_29092025_21_30_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3ac33664be7c8b9283f93e75c69a5a66.jpg","text":"TemporaryFile(/tmp/multipartBody8057339029323682057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174308508,"filename":"image_29092025_21_30_44_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792283","file1":"1386792278","file0":"1386792274","file4":"1386792292","file5":"1386792297","file3":"1386792286"},"map_files_photo_id_array":[{"photo_id":"1386792297","filename":"file5"},{"photo_id":"1386792283","filename":"file2"},{"photo_id":"1386792292","filename":"file4"},{"photo_id":"1386792278","filename":"file1"},{"photo_id":"1386792274","filename":"file0"},{"photo_id":"1386792286","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792297":["hashtag1","hashtag2"]},{"1386792278":["hashtag1","hashtag2"]},{"1386792283":["hashtag1","hashtag2"]},{"1386792292":["hashtag1","hashtag2"]},{"1386792286":["hashtag1","hashtag2"]},{"1386792274":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792297, 1386792278, 1386792283, 1386792292, 1386792286, 1386792274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.573328256607056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:31:31.965533
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_44_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_35_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/21/30/image_29092025_21_31_05_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_55_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_45_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_44_9659.jpg', '/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_35_10669.jpg', '/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_14_9686.jpg', '/home/nano/Desktop/images/29092025/21/30/image_29092025_21_31_05_9673.jpg', '/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_55_10670.jpg', '/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_45_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_44_9659.jpg
/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_35_10669.jpg
/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_14_9686.jpg
/home/nano/Desktop/images/29092025/21/30/image_29092025_21_31_05_9673.jpg
/home/nano/Desktop/images/29092025/21/30/image_29092025_21_30_55_10670.jpg
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_45_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792325","1386792310","1386792318","1386792321","1386792328","1386792313"],"photo_ids_order":["1386792310","1386792313","1386792318","1386792321","1386792325","1386792328"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/84220cf75f118f9ecf38c30e2086a9d4.jpg","text":"TemporaryFile(/tmp/multipartBody8855407256199435090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174353546,"filename":"image_29092025_21_30_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cab75584238123fa2a30b5aecc03a1b6.jpg","text":"TemporaryFile(/tmp/multipartBody4784818790519141216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174353546,"filename":"image_29092025_21_31_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a0e017355a2e4d57c21e597a21d021cf.jpg","text":"TemporaryFile(/tmp/multipartBody366030480777622348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174353546,"filename":"image_29092025_21_31_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/9/29/0797eec0b7e7a01725ea9942a4454af0.jpg","text":"TemporaryFile(/tmp/multipartBody1112464485031963772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174353546,"filename":"image_29092025_21_31_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b7bdad01fce4aaa594e979670c8e3962.jpg","text":"TemporaryFile(/tmp/multipartBody4444991842498822270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174353546,"filename":"image_29092025_20_14_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/02e2cca6b44d82cb3b26576e0a9b9703.jpg","text":"TemporaryFile(/tmp/multipartBody4913327648485155781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174353546,"filename":"image_29092025_21_31_35_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792318","file1":"1386792313","file0":"1386792310","file4":"1386792325","file5":"1386792328","file3":"1386792321"},"map_files_photo_id_array":[{"photo_id":"1386792328","filename":"file5"},{"photo_id":"1386792318","filename":"file2"},{"photo_id":"1386792325","filename":"file4"},{"photo_id":"1386792313","filename":"file1"},{"photo_id":"1386792310","filename":"file0"},{"photo_id":"1386792321","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792325":["hashtag1","hashtag2"]},{"1386792310":["hashtag1","hashtag2"]},{"1386792318":["hashtag1","hashtag2"]},{"1386792321":["hashtag1","hashtag2"]},{"1386792328":["hashtag1","hashtag2"]},{"1386792313":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792325, 1386792310, 1386792318, 1386792321, 1386792328, 1386792313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47048497200012 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:32:17.039833
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_35_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_24_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/21/31/image_29092025_21_32_05_10684.jpg', 2), ('/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_54_9671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_44_9658.jpg', '/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_35_10667.jpg', '/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_24_9660.jpg', '/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_14_9686.jpg', '/home/nano/Desktop/images/29092025/21/31/image_29092025_21_32_05_10684.jpg', '/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_54_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_44_9658.jpg
/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_35_10667.jpg
/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_24_9660.jpg
/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_14_9686.jpg
/home/nano/Desktop/images/29092025/21/31/image_29092025_21_32_05_10684.jpg
/home/nano/Desktop/images/29092025/21/31/image_29092025_21_31_54_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792360","1386792357","1386792365","1386792347","1386792362","1386792352"],"photo_ids_order":["1386792347","1386792352","1386792357","1386792360","1386792362","1386792365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bcbcc1ceb3143eed79d129d1beff65d1.jpg","text":"TemporaryFile(/tmp/multipartBody7840226808629841859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174398837,"filename":"image_29092025_21_32_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/9/29/b81ddd5cc1e097167897a89ad87b463e.jpg","text":"TemporaryFile(/tmp/multipartBody1058529876478463418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174398837,"filename":"image_29092025_21_32_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/9/29/c032d4dbf6e402391f776549f3dbf59c.jpg","text":"TemporaryFile(/tmp/multipartBody8683074171656570290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174398837,"filename":"image_29092025_21_31_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/75b432d4656fd6affbb7e911caec9c36.jpg","text":"TemporaryFile(/tmp/multipartBody7757575904233642743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174398837,"filename":"image_29092025_21_32_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/387e03bf5be69bde8b83aa4f883d14b4.jpg","text":"TemporaryFile(/tmp/multipartBody8005920217296545938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174398837,"filename":"image_29092025_21_32_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9b19fd1612654ed4552c13c0eed0ae77.jpg","text":"TemporaryFile(/tmp/multipartBody3567870491998018075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174398837,"filename":"image_29092025_21_32_35_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792357","file1":"1386792352","file0":"1386792347","file4":"1386792362","file5":"1386792365","file3":"1386792360"},"map_files_photo_id_array":[{"photo_id":"1386792365","filename":"file5"},{"photo_id":"1386792357","filename":"file2"},{"photo_id":"1386792362","filename":"file4"},{"photo_id":"1386792352","filename":"file1"},{"photo_id":"1386792347","filename":"file0"},{"photo_id":"1386792360","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792360":["hashtag1","hashtag2"]},{"1386792357":["hashtag1","hashtag2"]},{"1386792365":["hashtag1","hashtag2"]},{"1386792347":["hashtag1","hashtag2"]},{"1386792362":["hashtag1","hashtag2"]},{"1386792352":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792360, 1386792357, 1386792365, 1386792347, 1386792362, 1386792352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10404682159424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:33:02.768564
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_35_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_24_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_15_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/13/image_29092025_20_14_05_10714.jpg', 2), ('/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_54_9711.jpg', 2), ('/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_45_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_35_10642.jpg', '/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_24_9668.jpg', '/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_15_9676.jpg', '/home/nano/Desktop/images/29092025/20/13/image_29092025_20_14_05_10714.jpg', '/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_54_9711.jpg', '/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_45_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_35_10642.jpg
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_24_9668.jpg
/home/nano/Desktop/images/29092025/20/14/image_29092025_20_14_15_9676.jpg
/home/nano/Desktop/images/29092025/20/13/image_29092025_20_14_05_10714.jpg
/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_54_9711.jpg
/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_45_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792399","1386792408","1386792402","1386792386","1386792395","1386792391"],"photo_ids_order":["1386792386","1386792391","1386792395","1386792399","1386792402","1386792408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5dbc8e2777646f19e471d13fd2e1c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody7894772537585590293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174444443,"filename":"image_29092025_20_14_05_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/71282efd94bd2bd8319f62ade0156968.jpg","text":"TemporaryFile(/tmp/multipartBody989818866764645165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174444443,"filename":"image_29092025_20_13_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d5c4f4e4540d63c73e81ca11a0b8bb99.jpg","text":"TemporaryFile(/tmp/multipartBody9097002561141105316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174444443,"filename":"image_29092025_20_13_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b1312c212468e5010aab16cf05c3770a.jpg","text":"TemporaryFile(/tmp/multipartBody99227423564551516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174444443,"filename":"image_29092025_20_14_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1b83d1f4e69f7746899741ead716a470.jpg","text":"TemporaryFile(/tmp/multipartBody3386867858133061719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174444443,"filename":"image_29092025_20_14_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/707805114c0f4723d7f372be6a50ef72.jpg","text":"TemporaryFile(/tmp/multipartBody2229857457866748423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174444443,"filename":"image_29092025_20_14_24_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792395","file1":"1386792391","file0":"1386792386","file4":"1386792402","file5":"1386792408","file3":"1386792399"},"map_files_photo_id_array":[{"photo_id":"1386792408","filename":"file5"},{"photo_id":"1386792395","filename":"file2"},{"photo_id":"1386792402","filename":"file4"},{"photo_id":"1386792391","filename":"file1"},{"photo_id":"1386792386","filename":"file0"},{"photo_id":"1386792399","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792399":["hashtag1","hashtag2"]},{"1386792408":["hashtag1","hashtag2"]},{"1386792402":["hashtag1","hashtag2"]},{"1386792386":["hashtag1","hashtag2"]},{"1386792395":["hashtag1","hashtag2"]},{"1386792391":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792399, 1386792408, 1386792402, 1386792386, 1386792395, 1386792391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38676619529724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:33:47.168377
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_44_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_35_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_24_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_14_9705.jpg', 2), ('/home/nano/Desktop/images/29092025/21/32/image_29092025_21_33_05_10691.jpg', 2), ('/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_44_9657.jpg', '/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_35_10666.jpg', '/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_24_9661.jpg', '/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_14_9705.jpg', '/home/nano/Desktop/images/29092025/21/32/image_29092025_21_33_05_10691.jpg', '/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_44_9657.jpg
/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_35_10666.jpg
/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_24_9661.jpg
/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_14_9705.jpg
/home/nano/Desktop/images/29092025/21/32/image_29092025_21_33_05_10691.jpg
/home/nano/Desktop/images/29092025/21/32/image_29092025_21_32_54_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":["1386792436","1386792441","1386792423","1386792429","1386792431","1386792427"],"photo_ids_order":["1386792423","1386792427","1386792429","1386792431","1386792436","1386792441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3257ab5562a922c562e8258330402383.jpg","text":"TemporaryFile(/tmp/multipartBody1224057378200338978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174488679,"filename":"image_29092025_21_33_05_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8468c36b5cde7895e4963ab927ad8242.jpg","text":"TemporaryFile(/tmp/multipartBody894030227746868584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174488679,"filename":"image_29092025_21_32_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/428d05d4de57f4071f2a6b44ff76dc39.jpg","text":"TemporaryFile(/tmp/multipartBody3887063137807300011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174488679,"filename":"image_29092025_21_33_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/9/29/0c58bed6a056f80c466009d60a6bca51.jpg","text":"TemporaryFile(/tmp/multipartBody2628555389108219229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174488679,"filename":"image_29092025_21_33_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/9/29/247ac418d3e5eabea776ec728d897d07.jpg","text":"TemporaryFile(/tmp/multipartBody1043935294466305241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174488679,"filename":"image_29092025_21_33_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1fd72bf9a43d5200536ada7c7678e860.jpg","text":"TemporaryFile(/tmp/multipartBody7416081868809204966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174488679,"filename":"image_29092025_21_33_35_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792429","file1":"1386792427","file0":"1386792423","file4":"1386792436","file5":"1386792441","file3":"1386792431"},"map_files_photo_id_array":[{"photo_id":"1386792441","filename":"file5"},{"photo_id":"1386792429","filename":"file2"},{"photo_id":"1386792436","filename":"file4"},{"photo_id":"1386792427","filename":"file1"},{"photo_id":"1386792423","filename":"file0"},{"photo_id":"1386792431","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792436":["hashtag1","hashtag2"]},{"1386792441":["hashtag1","hashtag2"]},{"1386792423":["hashtag1","hashtag2"]},{"1386792429":["hashtag1","hashtag2"]},{"1386792431":["hashtag1","hashtag2"]},{"1386792427":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792436, 1386792441, 1386792423, 1386792429, 1386792431, 1386792427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.900712728500366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:34:32.299719
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_35_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_24_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/21/33/image_29092025_21_34_05_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_54_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_44_9660.jpg', '/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_35_10675.jpg', '/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_24_9660.jpg', '/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_14_9689.jpg', '/home/nano/Desktop/images/29092025/21/33/image_29092025_21_34_05_10678.jpg', '/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_54_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_44_9660.jpg
/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_35_10675.jpg
/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_24_9660.jpg
/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_14_9689.jpg
/home/nano/Desktop/images/29092025/21/33/image_29092025_21_34_05_10678.jpg
/home/nano/Desktop/images/29092025/21/33/image_29092025_21_33_54_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":["1386792483","1386792487","1386792478","1386792472","1386792466","1386792460"],"photo_ids_order":["1386792460","1386792466","1386792472","1386792478","1386792483","1386792487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e7bd5697b48226983c3f9453efb88352.jpg","text":"TemporaryFile(/tmp/multipartBody4170272234518488783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174533812,"filename":"image_29092025_21_34_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/93ecf39d55ae0f692212bea32d99757b.jpg","text":"TemporaryFile(/tmp/multipartBody7967660747298771890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174533812,"filename":"image_29092025_21_33_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/78c7ffc8e426908e79739cd8f001e865.jpg","text":"TemporaryFile(/tmp/multipartBody2583804159950709327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174533812,"filename":"image_29092025_21_34_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/9/29/cfdaa107365392366219e948f2d0a375.jpg","text":"TemporaryFile(/tmp/multipartBody1157918620255439073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174533812,"filename":"image_29092025_21_34_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/9/29/8c4c7587c579844fc129e7dcee771bec.jpg","text":"TemporaryFile(/tmp/multipartBody8351605625665835925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174533812,"filename":"image_29092025_21_34_35_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/103a26274dbad0aa1c77a2a654a80c58.jpg","text":"TemporaryFile(/tmp/multipartBody5519083431410785130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174533812,"filename":"image_29092025_21_34_44_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792472","file1":"1386792466","file0":"1386792460","file4":"1386792483","file5":"1386792487","file3":"1386792478"},"map_files_photo_id_array":[{"photo_id":"1386792487","filename":"file5"},{"photo_id":"1386792472","filename":"file2"},{"photo_id":"1386792483","filename":"file4"},{"photo_id":"1386792466","filename":"file1"},{"photo_id":"1386792460","filename":"file0"},{"photo_id":"1386792478","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792483":["hashtag1","hashtag2"]},{"1386792487":["hashtag1","hashtag2"]},{"1386792478":["hashtag1","hashtag2"]},{"1386792472":["hashtag1","hashtag2"]},{"1386792466":["hashtag1","hashtag2"]},{"1386792460":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792483, 1386792487, 1386792478, 1386792472, 1386792466, 1386792460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.157550573349 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:35:17.393757
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_44_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_35_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_24_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_14_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/21/34/image_29092025_21_35_05_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_54_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_44_9638.jpg', '/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_35_10657.jpg', '/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_24_9659.jpg', '/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_14_9696.jpg', '/home/nano/Desktop/images/29092025/21/34/image_29092025_21_35_05_10677.jpg', '/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_44_9638.jpg
/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_35_10657.jpg
/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_24_9659.jpg
/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_14_9696.jpg
/home/nano/Desktop/images/29092025/21/34/image_29092025_21_35_05_10677.jpg
/home/nano/Desktop/images/29092025/21/34/image_29092025_21_34_54_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":["1386792520","1386792502","1386792516","1386792507","1386792518","1386792512"],"photo_ids_order":["1386792502","1386792507","1386792512","1386792516","1386792518","1386792520"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/af31e7c7d0bd36a8af0090073c5a9ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8666411712306102712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174578991,"filename":"image_29092025_21_34_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5359247d163b3acfa252640a9daf1c4a.jpg","text":"TemporaryFile(/tmp/multipartBody7652631076322830073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174578991,"filename":"image_29092025_21_35_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/9/29/5a5e5ee49b705f4053e595f7d9a7902a.jpg","text":"TemporaryFile(/tmp/multipartBody4783855285697227168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174578991,"filename":"image_29092025_21_35_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9890a940b8dcd53d5389c1a66b7adafe.jpg","text":"TemporaryFile(/tmp/multipartBody1120916576153359794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174578991,"filename":"image_29092025_21_35_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/532aa958fffdc67870e40f55f8b5159e.jpg","text":"TemporaryFile(/tmp/multipartBody1018391171882365310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174578991,"filename":"image_29092025_21_35_05_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fcbaefb1548ca5ea7ed2915228d2fad7.jpg","text":"TemporaryFile(/tmp/multipartBody8253364835850561942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174578991,"filename":"image_29092025_21_35_24_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792512","file1":"1386792507","file0":"1386792502","file4":"1386792518","file5":"1386792520","file3":"1386792516"},"map_files_photo_id_array":[{"photo_id":"1386792520","filename":"file5"},{"photo_id":"1386792512","filename":"file2"},{"photo_id":"1386792518","filename":"file4"},{"photo_id":"1386792507","filename":"file1"},{"photo_id":"1386792502","filename":"file0"},{"photo_id":"1386792516","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792520":["hashtag1","hashtag2"]},{"1386792502":["hashtag1","hashtag2"]},{"1386792516":["hashtag1","hashtag2"]},{"1386792507":["hashtag1","hashtag2"]},{"1386792518":["hashtag1","hashtag2"]},{"1386792512":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792520, 1386792502, 1386792516, 1386792507, 1386792518, 1386792512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9596221446991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:36:02.976812
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_35_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_24_9609.jpg', 2), ('/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_14_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/20/12/image_29092025_20_13_05_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_54_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_45_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_35_10699.jpg', '/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_24_9609.jpg', '/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_14_9636.jpg', '/home/nano/Desktop/images/29092025/20/12/image_29092025_20_13_05_10652.jpg', '/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_54_9627.jpg', '/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_45_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_35_10699.jpg
/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_24_9609.jpg
/home/nano/Desktop/images/29092025/20/13/image_29092025_20_13_14_9636.jpg
/home/nano/Desktop/images/29092025/20/12/image_29092025_20_13_05_10652.jpg
/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_54_9627.jpg
/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_45_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792552","1386792543","1386792533","1386792541","1386792538","1386792547"],"photo_ids_order":["1386792533","1386792538","1386792541","1386792543","1386792547","1386792552"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bb1b70f8c01c460ec026646d1ae81ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8608553763495065978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174624503,"filename":"image_29092025_20_12_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/aef9e89d26d8f57e38eb08921db55099.jpg","text":"TemporaryFile(/tmp/multipartBody6444761377688718383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174624503,"filename":"image_29092025_20_13_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/9/29/d0a24576a552210dcfb6755420dc0169.jpg","text":"TemporaryFile(/tmp/multipartBody8580106753025180842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174624503,"filename":"image_29092025_20_13_35_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ec8eb06f597c499acc7078f535e74d7a.jpg","text":"TemporaryFile(/tmp/multipartBody5598058682301918177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174624503,"filename":"image_29092025_20_13_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5c3153d065ebb1f4e8dbf097671ddea5.jpg","text":"TemporaryFile(/tmp/multipartBody3617412823064093294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174624503,"filename":"image_29092025_20_13_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1928feed663d105d59ae147e3a73c610.jpg","text":"TemporaryFile(/tmp/multipartBody828816059498070551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174624503,"filename":"image_29092025_20_12_54_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792541","file1":"1386792538","file0":"1386792533","file4":"1386792547","file5":"1386792552","file3":"1386792543"},"map_files_photo_id_array":[{"photo_id":"1386792552","filename":"file5"},{"photo_id":"1386792541","filename":"file2"},{"photo_id":"1386792547","filename":"file4"},{"photo_id":"1386792538","filename":"file1"},{"photo_id":"1386792533","filename":"file0"},{"photo_id":"1386792543","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792552":["hashtag1","hashtag2"]},{"1386792543":["hashtag1","hashtag2"]},{"1386792533":["hashtag1","hashtag2"]},{"1386792541":["hashtag1","hashtag2"]},{"1386792538":["hashtag1","hashtag2"]},{"1386792547":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792552, 1386792543, 1386792533, 1386792541, 1386792538, 1386792547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.246981382369995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:36:47.535913
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_35_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_24_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/21/35/image_29092025_21_36_05_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_54_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_34_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_35_10654.jpg', '/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_24_9636.jpg', '/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_14_9660.jpg', '/home/nano/Desktop/images/29092025/21/35/image_29092025_21_36_05_10667.jpg', '/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_54_9640.jpg', '/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_35_10654.jpg
/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_24_9636.jpg
/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_14_9660.jpg
/home/nano/Desktop/images/29092025/21/35/image_29092025_21_36_05_10667.jpg
/home/nano/Desktop/images/29092025/21/35/image_29092025_21_35_54_9640.jpg
/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_34_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792579","1386792575","1386792572","1386792566","1386792569","1386792583"],"photo_ids_order":["1386792566","1386792569","1386792572","1386792575","1386792579","1386792583"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/453b5f95f19ecd6002a182af9919bdee.jpg","text":"TemporaryFile(/tmp/multipartBody9166414715278411513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174669255,"filename":"image_29092025_21_35_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/9/29/93bffd600964b3a774675ff6d372e9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1838295253204803259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174669255,"filename":"image_29092025_21_36_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/9/29/df4b3f27657013ef64a91942cdbbafbe.jpg","text":"TemporaryFile(/tmp/multipartBody1010968113501150282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174669255,"filename":"image_29092025_21_36_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/9/29/9402ff48f317ccee3687a3f3c93a8a7b.jpg","text":"TemporaryFile(/tmp/multipartBody3920382290908378047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174669255,"filename":"image_29092025_21_36_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d4927bffeb0c51bf609cb517f3cbd6b4.jpg","text":"TemporaryFile(/tmp/multipartBody2350669173855264126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174669255,"filename":"image_29092025_21_36_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/9/29/326d30b53a5ca242a5796b965eeb924d.jpg","text":"TemporaryFile(/tmp/multipartBody3910942506888719292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174669255,"filename":"image_29092025_20_12_34_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792572","file1":"1386792569","file0":"1386792566","file4":"1386792579","file5":"1386792583","file3":"1386792575"},"map_files_photo_id_array":[{"photo_id":"1386792583","filename":"file5"},{"photo_id":"1386792572","filename":"file2"},{"photo_id":"1386792579","filename":"file4"},{"photo_id":"1386792569","filename":"file1"},{"photo_id":"1386792566","filename":"file0"},{"photo_id":"1386792575","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792579":["hashtag1","hashtag2"]},{"1386792575":["hashtag1","hashtag2"]},{"1386792572":["hashtag1","hashtag2"]},{"1386792566":["hashtag1","hashtag2"]},{"1386792569":["hashtag1","hashtag2"]},{"1386792583":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792579, 1386792575, 1386792572, 1386792566, 1386792569, 1386792583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67318892478943 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:37:32.634098
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_25_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_14_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/21/36/image_29092025_21_37_05_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_55_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_24_9616.jpg', 2), ('/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_15_10678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_25_10653.jpg', '/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_14_9692.jpg', '/home/nano/Desktop/images/29092025/21/36/image_29092025_21_37_05_9652.jpg', '/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_55_10654.jpg', '/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_24_9616.jpg', '/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_15_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_25_10653.jpg
/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_14_9692.jpg
/home/nano/Desktop/images/29092025/21/36/image_29092025_21_37_05_9652.jpg
/home/nano/Desktop/images/29092025/21/36/image_29092025_21_36_55_10654.jpg
/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_24_9616.jpg
/home/nano/Desktop/images/29092025/20/12/image_29092025_20_12_15_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792615","1386792618","1386792600","1386792608","1386792611","1386792604"],"photo_ids_order":["1386792600","1386792604","1386792608","1386792611","1386792615","1386792618"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/06a0cb73318b9a6f1157bec743114cea.jpg","text":"TemporaryFile(/tmp/multipartBody8967436230482198478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174714189,"filename":"image_29092025_20_12_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9bb7e8b22bebf8ae849f01f4024f7b18.jpg","text":"TemporaryFile(/tmp/multipartBody3213747362829579744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174714189,"filename":"image_29092025_20_12_15_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e8686ced19f234748e286eee552ebb2e.jpg","text":"TemporaryFile(/tmp/multipartBody3917016777723809941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174714189,"filename":"image_29092025_21_37_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/9/29/a517903eec6aca4c21e3127b037bf50a.jpg","text":"TemporaryFile(/tmp/multipartBody8519856523495756793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174714189,"filename":"image_29092025_21_37_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bb405a1e82b6812601c3e88baebfc796.jpg","text":"TemporaryFile(/tmp/multipartBody1120845576435899926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174714189,"filename":"image_29092025_21_36_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7450c03d4dc00d3283ef4c68375a3a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8350884258767276934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174714189,"filename":"image_29092025_21_37_14_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792608","file1":"1386792604","file0":"1386792600","file4":"1386792615","file5":"1386792618","file3":"1386792611"},"map_files_photo_id_array":[{"photo_id":"1386792618","filename":"file5"},{"photo_id":"1386792608","filename":"file2"},{"photo_id":"1386792615","filename":"file4"},{"photo_id":"1386792604","filename":"file1"},{"photo_id":"1386792600","filename":"file0"},{"photo_id":"1386792611","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792615":["hashtag1","hashtag2"]},{"1386792618":["hashtag1","hashtag2"]},{"1386792600":["hashtag1","hashtag2"]},{"1386792608":["hashtag1","hashtag2"]},{"1386792611":["hashtag1","hashtag2"]},{"1386792604":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792615, 1386792618, 1386792600, 1386792608, 1386792611, 1386792604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55984282493591 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:38:17.749524
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_25_10649.jpg', 2), ('/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_14_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/21/37/image_29092025_21_38_05_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_55_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/20/11/image_29092025_20_12_04_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_25_10649.jpg', '/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_14_9667.jpg', '/home/nano/Desktop/images/29092025/21/37/image_29092025_21_38_05_9671.jpg', '/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_55_10652.jpg', '/home/nano/Desktop/images/29092025/20/11/image_29092025_20_12_04_9631.jpg', '/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_25_10649.jpg
/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_14_9667.jpg
/home/nano/Desktop/images/29092025/21/37/image_29092025_21_38_05_9671.jpg
/home/nano/Desktop/images/29092025/21/37/image_29092025_21_37_55_10652.jpg
/home/nano/Desktop/images/29092025/20/11/image_29092025_20_12_04_9631.jpg
/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_54_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792632","1386792649","1386792640","1386792643","1386792637","1386792646"],"photo_ids_order":["1386792632","1386792637","1386792640","1386792643","1386792646","1386792649"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/291c49d2a2078e93f430404e00af8d00.jpg","text":"TemporaryFile(/tmp/multipartBody303589902803374303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174759459,"filename":"image_29092025_21_38_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/9/29/5c34cb312a22fd9cfee421f2fa6bf31d.jpg","text":"TemporaryFile(/tmp/multipartBody6362268050676023006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174759459,"filename":"image_29092025_20_11_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/9/29/3d417c7af0db10743460a46d91b4ae53.jpg","text":"TemporaryFile(/tmp/multipartBody4946257728833899968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174759459,"filename":"image_29092025_21_38_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/02c82e44b82fccd208c6cc9b89c3bd97.jpg","text":"TemporaryFile(/tmp/multipartBody7115810276434886114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174759459,"filename":"image_29092025_21_37_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c8e6310ee8178cec6231b5babea9ab3d.jpg","text":"TemporaryFile(/tmp/multipartBody9162115282289264775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174759459,"filename":"image_29092025_21_38_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/9/29/9e99ad00f91a9b78d42952fe46a27fa4.jpg","text":"TemporaryFile(/tmp/multipartBody6154745698965674919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174759459,"filename":"image_29092025_20_12_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792640","file1":"1386792637","file0":"1386792632","file4":"1386792646","file5":"1386792649","file3":"1386792643"},"map_files_photo_id_array":[{"photo_id":"1386792649","filename":"file5"},{"photo_id":"1386792640","filename":"file2"},{"photo_id":"1386792646","filename":"file4"},{"photo_id":"1386792637","filename":"file1"},{"photo_id":"1386792632","filename":"file0"},{"photo_id":"1386792643","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792632":["hashtag1","hashtag2"]},{"1386792649":["hashtag1","hashtag2"]},{"1386792640":["hashtag1","hashtag2"]},{"1386792643":["hashtag1","hashtag2"]},{"1386792637":["hashtag1","hashtag2"]},{"1386792646":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792632, 1386792649, 1386792640, 1386792643, 1386792637, 1386792646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38879632949829 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:39:02.779700
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_45_10632.jpg', 2), ('/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_34_9615.jpg', 2), ('/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_24_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_15_10759.jpg', 2), ('/home/nano/Desktop/images/29092025/20/10/image_29092025_20_11_04_9801.jpg', 2), ('/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_54_9757.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_45_10632.jpg', '/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_34_9615.jpg', '/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_24_9640.jpg', '/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_15_10759.jpg', '/home/nano/Desktop/images/29092025/20/10/image_29092025_20_11_04_9801.jpg', '/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_54_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_45_10632.jpg
/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_34_9615.jpg
/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_24_9640.jpg
/home/nano/Desktop/images/29092025/20/11/image_29092025_20_11_15_10759.jpg
/home/nano/Desktop/images/29092025/20/10/image_29092025_20_11_04_9801.jpg
/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_54_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792684","1386792675","1386792669","1386792663","1386792689","1386792680"],"photo_ids_order":["1386792663","1386792669","1386792675","1386792680","1386792684","1386792689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f06cc6a47fbadecb5610a86f94caf863.jpg","text":"TemporaryFile(/tmp/multipartBody1579530575987870858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174804408,"filename":"image_29092025_20_11_04_9801.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3e27d5a5e44d307394ed22d519a8563f.jpg","text":"TemporaryFile(/tmp/multipartBody9109104065005219522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174804408,"filename":"image_29092025_20_11_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/9/29/945103900d5c23acd87bc9f9a36c6573.jpg","text":"TemporaryFile(/tmp/multipartBody4631745781003969093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174804408,"filename":"image_29092025_20_11_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/59b7ae5824d7677b60f769b3ad23f47a.jpg","text":"TemporaryFile(/tmp/multipartBody784791046153467867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174804408,"filename":"image_29092025_20_11_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4c183ec89547f3281dfed51dc4ca6a79.jpg","text":"TemporaryFile(/tmp/multipartBody9108061794315687008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174804408,"filename":"image_29092025_20_10_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4f08077531e4e7f6a0dd18698905d455.jpg","text":"TemporaryFile(/tmp/multipartBody1070284252653895077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174804408,"filename":"image_29092025_20_11_15_10759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792675","file1":"1386792669","file0":"1386792663","file4":"1386792684","file5":"1386792689","file3":"1386792680"},"map_files_photo_id_array":[{"photo_id":"1386792689","filename":"file5"},{"photo_id":"1386792675","filename":"file2"},{"photo_id":"1386792684","filename":"file4"},{"photo_id":"1386792669","filename":"file1"},{"photo_id":"1386792663","filename":"file0"},{"photo_id":"1386792680","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792684":["hashtag1","hashtag2"]},{"1386792675":["hashtag1","hashtag2"]},{"1386792669":["hashtag1","hashtag2"]},{"1386792663":["hashtag1","hashtag2"]},{"1386792689":["hashtag1","hashtag2"]},{"1386792680":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792684, 1386792675, 1386792669, 1386792663, 1386792689, 1386792680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10074257850647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:39:46.821125
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_44_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_34_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_25_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/21/38/image_29092025_21_39_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_55_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_44_9643.jpg', '/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_34_9642.jpg', '/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_25_10653.jpg', '/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_14_9664.jpg', '/home/nano/Desktop/images/29092025/21/38/image_29092025_21_39_04_9658.jpg', '/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_44_9643.jpg
/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_34_9642.jpg
/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_25_10653.jpg
/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_14_9664.jpg
/home/nano/Desktop/images/29092025/21/38/image_29092025_21_39_04_9658.jpg
/home/nano/Desktop/images/29092025/21/38/image_29092025_21_38_55_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":["1386792706","1386792720","1386792714","1386792711","1386792725","1386792716"],"photo_ids_order":["1386792706","1386792711","1386792714","1386792716","1386792720","1386792725"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e84ff06e4dabb798cb8b7bc3b33b3b13.jpg","text":"TemporaryFile(/tmp/multipartBody8397147607687588041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174848202,"filename":"image_29092025_21_39_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/9/29/eb6cf17a9047aea2695798ba725af340.jpg","text":"TemporaryFile(/tmp/multipartBody6965371802781491424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174848202,"filename":"image_29092025_21_39_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/9/29/d4fbc1faa6df15684d7b408310db364d.jpg","text":"TemporaryFile(/tmp/multipartBody6231509727722522075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174848202,"filename":"image_29092025_21_39_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/9/29/0623807e168b8ed93675b12b847b6e27.jpg","text":"TemporaryFile(/tmp/multipartBody7969856256404236663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174848202,"filename":"image_29092025_21_39_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/9/29/8778fd8fd9a44b71f1873a8b7ba76dea.jpg","text":"TemporaryFile(/tmp/multipartBody2888662640256965899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174848202,"filename":"image_29092025_21_38_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/019e2546b5424a3f6da8f8952f00c4fe.jpg","text":"TemporaryFile(/tmp/multipartBody1311576333790428488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174848202,"filename":"image_29092025_21_39_14_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792714","file1":"1386792711","file0":"1386792706","file4":"1386792720","file5":"1386792725","file3":"1386792716"},"map_files_photo_id_array":[{"photo_id":"1386792725","filename":"file5"},{"photo_id":"1386792714","filename":"file2"},{"photo_id":"1386792720","filename":"file4"},{"photo_id":"1386792711","filename":"file1"},{"photo_id":"1386792706","filename":"file0"},{"photo_id":"1386792716","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792706":["hashtag1","hashtag2"]},{"1386792720":["hashtag1","hashtag2"]},{"1386792714":["hashtag1","hashtag2"]},{"1386792711":["hashtag1","hashtag2"]},{"1386792725":["hashtag1","hashtag2"]},{"1386792716":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792706, 1386792720, 1386792714, 1386792711, 1386792725, 1386792716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67363953590393 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:40:31.991930
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/39/image_29092025_21_40_04_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_55_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_45_9770.jpg', 2), ('/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_35_10781.jpg', 2), ('/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_24_9737.jpg', 2), ('/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_14_9763.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/39/image_29092025_21_40_04_9649.jpg', '/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_55_10655.jpg', '/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_45_9770.jpg', '/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_35_10781.jpg', '/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_24_9737.jpg', '/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_14_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/39/image_29092025_21_40_04_9649.jpg
/home/nano/Desktop/images/29092025/21/39/image_29092025_21_39_55_10655.jpg
/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_45_9770.jpg
/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_35_10781.jpg
/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_24_9737.jpg
/home/nano/Desktop/images/29092025/20/10/image_29092025_20_10_14_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792747","1386792756","1386792752","1386792760","1386792763","1386792745"],"photo_ids_order":["1386792745","1386792747","1386792752","1386792756","1386792760","1386792763"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f5620eecc0b8f1e3688aea1c59a88307.jpg","text":"TemporaryFile(/tmp/multipartBody1574707279669595417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174893987,"filename":"image_29092025_21_39_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b2c010dcf4a4726d8ba8d88b63831238.jpg","text":"TemporaryFile(/tmp/multipartBody6240896234059460063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174893987,"filename":"image_29092025_20_10_35_10781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3b08a0ccebc5e21d971fd7344985b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody6618313989269104619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174893987,"filename":"image_29092025_20_10_45_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d5f2e573397c91c5a3443fe3e8596600.jpg","text":"TemporaryFile(/tmp/multipartBody1722464720704479593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174893987,"filename":"image_29092025_20_10_24_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8aca93f135bf83dcbd62dca1379fa5c4.jpg","text":"TemporaryFile(/tmp/multipartBody7577746479066776088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174893987,"filename":"image_29092025_20_10_14_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4132bae61f6102de16fb087e80e095ce.jpg","text":"TemporaryFile(/tmp/multipartBody3233436743284331273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174893987,"filename":"image_29092025_21_40_04_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792752","file1":"1386792747","file0":"1386792745","file4":"1386792760","file5":"1386792763","file3":"1386792756"},"map_files_photo_id_array":[{"photo_id":"1386792763","filename":"file5"},{"photo_id":"1386792752","filename":"file2"},{"photo_id":"1386792760","filename":"file4"},{"photo_id":"1386792747","filename":"file1"},{"photo_id":"1386792745","filename":"file0"},{"photo_id":"1386792756","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792747":["hashtag1","hashtag2"]},{"1386792756":["hashtag1","hashtag2"]},{"1386792752":["hashtag1","hashtag2"]},{"1386792760":["hashtag1","hashtag2"]},{"1386792763":["hashtag1","hashtag2"]},{"1386792745":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792747, 1386792756, 1386792752, 1386792760, 1386792763, 1386792745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77816462516785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:41:17.082159
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_44_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_34_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_25_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_14_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/21/40/image_29092025_21_41_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/21/40/image_29092025_21_40_14_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_44_9644.jpg', '/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_34_9643.jpg', '/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_25_10653.jpg', '/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_14_9685.jpg', '/home/nano/Desktop/images/29092025/21/40/image_29092025_21_41_04_9650.jpg', '/home/nano/Desktop/images/29092025/21/40/image_29092025_21_40_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_44_9644.jpg
/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_34_9643.jpg
/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_25_10653.jpg
/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_14_9685.jpg
/home/nano/Desktop/images/29092025/21/40/image_29092025_21_41_04_9650.jpg
/home/nano/Desktop/images/29092025/21/40/image_29092025_21_40_14_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792795","1386792777","1386792792","1386792801","1386792785","1386792781"],"photo_ids_order":["1386792777","1386792781","1386792785","1386792792","1386792795","1386792801"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f7dee59ade6815753b939ad7a94a403c.jpg","text":"TemporaryFile(/tmp/multipartBody146139885611775537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174938548,"filename":"image_29092025_21_41_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/9/29/6548629773525439ad242030da60f3f1.jpg","text":"TemporaryFile(/tmp/multipartBody4551764759716092625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174938548,"filename":"image_29092025_21_41_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cf82acaed9b9b21213f3864b2e363768.jpg","text":"TemporaryFile(/tmp/multipartBody8787316386275232742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174938548,"filename":"image_29092025_21_41_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1085e41d360097de57719e849cc7e0a0.jpg","text":"TemporaryFile(/tmp/multipartBody9216640072639018665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174938548,"filename":"image_29092025_21_40_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/9/29/6f5444b80c532e48049add473e6cdf8f.jpg","text":"TemporaryFile(/tmp/multipartBody5754181813235660101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174938548,"filename":"image_29092025_21_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/9/29/19b2e1e891ef0e2dc1e47425293ba20c.jpg","text":"TemporaryFile(/tmp/multipartBody2116563596318351984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174938548,"filename":"image_29092025_21_41_34_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792785","file1":"1386792781","file0":"1386792777","file4":"1386792795","file5":"1386792801","file3":"1386792792"},"map_files_photo_id_array":[{"photo_id":"1386792801","filename":"file5"},{"photo_id":"1386792785","filename":"file2"},{"photo_id":"1386792795","filename":"file4"},{"photo_id":"1386792781","filename":"file1"},{"photo_id":"1386792777","filename":"file0"},{"photo_id":"1386792792","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792795":["hashtag1","hashtag2"]},{"1386792777":["hashtag1","hashtag2"]},{"1386792792":["hashtag1","hashtag2"]},{"1386792801":["hashtag1","hashtag2"]},{"1386792785":["hashtag1","hashtag2"]},{"1386792781":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792795, 1386792777, 1386792792, 1386792801, 1386792785, 1386792781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14750862121582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:42:02.708452
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_10_04_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_55_10736.jpg', 2), ('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_44_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_34_9739.jpg', 2), ('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_25_10705.jpg', 2), ('/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_14_9771.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/09/image_29092025_20_10_04_9651.jpg', '/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_55_10736.jpg', '/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_44_9675.jpg', '/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_34_9739.jpg', '/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_25_10705.jpg', '/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_14_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_10_04_9651.jpg
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_55_10736.jpg
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_44_9675.jpg
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_34_9739.jpg
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_25_10705.jpg
/home/nano/Desktop/images/29092025/20/09/image_29092025_20_09_14_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792837","1386792816","1386792819","1386792824","1386792833","1386792829"],"photo_ids_order":["1386792816","1386792819","1386792824","1386792829","1386792833","1386792837"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3555dd3fb810fa289a632b4524232753.jpg","text":"TemporaryFile(/tmp/multipartBody703192403394088349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174984610,"filename":"image_29092025_20_09_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/54941daa703b5c13ddfba19431b5f27f.jpg","text":"TemporaryFile(/tmp/multipartBody2894071412622376634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174984610,"filename":"image_29092025_20_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/9/29/c76efd1213075203b18e3930a268098c.jpg","text":"TemporaryFile(/tmp/multipartBody116142480640660562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174984610,"filename":"image_29092025_20_09_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0872165c7c37b4dc1aeb6a59fc977775.jpg","text":"TemporaryFile(/tmp/multipartBody2668829920360975211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174984610,"filename":"image_29092025_20_09_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0a368198af65d0f1c64601e1ede7fa24.jpg","text":"TemporaryFile(/tmp/multipartBody3422470637894787304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174984610,"filename":"image_29092025_20_09_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e4a8e874b0f8935982bdf8f74371989b.jpg","text":"TemporaryFile(/tmp/multipartBody966419097331674246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759174984610,"filename":"image_29092025_20_09_34_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792824","file1":"1386792819","file0":"1386792816","file4":"1386792833","file5":"1386792837","file3":"1386792829"},"map_files_photo_id_array":[{"photo_id":"1386792837","filename":"file5"},{"photo_id":"1386792824","filename":"file2"},{"photo_id":"1386792833","filename":"file4"},{"photo_id":"1386792819","filename":"file1"},{"photo_id":"1386792816","filename":"file0"},{"photo_id":"1386792829","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792837":["hashtag1","hashtag2"]},{"1386792816":["hashtag1","hashtag2"]},{"1386792819":["hashtag1","hashtag2"]},{"1386792824":["hashtag1","hashtag2"]},{"1386792833":["hashtag1","hashtag2"]},{"1386792829":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792837, 1386792816, 1386792819, 1386792824, 1386792833, 1386792829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32359480857849 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:42:47.162779
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_45_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_25_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_15_10684.jpg', 2), ('/home/nano/Desktop/images/29092025/21/41/image_29092025_21_42_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_55_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/20/08/image_29092025_20_09_04_9747.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_45_10672.jpg', '/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_25_9646.jpg', '/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_15_10684.jpg', '/home/nano/Desktop/images/29092025/21/41/image_29092025_21_42_04_9658.jpg', '/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_55_10654.jpg', '/home/nano/Desktop/images/29092025/20/08/image_29092025_20_09_04_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_45_10672.jpg
/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_25_9646.jpg
/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_15_10684.jpg
/home/nano/Desktop/images/29092025/21/41/image_29092025_21_42_04_9658.jpg
/home/nano/Desktop/images/29092025/21/41/image_29092025_21_41_55_10654.jpg
/home/nano/Desktop/images/29092025/20/08/image_29092025_20_09_04_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792864","1386792869","1386792857","1386792853","1386792856","1386792859"],"photo_ids_order":["1386792853","1386792856","1386792857","1386792859","1386792864","1386792869"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1f453dffa8d25cb159dbe60ba7986272.jpg","text":"TemporaryFile(/tmp/multipartBody2734740626257811818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175029051,"filename":"image_29092025_21_41_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f53943e68860616a1d381cc94d35834e.jpg","text":"TemporaryFile(/tmp/multipartBody4097034529128031967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175029051,"filename":"image_29092025_20_09_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/49fd843570b61ffea0aa175fa61815e1.jpg","text":"TemporaryFile(/tmp/multipartBody4892595472768343554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175029051,"filename":"image_29092025_21_42_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ced6205f3def542ee17294a175f0c039.jpg","text":"TemporaryFile(/tmp/multipartBody8468259066214900281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175029051,"filename":"image_29092025_21_42_45_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/26387a1c4a8de9ffe1a0ff439c0ee937.jpg","text":"TemporaryFile(/tmp/multipartBody3530899294473312042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175029051,"filename":"image_29092025_21_42_25_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c887ebea47a2974d68c10f1d7c5f233a.jpg","text":"TemporaryFile(/tmp/multipartBody4106105287520547483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175029051,"filename":"image_29092025_21_42_04_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792857","file1":"1386792856","file0":"1386792853","file4":"1386792864","file5":"1386792869","file3":"1386792859"},"map_files_photo_id_array":[{"photo_id":"1386792869","filename":"file5"},{"photo_id":"1386792857","filename":"file2"},{"photo_id":"1386792864","filename":"file4"},{"photo_id":"1386792856","filename":"file1"},{"photo_id":"1386792853","filename":"file0"},{"photo_id":"1386792859","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792864":["hashtag1","hashtag2"]},{"1386792869":["hashtag1","hashtag2"]},{"1386792857":["hashtag1","hashtag2"]},{"1386792853":["hashtag1","hashtag2"]},{"1386792856":["hashtag1","hashtag2"]},{"1386792859":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792864, 1386792869, 1386792857, 1386792853, 1386792856, 1386792859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.201804399490356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:43:32.253018
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_45_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_25_9641.jpg', 2), ('/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_15_10679.jpg', 2), ('/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_55_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_54_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_45_10657.jpg', '/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_34_9646.jpg', '/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_25_9641.jpg', '/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_15_10679.jpg', '/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_55_9640.jpg', '/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_45_10657.jpg
/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_34_9646.jpg
/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_25_9641.jpg
/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_15_10679.jpg
/home/nano/Desktop/images/29092025/21/42/image_29092025_21_42_55_9640.jpg
/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_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":["1386792907","1386792900","1386792890","1386792905","1386792886","1386792895"],"photo_ids_order":["1386792886","1386792890","1386792895","1386792900","1386792905","1386792907"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7b710235324de35a6e6a75fecff830fc.jpg","text":"TemporaryFile(/tmp/multipartBody5446947230590671647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175074304,"filename":"image_29092025_20_08_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6b876069139176009c08b582bc5d7f40.jpg","text":"TemporaryFile(/tmp/multipartBody5689139417643946127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175074304,"filename":"image_29092025_21_43_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/399564d5791cf203dbc68ec9a3071d04.jpg","text":"TemporaryFile(/tmp/multipartBody534107157874856194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175074304,"filename":"image_29092025_21_43_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f66fab5e607a3eea5e4722e6bcf9ad7d.jpg","text":"TemporaryFile(/tmp/multipartBody5168300941279696750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175074304,"filename":"image_29092025_21_42_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7ca721fcd73761c5d8187688ed389f68.jpg","text":"TemporaryFile(/tmp/multipartBody6960843876307433908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175074304,"filename":"image_29092025_21_43_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bf283d6ab00c1a840f5cc1e4226aa935.jpg","text":"TemporaryFile(/tmp/multipartBody6945550504917158715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175074304,"filename":"image_29092025_21_43_25_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792895","file1":"1386792890","file0":"1386792886","file4":"1386792905","file5":"1386792907","file3":"1386792900"},"map_files_photo_id_array":[{"photo_id":"1386792907","filename":"file5"},{"photo_id":"1386792895","filename":"file2"},{"photo_id":"1386792905","filename":"file4"},{"photo_id":"1386792890","filename":"file1"},{"photo_id":"1386792886","filename":"file0"},{"photo_id":"1386792900","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792907":["hashtag1","hashtag2"]},{"1386792900":["hashtag1","hashtag2"]},{"1386792890":["hashtag1","hashtag2"]},{"1386792905":["hashtag1","hashtag2"]},{"1386792886":["hashtag1","hashtag2"]},{"1386792895":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792907, 1386792900, 1386792890, 1386792905, 1386792886, 1386792895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09081172943115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:44:17.357183
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_45_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_34_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_15_10690.jpg', 2), ('/home/nano/Desktop/images/29092025/21/43/image_29092025_21_44_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_55_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_45_10673.jpg', '/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_34_9654.jpg', '/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_24_9645.jpg', '/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_15_10690.jpg', '/home/nano/Desktop/images/29092025/21/43/image_29092025_21_44_04_9656.jpg', '/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_45_10673.jpg
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_34_9654.jpg
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_24_9645.jpg
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_15_10690.jpg
/home/nano/Desktop/images/29092025/21/43/image_29092025_21_44_04_9656.jpg
/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_55_9658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4357154369354248 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:44:32.375873
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_45_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_34_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_15_10690.jpg', 2), ('/home/nano/Desktop/images/29092025/21/43/image_29092025_21_44_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_55_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_45_10673.jpg', '/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_34_9654.jpg', '/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_24_9645.jpg', '/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_15_10690.jpg', '/home/nano/Desktop/images/29092025/21/43/image_29092025_21_44_04_9656.jpg', '/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_45_10673.jpg
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_34_9654.jpg
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_24_9645.jpg
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_15_10690.jpg
/home/nano/Desktop/images/29092025/21/43/image_29092025_21_44_04_9656.jpg
/home/nano/Desktop/images/29092025/21/43/image_29092025_21_43_55_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":["1386792951","1386792944","1386792947","1386792955","1386792940","1386792943"],"photo_ids_order":["1386792940","1386792943","1386792944","1386792947","1386792951","1386792955"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a9cfba38e2c464ccc4530de1ce7c9e29.jpg","text":"TemporaryFile(/tmp/multipartBody7432603016389143182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175133670,"filename":"image_29092025_21_44_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/9/29/721d18b400f6f0979d05d97fdba24196.jpg","text":"TemporaryFile(/tmp/multipartBody4967474846583333503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175133670,"filename":"image_29092025_21_44_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/9/29/e095928601acede08a6b9e2fb0ffa72a.jpg","text":"TemporaryFile(/tmp/multipartBody8546548539279516431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175133670,"filename":"image_29092025_21_44_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ffef6bf3078b7dee186c1433950e8570.jpg","text":"TemporaryFile(/tmp/multipartBody1057371633124244148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175133670,"filename":"image_29092025_21_43_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/733df2beefdddbf90b4b5e444c01b75d.jpg","text":"TemporaryFile(/tmp/multipartBody8087046510415151723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175133670,"filename":"image_29092025_21_44_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/18b0d1de7683cd9be69405b18c673eda.jpg","text":"TemporaryFile(/tmp/multipartBody9017547742830308054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175133670,"filename":"image_29092025_21_44_34_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792944","file1":"1386792943","file0":"1386792940","file4":"1386792951","file5":"1386792955","file3":"1386792947"},"map_files_photo_id_array":[{"photo_id":"1386792955","filename":"file5"},{"photo_id":"1386792944","filename":"file2"},{"photo_id":"1386792951","filename":"file4"},{"photo_id":"1386792943","filename":"file1"},{"photo_id":"1386792940","filename":"file0"},{"photo_id":"1386792947","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792951":["hashtag1","hashtag2"]},{"1386792944":["hashtag1","hashtag2"]},{"1386792947":["hashtag1","hashtag2"]},{"1386792955":["hashtag1","hashtag2"]},{"1386792940":["hashtag1","hashtag2"]},{"1386792943":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792951, 1386792944, 1386792947, 1386792955, 1386792940, 1386792943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.486356258392334 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:45:17.467100
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_25_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_15_10697.jpg', 2), ('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_45_04_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_54_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_45_10753.jpg', 2), ('/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_34_9757.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_25_9665.jpg', '/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_15_10697.jpg', '/home/nano/Desktop/images/29092025/21/44/image_29092025_21_45_04_9698.jpg', '/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_54_9669.jpg', '/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_45_10753.jpg', '/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_34_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_25_9665.jpg
/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_15_10697.jpg
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_45_04_9698.jpg
/home/nano/Desktop/images/29092025/21/44/image_29092025_21_44_54_9669.jpg
/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_45_10753.jpg
/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_34_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386792987","1386792969","1386792990","1386792972","1386792983","1386792977"],"photo_ids_order":["1386792969","1386792972","1386792977","1386792983","1386792987","1386792990"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0dc8dd839b41fb62618b813e1d32dfce.jpg","text":"TemporaryFile(/tmp/multipartBody6822110959284267385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175179199,"filename":"image_29092025_20_08_45_10753.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a86f203863265f34757642af33b5d875.jpg","text":"TemporaryFile(/tmp/multipartBody7716565734050757088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175179199,"filename":"image_29092025_21_45_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/798f5e7e91fc4c90de21dfc9d4e643bd.jpg","text":"TemporaryFile(/tmp/multipartBody1721177025479540226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175179199,"filename":"image_29092025_20_08_34_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/22e0d9c093463c06ec963e3cdeb35a61.jpg","text":"TemporaryFile(/tmp/multipartBody5413892193895051012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175179199,"filename":"image_29092025_21_45_15_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1244bbb5667a2b05d4c606df9876fa9d.jpg","text":"TemporaryFile(/tmp/multipartBody7674580723925245424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175179199,"filename":"image_29092025_21_44_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a940bafc0863936170fa42d5cc325f57.jpg","text":"TemporaryFile(/tmp/multipartBody2119056949387875256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175179199,"filename":"image_29092025_21_45_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792977","file1":"1386792972","file0":"1386792969","file4":"1386792987","file5":"1386792990","file3":"1386792983"},"map_files_photo_id_array":[{"photo_id":"1386792990","filename":"file5"},{"photo_id":"1386792977","filename":"file2"},{"photo_id":"1386792987","filename":"file4"},{"photo_id":"1386792972","filename":"file1"},{"photo_id":"1386792969","filename":"file0"},{"photo_id":"1386792983","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386792987":["hashtag1","hashtag2"]},{"1386792969":["hashtag1","hashtag2"]},{"1386792990":["hashtag1","hashtag2"]},{"1386792972":["hashtag1","hashtag2"]},{"1386792983":["hashtag1","hashtag2"]},{"1386792977":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386792987, 1386792969, 1386792990, 1386792972, 1386792983, 1386792977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37195920944214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:46:03.120639
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_24_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_15_9846.jpg', 2), ('/home/nano/Desktop/images/29092025/20/07/image_29092025_20_08_05_10735.jpg', 2), ('/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_54_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_44_9767.jpg', 2), ('/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_35_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_24_9669.jpg', '/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_15_9846.jpg', '/home/nano/Desktop/images/29092025/20/07/image_29092025_20_08_05_10735.jpg', '/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_54_9686.jpg', '/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_44_9767.jpg', '/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_35_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_24_9669.jpg
/home/nano/Desktop/images/29092025/20/08/image_29092025_20_08_15_9846.jpg
/home/nano/Desktop/images/29092025/20/07/image_29092025_20_08_05_10735.jpg
/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_54_9686.jpg
/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_44_9767.jpg
/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_35_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":["1386793023","1386793020","1386793008","1386793016","1386793028","1386793012"],"photo_ids_order":["1386793008","1386793012","1386793016","1386793020","1386793023","1386793028"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ad29cad72f601da172e41cca88838bba.jpg","text":"TemporaryFile(/tmp/multipartBody4355619569601453015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175225093,"filename":"image_29092025_20_07_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ad0e508142224235425fb454d4cb7095.jpg","text":"TemporaryFile(/tmp/multipartBody5356306282719218999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175225093,"filename":"image_29092025_20_07_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/44fea14116a5ffcf5130eab73ac768ca.jpg","text":"TemporaryFile(/tmp/multipartBody8591512719642786974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175225093,"filename":"image_29092025_20_08_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bbf4f0c4e23f9191eedb0e4f33bb724c.jpg","text":"TemporaryFile(/tmp/multipartBody3029598261847529710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175225093,"filename":"image_29092025_20_08_05_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bc3cf28542a7e9711bbedb49f840e46b.jpg","text":"TemporaryFile(/tmp/multipartBody9129296057547553768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175225093,"filename":"image_29092025_20_07_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ee8f8da359df8706ab0001f8fc91a8c5.jpg","text":"TemporaryFile(/tmp/multipartBody1034866197619512179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175225093,"filename":"image_29092025_20_08_15_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793016","file1":"1386793012","file0":"1386793008","file4":"1386793023","file5":"1386793028","file3":"1386793020"},"map_files_photo_id_array":[{"photo_id":"1386793028","filename":"file5"},{"photo_id":"1386793016","filename":"file2"},{"photo_id":"1386793023","filename":"file4"},{"photo_id":"1386793012","filename":"file1"},{"photo_id":"1386793008","filename":"file0"},{"photo_id":"1386793020","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793023":["hashtag1","hashtag2"]},{"1386793020":["hashtag1","hashtag2"]},{"1386793008":["hashtag1","hashtag2"]},{"1386793016":["hashtag1","hashtag2"]},{"1386793028":["hashtag1","hashtag2"]},{"1386793012":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793023, 1386793020, 1386793008, 1386793016, 1386793028, 1386793012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32664728164673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:46:47.575168
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_45_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_34_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_25_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_15_10701.jpg', 2), ('/home/nano/Desktop/images/29092025/21/45/image_29092025_21_46_04_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_34_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_45_10671.jpg', '/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_34_9662.jpg', '/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_25_9658.jpg', '/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_15_10701.jpg', '/home/nano/Desktop/images/29092025/21/45/image_29092025_21_46_04_9678.jpg', '/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_34_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_45_10671.jpg
/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_34_9662.jpg
/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_25_9658.jpg
/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_15_10701.jpg
/home/nano/Desktop/images/29092025/21/45/image_29092025_21_46_04_9678.jpg
/home/nano/Desktop/images/29092025/21/45/image_29092025_21_45_34_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":["1386793056","1386793050","1386793053","1386793061","1386793046","1386793066"],"photo_ids_order":["1386793046","1386793050","1386793053","1386793056","1386793061","1386793066"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/19b9254346bda002de0cdd655fb2feed.jpg","text":"TemporaryFile(/tmp/multipartBody1956837396201416830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175269327,"filename":"image_29092025_21_46_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3bf5fd09ec3186ca2a4b4f608553cbbb.jpg","text":"TemporaryFile(/tmp/multipartBody1873896934538180808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175269327,"filename":"image_29092025_21_46_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2d621f0e6d71fc8a5e4ecb6754e1214e.jpg","text":"TemporaryFile(/tmp/multipartBody724365112653432800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175269327,"filename":"image_29092025_21_46_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ec3846a78234c068a3b5158394d519b4.jpg","text":"TemporaryFile(/tmp/multipartBody3648956040927398530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175269327,"filename":"image_29092025_21_46_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/9/29/c8b32e59f12505891b74d6f839e67df6.jpg","text":"TemporaryFile(/tmp/multipartBody7875198247074810440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175269327,"filename":"image_29092025_21_46_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6cd67aca050f9639ffb3a4e702a6df25.jpg","text":"TemporaryFile(/tmp/multipartBody2548858827117795981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175269327,"filename":"image_29092025_21_45_34_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793053","file1":"1386793050","file0":"1386793046","file4":"1386793061","file5":"1386793066","file3":"1386793056"},"map_files_photo_id_array":[{"photo_id":"1386793066","filename":"file5"},{"photo_id":"1386793053","filename":"file2"},{"photo_id":"1386793061","filename":"file4"},{"photo_id":"1386793050","filename":"file1"},{"photo_id":"1386793046","filename":"file0"},{"photo_id":"1386793056","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793056":["hashtag1","hashtag2"]},{"1386793050":["hashtag1","hashtag2"]},{"1386793053":["hashtag1","hashtag2"]},{"1386793061":["hashtag1","hashtag2"]},{"1386793046":["hashtag1","hashtag2"]},{"1386793066":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793056, 1386793050, 1386793053, 1386793061, 1386793046, 1386793066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2939567565918 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:47:32.736076
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_34_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_25_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_14_9680.jpg', 2), ('/home/nano/Desktop/images/29092025/21/46/image_29092025_21_47_04_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_55_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_25_10712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_34_9664.jpg', '/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_25_10666.jpg', '/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_14_9680.jpg', '/home/nano/Desktop/images/29092025/21/46/image_29092025_21_47_04_9676.jpg', '/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_55_9660.jpg', '/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_25_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_34_9664.jpg
/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_25_10666.jpg
/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_14_9680.jpg
/home/nano/Desktop/images/29092025/21/46/image_29092025_21_47_04_9676.jpg
/home/nano/Desktop/images/29092025/21/46/image_29092025_21_46_55_9660.jpg
/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_25_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793083","1386793085","1386793093","1386793096","1386793099","1386793089"],"photo_ids_order":["1386793083","1386793085","1386793089","1386793093","1386793096","1386793099"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f566be1b134398239f59abf83285afe7.jpg","text":"TemporaryFile(/tmp/multipartBody1914964498274160837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175314363,"filename":"image_29092025_21_47_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c72d9aa1eae8bcba69cec83a54a03b00.jpg","text":"TemporaryFile(/tmp/multipartBody2013200279358763954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175314363,"filename":"image_29092025_21_47_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c2a84fb48ae36d7707fc369a845c8237.jpg","text":"TemporaryFile(/tmp/multipartBody6413035702445494934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175314363,"filename":"image_29092025_21_47_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/9/29/0a09f4005e8c7439dd8bcb9ceb4e9be7.jpg","text":"TemporaryFile(/tmp/multipartBody7957665033097691161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175314363,"filename":"image_29092025_21_46_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/89f1feb9cc3ad46d710eb78eb8e2238d.jpg","text":"TemporaryFile(/tmp/multipartBody7130242612685349175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175314363,"filename":"image_29092025_20_07_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ccb1359d2b0255056b29ab576e1b76b1.jpg","text":"TemporaryFile(/tmp/multipartBody4688686829823824952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175314363,"filename":"image_29092025_21_47_14_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793089","file1":"1386793085","file0":"1386793083","file4":"1386793096","file5":"1386793099","file3":"1386793093"},"map_files_photo_id_array":[{"photo_id":"1386793099","filename":"file5"},{"photo_id":"1386793089","filename":"file2"},{"photo_id":"1386793096","filename":"file4"},{"photo_id":"1386793085","filename":"file1"},{"photo_id":"1386793083","filename":"file0"},{"photo_id":"1386793093","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793083":["hashtag1","hashtag2"]},{"1386793085":["hashtag1","hashtag2"]},{"1386793093":["hashtag1","hashtag2"]},{"1386793096":["hashtag1","hashtag2"]},{"1386793099":["hashtag1","hashtag2"]},{"1386793089":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793083, 1386793085, 1386793093, 1386793096, 1386793099, 1386793089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37454867362976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:48:16.827304
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_44_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_34_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_25_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_14_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_44_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_14_9733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_44_9664.jpg', '/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_34_9666.jpg', '/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_25_10672.jpg', '/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_14_9681.jpg', '/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_44_9664.jpg', '/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_44_9664.jpg
/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_34_9666.jpg
/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_25_10672.jpg
/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_14_9681.jpg
/home/nano/Desktop/images/29092025/21/47/image_29092025_21_47_44_9664.jpg
/home/nano/Desktop/images/29092025/20/07/image_29092025_20_07_14_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793131","1386793128","1386793133","1386793136","1386793124","1386793120"],"photo_ids_order":["1386793120","1386793124","1386793128","1386793131","1386793133","1386793136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/046a479644aca38250f6507a81edf302.jpg","text":"TemporaryFile(/tmp/multipartBody2388721824657212090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175358729,"filename":"image_29092025_21_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/9/29/1acf3fca1ae585b0dbdbfc742e5ebba7.jpg","text":"TemporaryFile(/tmp/multipartBody7473170384607774786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175358729,"filename":"image_29092025_21_48_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bfa2a33646930205b9034785a9c05ceb.jpg","text":"TemporaryFile(/tmp/multipartBody4147503210168613546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175358729,"filename":"image_29092025_21_47_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/901e0ff0ac454945cc8804d576f2e1b8.jpg","text":"TemporaryFile(/tmp/multipartBody2659459414157909974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175358729,"filename":"image_29092025_20_07_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e37ccd41c9107349e8735e4348cf21a2.jpg","text":"TemporaryFile(/tmp/multipartBody2887142483087225703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175358729,"filename":"image_29092025_21_48_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2b25bb8a4cfbbc994d4d6b8bae69ab2a.jpg","text":"TemporaryFile(/tmp/multipartBody9131300558015760649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175358729,"filename":"image_29092025_21_48_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793128","file1":"1386793124","file0":"1386793120","file4":"1386793133","file5":"1386793136","file3":"1386793131"},"map_files_photo_id_array":[{"photo_id":"1386793136","filename":"file5"},{"photo_id":"1386793128","filename":"file2"},{"photo_id":"1386793133","filename":"file4"},{"photo_id":"1386793124","filename":"file1"},{"photo_id":"1386793120","filename":"file0"},{"photo_id":"1386793131","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793131":["hashtag1","hashtag2"]},{"1386793128":["hashtag1","hashtag2"]},{"1386793133":["hashtag1","hashtag2"]},{"1386793136":["hashtag1","hashtag2"]},{"1386793124":["hashtag1","hashtag2"]},{"1386793120":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793131, 1386793128, 1386793133, 1386793136, 1386793124, 1386793120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.631126165390015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:49:02.908855
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/06/image_29092025_20_07_05_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_55_10634.jpg', 2), ('/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_44_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_35_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_25_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_14_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/06/image_29092025_20_07_05_9659.jpg', '/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_55_10634.jpg', '/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_44_9683.jpg', '/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_35_9670.jpg', '/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_25_10655.jpg', '/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_14_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/06/image_29092025_20_07_05_9659.jpg
/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_55_10634.jpg
/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_44_9683.jpg
/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_35_9670.jpg
/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_25_10655.jpg
/home/nano/Desktop/images/29092025/20/06/image_29092025_20_06_14_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793155","1386793170","1386793175","1386793160","1386793165","1386793150"],"photo_ids_order":["1386793150","1386793155","1386793160","1386793165","1386793170","1386793175"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cae9c316d65a1db2fa3a38799f5349ba.jpg","text":"TemporaryFile(/tmp/multipartBody3761209040193788893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175404915,"filename":"image_29092025_20_06_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/83e3c889d5b6eb468c50543e08d74921.jpg","text":"TemporaryFile(/tmp/multipartBody8552579823914185839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175404915,"filename":"image_29092025_20_06_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a34fb84873acf5a4b2b884471229b4e8.jpg","text":"TemporaryFile(/tmp/multipartBody4615468637136199235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175404915,"filename":"image_29092025_20_06_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/718e0893f9e137a134b024e6979e620c.jpg","text":"TemporaryFile(/tmp/multipartBody1184262920645276931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175404915,"filename":"image_29092025_20_06_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8badec77be1662c94ea529a949f950ab.jpg","text":"TemporaryFile(/tmp/multipartBody6922774647231627259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175404915,"filename":"image_29092025_20_06_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e83b9b040a0b7288ef28c45493b434ca.jpg","text":"TemporaryFile(/tmp/multipartBody8180510516992854430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175404915,"filename":"image_29092025_20_07_05_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793160","file1":"1386793155","file0":"1386793150","file4":"1386793170","file5":"1386793175","file3":"1386793165"},"map_files_photo_id_array":[{"photo_id":"1386793175","filename":"file5"},{"photo_id":"1386793160","filename":"file2"},{"photo_id":"1386793170","filename":"file4"},{"photo_id":"1386793155","filename":"file1"},{"photo_id":"1386793150","filename":"file0"},{"photo_id":"1386793165","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793155":["hashtag1","hashtag2"]},{"1386793170":["hashtag1","hashtag2"]},{"1386793175":["hashtag1","hashtag2"]},{"1386793160":["hashtag1","hashtag2"]},{"1386793165":["hashtag1","hashtag2"]},{"1386793150":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793155, 1386793170, 1386793175, 1386793160, 1386793165, 1386793150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.225157022476196 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:49:46.889602
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_34_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_25_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_14_9687.jpg', 2), ('/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_55_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/20/05/image_29092025_20_06_04_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_55_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_34_9679.jpg', '/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_25_10672.jpg', '/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_14_9687.jpg', '/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_55_10675.jpg', '/home/nano/Desktop/images/29092025/20/05/image_29092025_20_06_04_9643.jpg', '/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_55_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_34_9679.jpg
/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_25_10672.jpg
/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_14_9687.jpg
/home/nano/Desktop/images/29092025/21/48/image_29092025_21_48_55_10675.jpg
/home/nano/Desktop/images/29092025/20/05/image_29092025_20_06_04_9643.jpg
/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_55_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793203","1386793199","1386793190","1386793208","1386793198","1386793194"],"photo_ids_order":["1386793190","1386793194","1386793198","1386793199","1386793203","1386793208"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/23c5292e6b647a48a44b2127c41f8985.jpg","text":"TemporaryFile(/tmp/multipartBody1786591497990068005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175448658,"filename":"image_29092025_20_06_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/9/29/23f95d6f42a7dc24e9f241371e4b81c3.jpg","text":"TemporaryFile(/tmp/multipartBody73476293572169695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175448658,"filename":"image_29092025_21_48_55_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/edd3d4772a243e42c47347c00d4a2112.jpg","text":"TemporaryFile(/tmp/multipartBody5905555963521462626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175448658,"filename":"image_29092025_21_49_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b6da9bcad3a5d74feb09b0941de099d9.jpg","text":"TemporaryFile(/tmp/multipartBody7606407391848556808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175448658,"filename":"image_29092025_20_05_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/676949a40fd0dc5f19c3d19b35ef640b.jpg","text":"TemporaryFile(/tmp/multipartBody4685393601873474715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175448658,"filename":"image_29092025_21_49_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/9/29/bc5b88a0ba1cad2ce1bedff234d326de.jpg","text":"TemporaryFile(/tmp/multipartBody4949223741850514544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175448658,"filename":"image_29092025_21_49_25_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793198","file1":"1386793194","file0":"1386793190","file4":"1386793203","file5":"1386793208","file3":"1386793199"},"map_files_photo_id_array":[{"photo_id":"1386793208","filename":"file5"},{"photo_id":"1386793198","filename":"file2"},{"photo_id":"1386793203","filename":"file4"},{"photo_id":"1386793194","filename":"file1"},{"photo_id":"1386793190","filename":"file0"},{"photo_id":"1386793199","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793203":["hashtag1","hashtag2"]},{"1386793199":["hashtag1","hashtag2"]},{"1386793190":["hashtag1","hashtag2"]},{"1386793208":["hashtag1","hashtag2"]},{"1386793198":["hashtag1","hashtag2"]},{"1386793194":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793203, 1386793199, 1386793190, 1386793208, 1386793198, 1386793194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82581949234009 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:50:32.004388
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_34_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_25_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_44_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_44_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_35_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_34_9665.jpg', '/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_25_10674.jpg', '/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_14_9689.jpg', '/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_44_9664.jpg', '/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_44_9648.jpg', '/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_35_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_34_9665.jpg
/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_25_10674.jpg
/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_14_9689.jpg
/home/nano/Desktop/images/29092025/21/49/image_29092025_21_49_44_9664.jpg
/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_44_9648.jpg
/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_35_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":["1386793233","1386793229","1386793220","1386793223","1386793226","1386793237"],"photo_ids_order":["1386793220","1386793223","1386793226","1386793229","1386793233","1386793237"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/dc625e54e874ff454990fadfdb36d5e7.jpg","text":"TemporaryFile(/tmp/multipartBody8885998358779200402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175493526,"filename":"image_29092025_20_05_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4cd68cbb4899276ad9703b9b6ee0d7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5641213144788496317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175493526,"filename":"image_29092025_21_49_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/216a3c3a753d19af88634b64185efed3.jpg","text":"TemporaryFile(/tmp/multipartBody8830464477781184491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175493526,"filename":"image_29092025_21_50_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/718590a41e7946025cd238d4187f62ee.jpg","text":"TemporaryFile(/tmp/multipartBody8220781126166330962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175493526,"filename":"image_29092025_21_50_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7bb4dc743c3157e5028fb45cf9c5d270.jpg","text":"TemporaryFile(/tmp/multipartBody8099552446646228066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175493526,"filename":"image_29092025_21_50_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/9/29/95b6045a4ff585850239cb4a70947f15.jpg","text":"TemporaryFile(/tmp/multipartBody4392305835849346265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175493526,"filename":"image_29092025_20_05_35_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793226","file1":"1386793223","file0":"1386793220","file4":"1386793233","file5":"1386793237","file3":"1386793229"},"map_files_photo_id_array":[{"photo_id":"1386793237","filename":"file5"},{"photo_id":"1386793226","filename":"file2"},{"photo_id":"1386793233","filename":"file4"},{"photo_id":"1386793223","filename":"file1"},{"photo_id":"1386793220","filename":"file0"},{"photo_id":"1386793229","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793233":["hashtag1","hashtag2"]},{"1386793229":["hashtag1","hashtag2"]},{"1386793220":["hashtag1","hashtag2"]},{"1386793223":["hashtag1","hashtag2"]},{"1386793226":["hashtag1","hashtag2"]},{"1386793237":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793233, 1386793229, 1386793220, 1386793223, 1386793226, 1386793237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.999250411987305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:51:17.233994
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_34_9580.jpg', 2), ('/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_14_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_44_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_25_10760.jpg', 2), ('/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_14_9709.jpg', 2), ('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_05_04_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_34_9580.jpg', '/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_14_9688.jpg', '/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_44_9674.jpg', '/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_25_10760.jpg', '/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_14_9709.jpg', '/home/nano/Desktop/images/29092025/20/04/image_29092025_20_05_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_34_9580.jpg
/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_14_9688.jpg
/home/nano/Desktop/images/29092025/21/50/image_29092025_21_50_44_9674.jpg
/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_25_10760.jpg
/home/nano/Desktop/images/29092025/20/05/image_29092025_20_05_14_9709.jpg
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_05_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":["1386793260","1386793265","1386793274","1386793255","1386793270","1386793272"],"photo_ids_order":["1386793255","1386793260","1386793265","1386793270","1386793272","1386793274"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0df29dc4038830cf454818581967b416.jpg","text":"TemporaryFile(/tmp/multipartBody8402784370939254854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175538805,"filename":"image_29092025_21_51_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/9/29/c653094576ffd4bbcf0bf486a317be42.jpg","text":"TemporaryFile(/tmp/multipartBody4568194472591895990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175538805,"filename":"image_29092025_21_50_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3eb076db1b9d2836209d079864ba8d09.jpg","text":"TemporaryFile(/tmp/multipartBody8164369540230932703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175538805,"filename":"image_29092025_20_05_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/9/29/38dea9eccf2bd346e40cd3664e4c9ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7979885206286502148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175538805,"filename":"image_29092025_21_51_34_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cb6c4f21b716462d06039bd6e9a53e33.jpg","text":"TemporaryFile(/tmp/multipartBody7950634756495509982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175538805,"filename":"image_29092025_20_05_25_10760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/211d70309f61fd119f760f2946e947dc.jpg","text":"TemporaryFile(/tmp/multipartBody6169138206596565616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175538805,"filename":"image_29092025_20_05_14_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793265","file1":"1386793260","file0":"1386793255","file4":"1386793272","file5":"1386793274","file3":"1386793270"},"map_files_photo_id_array":[{"photo_id":"1386793274","filename":"file5"},{"photo_id":"1386793265","filename":"file2"},{"photo_id":"1386793272","filename":"file4"},{"photo_id":"1386793260","filename":"file1"},{"photo_id":"1386793255","filename":"file0"},{"photo_id":"1386793270","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793260":["hashtag1","hashtag2"]},{"1386793265":["hashtag1","hashtag2"]},{"1386793274":["hashtag1","hashtag2"]},{"1386793255":["hashtag1","hashtag2"]},{"1386793270":["hashtag1","hashtag2"]},{"1386793272":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793260, 1386793265, 1386793274, 1386793255, 1386793270, 1386793272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.802637338638306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:52:02.774551
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_55_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_44_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_34_9637.jpg', 2), ('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_25_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/20/03/image_29092025_20_04_04_9683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_55_10660.jpg', '/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_44_9633.jpg', '/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_34_9637.jpg', '/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_25_10676.jpg', '/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_14_9664.jpg', '/home/nano/Desktop/images/29092025/20/03/image_29092025_20_04_04_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_55_10660.jpg
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_44_9633.jpg
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_34_9637.jpg
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_25_10676.jpg
/home/nano/Desktop/images/29092025/20/04/image_29092025_20_04_14_9664.jpg
/home/nano/Desktop/images/29092025/20/03/image_29092025_20_04_04_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793296","1386793300","1386793290","1386793284","1386793293","1386793287"],"photo_ids_order":["1386793284","1386793287","1386793290","1386793293","1386793296","1386793300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9f330cc66a4539396911ee82d21e1edc.jpg","text":"TemporaryFile(/tmp/multipartBody711489702141515942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175584575,"filename":"image_29092025_20_04_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/9/29/c8f6547f542e2f1a9c85e50c14e40816.jpg","text":"TemporaryFile(/tmp/multipartBody8602106406357393805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175584575,"filename":"image_29092025_20_04_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8a74c5b13fe2de8a050979c9e4fd34de.jpg","text":"TemporaryFile(/tmp/multipartBody1111025497285232286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175584575,"filename":"image_29092025_20_04_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/9/29/29069086d97db3e6fcc361232ab2896e.jpg","text":"TemporaryFile(/tmp/multipartBody6952354562558017350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175584575,"filename":"image_29092025_20_04_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5ecf62c76f5cb0f29847f0ab4173683b.jpg","text":"TemporaryFile(/tmp/multipartBody3697989042466922716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175584575,"filename":"image_29092025_20_04_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cdb8f9910064e3fbf1b81d080dcdabf9.jpg","text":"TemporaryFile(/tmp/multipartBody7742811546812756308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175584575,"filename":"image_29092025_20_04_44_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793290","file1":"1386793287","file0":"1386793284","file4":"1386793296","file5":"1386793300","file3":"1386793293"},"map_files_photo_id_array":[{"photo_id":"1386793300","filename":"file5"},{"photo_id":"1386793290","filename":"file2"},{"photo_id":"1386793296","filename":"file4"},{"photo_id":"1386793287","filename":"file1"},{"photo_id":"1386793284","filename":"file0"},{"photo_id":"1386793293","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793296":["hashtag1","hashtag2"]},{"1386793300":["hashtag1","hashtag2"]},{"1386793290":["hashtag1","hashtag2"]},{"1386793284":["hashtag1","hashtag2"]},{"1386793293":["hashtag1","hashtag2"]},{"1386793287":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793296, 1386793300, 1386793290, 1386793284, 1386793293, 1386793287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98782920837402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:52:47.257701
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/51/image_29092025_21_52_04_9588.jpg', 2), ('/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_45_10587.jpg', 2), ('/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_55_10697.jpg', 2), ('/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_44_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_34_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_25_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/51/image_29092025_21_52_04_9588.jpg', '/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_45_10587.jpg', '/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_55_10697.jpg', '/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_44_9657.jpg', '/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_34_9684.jpg', '/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_25_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/51/image_29092025_21_52_04_9588.jpg
/home/nano/Desktop/images/29092025/21/51/image_29092025_21_51_45_10587.jpg
/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_55_10697.jpg
/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_44_9657.jpg
/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_34_9684.jpg
/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_25_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":["1386793317","1386793314","1386793325","1386793319","1386793330","1386793321"],"photo_ids_order":["1386793314","1386793317","1386793319","1386793321","1386793325","1386793330"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1e1e3cbeb1029beddfb74aa8dfae5efa.jpg","text":"TemporaryFile(/tmp/multipartBody8068541390930107620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175628901,"filename":"image_29092025_21_51_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e81818b69896b294c996d548f0f88cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6466505628626731304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175628901,"filename":"image_29092025_21_52_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7279a86aa281f7383a97910f72cb758d.jpg","text":"TemporaryFile(/tmp/multipartBody6388318948259823063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175628901,"filename":"image_29092025_20_03_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9c7d75598297da1da79b106e80ab6b97.jpg","text":"TemporaryFile(/tmp/multipartBody973913010330361444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175628901,"filename":"image_29092025_20_03_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/76b58f41d0894a3bb65a1f02efbd1c9d.jpg","text":"TemporaryFile(/tmp/multipartBody277584417997715947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175628901,"filename":"image_29092025_20_03_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/30b2bf677c200e332117c4bffcf02540.jpg","text":"TemporaryFile(/tmp/multipartBody3944477735965481319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175628901,"filename":"image_29092025_20_03_44_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793319","file1":"1386793317","file0":"1386793314","file4":"1386793325","file5":"1386793330","file3":"1386793321"},"map_files_photo_id_array":[{"photo_id":"1386793330","filename":"file5"},{"photo_id":"1386793319","filename":"file2"},{"photo_id":"1386793325","filename":"file4"},{"photo_id":"1386793317","filename":"file1"},{"photo_id":"1386793314","filename":"file0"},{"photo_id":"1386793321","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793317":["hashtag1","hashtag2"]},{"1386793314":["hashtag1","hashtag2"]},{"1386793325":["hashtag1","hashtag2"]},{"1386793319":["hashtag1","hashtag2"]},{"1386793330":["hashtag1","hashtag2"]},{"1386793321":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793317, 1386793314, 1386793325, 1386793319, 1386793330, 1386793321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92933464050293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:53:32.342510
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_14_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/20/02/image_29092025_20_03_04_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_55_10647.jpg', 2), ('/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_44_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_34_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_25_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_14_9696.jpg', '/home/nano/Desktop/images/29092025/20/02/image_29092025_20_03_04_9636.jpg', '/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_55_10647.jpg', '/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_44_9635.jpg', '/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_34_9620.jpg', '/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_25_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/03/image_29092025_20_03_14_9696.jpg
/home/nano/Desktop/images/29092025/20/02/image_29092025_20_03_04_9636.jpg
/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_55_10647.jpg
/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_44_9635.jpg
/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_34_9620.jpg
/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_25_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793360","1386793354","1386793363","1386793357","1386793366","1386793351"],"photo_ids_order":["1386793351","1386793354","1386793357","1386793360","1386793363","1386793366"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cff3e978eeb16041f8d85e5f5b73fec9.jpg","text":"TemporaryFile(/tmp/multipartBody3664087035833887165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175674051,"filename":"image_29092025_20_02_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/9/29/0cb9f76a1c47426bc2e009019be465f2.jpg","text":"TemporaryFile(/tmp/multipartBody707282068325635050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175674051,"filename":"image_29092025_20_03_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/9/29/516cc5c46adad8f0efdbe4b4810d54bf.jpg","text":"TemporaryFile(/tmp/multipartBody8851857390385166214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175674051,"filename":"image_29092025_20_02_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b5a793253b610c78baa19d14533ab32b.jpg","text":"TemporaryFile(/tmp/multipartBody3294387498777268479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175674051,"filename":"image_29092025_20_02_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/9/29/ff70c9fb719e6e355dd2f36ba0dc5885.jpg","text":"TemporaryFile(/tmp/multipartBody6249265191838924773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175674051,"filename":"image_29092025_20_02_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9c68418031750dd1084b9cb0f3f89541.jpg","text":"TemporaryFile(/tmp/multipartBody6508134627769890145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175674051,"filename":"image_29092025_20_03_14_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793357","file1":"1386793354","file0":"1386793351","file4":"1386793363","file5":"1386793366","file3":"1386793360"},"map_files_photo_id_array":[{"photo_id":"1386793366","filename":"file5"},{"photo_id":"1386793357","filename":"file2"},{"photo_id":"1386793363","filename":"file4"},{"photo_id":"1386793354","filename":"file1"},{"photo_id":"1386793351","filename":"file0"},{"photo_id":"1386793360","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793360":["hashtag1","hashtag2"]},{"1386793354":["hashtag1","hashtag2"]},{"1386793363":["hashtag1","hashtag2"]},{"1386793357":["hashtag1","hashtag2"]},{"1386793366":["hashtag1","hashtag2"]},{"1386793351":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793360, 1386793354, 1386793363, 1386793357, 1386793366, 1386793351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47435426712036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:54:17.457707
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/53/image_29092025_21_54_04_9585.jpg', 2), ('/home/nano/Desktop/images/29092025/21/52/image_29092025_21_52_15_10625.jpg', 2), ('/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_14_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/20/01/image_29092025_20_02_05_9632.jpg', 2), ('/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_55_10635.jpg', 2), ('/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_44_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/53/image_29092025_21_54_04_9585.jpg', '/home/nano/Desktop/images/29092025/21/52/image_29092025_21_52_15_10625.jpg', '/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_14_9670.jpg', '/home/nano/Desktop/images/29092025/20/01/image_29092025_20_02_05_9632.jpg', '/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_55_10635.jpg', '/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/53/image_29092025_21_54_04_9585.jpg
/home/nano/Desktop/images/29092025/21/52/image_29092025_21_52_15_10625.jpg
/home/nano/Desktop/images/29092025/20/02/image_29092025_20_02_14_9670.jpg
/home/nano/Desktop/images/29092025/20/01/image_29092025_20_02_05_9632.jpg
/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_55_10635.jpg
/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_44_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793389","1386793401","1386793394","1386793397","1386793385","1386793398"],"photo_ids_order":["1386793385","1386793389","1386793394","1386793397","1386793398","1386793401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/57050676e1676e7c34a9eee7a974f10d.jpg","text":"TemporaryFile(/tmp/multipartBody7878408265423029854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175718902,"filename":"image_29092025_21_52_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/dbc776df8382804daf3ee928ef2e5474.jpg","text":"TemporaryFile(/tmp/multipartBody7389513526362952968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175718902,"filename":"image_29092025_20_01_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3c7f9c0879ce94f747b94b057e6ffd21.jpg","text":"TemporaryFile(/tmp/multipartBody4914261479560468970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175718902,"filename":"image_29092025_20_02_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/9/29/fa40ff4accb3ff13d25ebed521cb8d97.jpg","text":"TemporaryFile(/tmp/multipartBody1934622245124758249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175718902,"filename":"image_29092025_20_02_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9b3f17481f14fa253b827ba85deb1dc9.jpg","text":"TemporaryFile(/tmp/multipartBody6536347815770211636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175718902,"filename":"image_29092025_21_54_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1702555ef50cb936abf759e785de57d3.jpg","text":"TemporaryFile(/tmp/multipartBody626013269768195960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175718902,"filename":"image_29092025_20_01_55_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793394","file1":"1386793389","file0":"1386793385","file4":"1386793398","file5":"1386793401","file3":"1386793397"},"map_files_photo_id_array":[{"photo_id":"1386793401","filename":"file5"},{"photo_id":"1386793394","filename":"file2"},{"photo_id":"1386793398","filename":"file4"},{"photo_id":"1386793389","filename":"file1"},{"photo_id":"1386793385","filename":"file0"},{"photo_id":"1386793397","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793389":["hashtag1","hashtag2"]},{"1386793401":["hashtag1","hashtag2"]},{"1386793394":["hashtag1","hashtag2"]},{"1386793397":["hashtag1","hashtag2"]},{"1386793385":["hashtag1","hashtag2"]},{"1386793398":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793389, 1386793401, 1386793394, 1386793397, 1386793385, 1386793398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33940649032593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:55:03.373097
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_35_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_24_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_14_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/20/00/image_29092025_20_01_05_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_54_9615.jpg', 2), ('/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_44_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_35_10637.jpg', '/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_24_9617.jpg', '/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_14_9675.jpg', '/home/nano/Desktop/images/29092025/20/00/image_29092025_20_01_05_10658.jpg', '/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_54_9615.jpg', '/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_44_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_35_10637.jpg
/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_24_9617.jpg
/home/nano/Desktop/images/29092025/20/01/image_29092025_20_01_14_9675.jpg
/home/nano/Desktop/images/29092025/20/00/image_29092025_20_01_05_10658.jpg
/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_54_9615.jpg
/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_44_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793434","1386793422","1386793425","1386793439","1386793418","1386793429"],"photo_ids_order":["1386793418","1386793422","1386793425","1386793429","1386793434","1386793439"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/77c9c975a593b5364bd7a6091b12787b.jpg","text":"TemporaryFile(/tmp/multipartBody6728957694001607175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175765061,"filename":"image_29092025_20_00_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/dcb765d9fc96b4910efd6850c5b510c9.jpg","text":"TemporaryFile(/tmp/multipartBody4556971110117535007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175765061,"filename":"image_29092025_20_01_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/11175d550650ddf2ac15fbf2bd01ccc9.jpg","text":"TemporaryFile(/tmp/multipartBody7709974163231908203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175765061,"filename":"image_29092025_20_01_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/9/29/ad7b686b2e775d054f2fc6a4ea8f1f14.jpg","text":"TemporaryFile(/tmp/multipartBody805859944068725049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175765061,"filename":"image_29092025_20_00_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/af6720b6069ce25a797a43ffcb695f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8645483361284086599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175765061,"filename":"image_29092025_20_01_35_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c534ab88aa40031029d2125b1ff25194.jpg","text":"TemporaryFile(/tmp/multipartBody1502391830529137996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175765061,"filename":"image_29092025_20_01_05_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793425","file1":"1386793422","file0":"1386793418","file4":"1386793434","file5":"1386793439","file3":"1386793429"},"map_files_photo_id_array":[{"photo_id":"1386793439","filename":"file5"},{"photo_id":"1386793425","filename":"file2"},{"photo_id":"1386793434","filename":"file4"},{"photo_id":"1386793422","filename":"file1"},{"photo_id":"1386793418","filename":"file0"},{"photo_id":"1386793429","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793434":["hashtag1","hashtag2"]},{"1386793422":["hashtag1","hashtag2"]},{"1386793425":["hashtag1","hashtag2"]},{"1386793439":["hashtag1","hashtag2"]},{"1386793418":["hashtag1","hashtag2"]},{"1386793429":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793434, 1386793422, 1386793425, 1386793439, 1386793418, 1386793429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52101731300354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:55:47.551844
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_44_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_34_9585.jpg', 2), ('/home/nano/Desktop/images/29092025/21/54/image_29092025_21_54_15_10616.jpg', 2), ('/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_35_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_24_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_14_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_44_9651.jpg', '/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_34_9585.jpg', '/home/nano/Desktop/images/29092025/21/54/image_29092025_21_54_15_10616.jpg', '/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_35_10672.jpg', '/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_24_9621.jpg', '/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_14_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_44_9651.jpg
/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_34_9585.jpg
/home/nano/Desktop/images/29092025/21/54/image_29092025_21_54_15_10616.jpg
/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_35_10672.jpg
/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_24_9621.jpg
/home/nano/Desktop/images/29092025/20/00/image_29092025_20_00_14_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793551","1386793547","1386793511","1386793561","1386793516","1386793557"],"photo_ids_order":["1386793511","1386793516","1386793547","1386793551","1386793557","1386793561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9486fae6d563aaa020b7bb00825d4c3e.jpg","text":"TemporaryFile(/tmp/multipartBody2717175642508829716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175809267,"filename":"image_29092025_20_00_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/62882b049097fc47a1847c395d4e1c89.jpg","text":"TemporaryFile(/tmp/multipartBody3720815182079042732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175809267,"filename":"image_29092025_21_54_15_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/34a2ad947b3ea389ae475b08d13c305e.jpg","text":"TemporaryFile(/tmp/multipartBody1372493022997261327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175809267,"filename":"image_29092025_21_55_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f6d30d2c7fbbe9b2e57d8a4b9b0d8e86.jpg","text":"TemporaryFile(/tmp/multipartBody2013384203891361868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175809267,"filename":"image_29092025_20_00_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/9/29/0de35b5251f2a132daae087791d92d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4893833837891037434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175809267,"filename":"image_29092025_21_55_34_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a5f3d17e637f85a31b216a8c4e436d16.jpg","text":"TemporaryFile(/tmp/multipartBody4803618966735996510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175809267,"filename":"image_29092025_20_00_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793547","file1":"1386793516","file0":"1386793511","file4":"1386793557","file5":"1386793561","file3":"1386793551"},"map_files_photo_id_array":[{"photo_id":"1386793561","filename":"file5"},{"photo_id":"1386793547","filename":"file2"},{"photo_id":"1386793557","filename":"file4"},{"photo_id":"1386793516","filename":"file1"},{"photo_id":"1386793511","filename":"file0"},{"photo_id":"1386793551","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793551":["hashtag1","hashtag2"]},{"1386793547":["hashtag1","hashtag2"]},{"1386793511":["hashtag1","hashtag2"]},{"1386793561":["hashtag1","hashtag2"]},{"1386793516":["hashtag1","hashtag2"]},{"1386793557":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793551, 1386793547, 1386793511, 1386793561, 1386793516, 1386793557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.178767681121826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:56:32.759194
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_35_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_25_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/55/image_29092025_21_56_05_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_55_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/19/59/image_29092025_20_00_05_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_54_9750.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_35_9657.jpg', '/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_25_10665.jpg', '/home/nano/Desktop/images/29092025/21/55/image_29092025_21_56_05_9678.jpg', '/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_55_10681.jpg', '/home/nano/Desktop/images/29092025/19/59/image_29092025_20_00_05_10652.jpg', '/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_54_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_35_9657.jpg
/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_25_10665.jpg
/home/nano/Desktop/images/29092025/21/55/image_29092025_21_56_05_9678.jpg
/home/nano/Desktop/images/29092025/21/55/image_29092025_21_55_55_10681.jpg
/home/nano/Desktop/images/29092025/19/59/image_29092025_20_00_05_10652.jpg
/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_54_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793586","1386793597","1386793579","1386793582","1386793593","1386793590"],"photo_ids_order":["1386793579","1386793582","1386793586","1386793590","1386793593","1386793597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8e4e382785b6cce1a933ed2dcf673761.jpg","text":"TemporaryFile(/tmp/multipartBody9020341684581096995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175854601,"filename":"image_29092025_21_56_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3cd9272b7d4306c4df559e274bbe7171.jpg","text":"TemporaryFile(/tmp/multipartBody156960792842859961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175854601,"filename":"image_29092025_19_59_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e35b621345df91e206afea01ffe19094.jpg","text":"TemporaryFile(/tmp/multipartBody2277185583789043557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175854601,"filename":"image_29092025_21_56_35_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bc66457c02847ef4dbc5a0ff9f7988ff.jpg","text":"TemporaryFile(/tmp/multipartBody2282199042879111965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175854601,"filename":"image_29092025_21_56_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/9/29/d9e9bcbdc1a4675c02bf282decea85a1.jpg","text":"TemporaryFile(/tmp/multipartBody5511270798217517458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175854601,"filename":"image_29092025_20_00_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/9/29/363522f87e6f654fe76153f654300edb.jpg","text":"TemporaryFile(/tmp/multipartBody5757621666969007532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175854601,"filename":"image_29092025_21_55_55_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793586","file1":"1386793582","file0":"1386793579","file4":"1386793593","file5":"1386793597","file3":"1386793590"},"map_files_photo_id_array":[{"photo_id":"1386793597","filename":"file5"},{"photo_id":"1386793586","filename":"file2"},{"photo_id":"1386793593","filename":"file4"},{"photo_id":"1386793582","filename":"file1"},{"photo_id":"1386793579","filename":"file0"},{"photo_id":"1386793590","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793586":["hashtag1","hashtag2"]},{"1386793597":["hashtag1","hashtag2"]},{"1386793579":["hashtag1","hashtag2"]},{"1386793582":["hashtag1","hashtag2"]},{"1386793593":["hashtag1","hashtag2"]},{"1386793590":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793586, 1386793597, 1386793579, 1386793582, 1386793593, 1386793590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.742061138153076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:57:16.871178
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_35_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_25_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_14_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/21/56/image_29092025_21_57_05_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_55_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_44_9658.jpg', '/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_35_9656.jpg', '/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_25_10667.jpg', '/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_14_9699.jpg', '/home/nano/Desktop/images/29092025/21/56/image_29092025_21_57_05_9678.jpg', '/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_55_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_44_9658.jpg
/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_35_9656.jpg
/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_25_10667.jpg
/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_14_9699.jpg
/home/nano/Desktop/images/29092025/21/56/image_29092025_21_57_05_9678.jpg
/home/nano/Desktop/images/29092025/21/56/image_29092025_21_56_55_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793632","1386793620","1386793643","1386793627","1386793636","1386793615"],"photo_ids_order":["1386793615","1386793620","1386793627","1386793632","1386793636","1386793643"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f7d8f0d16cf677d469a24dbd9727607a.jpg","text":"TemporaryFile(/tmp/multipartBody7709390632711256944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175898454,"filename":"image_29092025_21_57_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9f804f1a47f827f7b1de3f9cfbc41e08.jpg","text":"TemporaryFile(/tmp/multipartBody1624728112755257039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175898454,"filename":"image_29092025_21_57_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2368e4f667e919252afdde8ca1c25b95.jpg","text":"TemporaryFile(/tmp/multipartBody3425326765520490462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175898454,"filename":"image_29092025_21_56_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b48d178d01c283b86be885d89fc4a00f.jpg","text":"TemporaryFile(/tmp/multipartBody1938771311263833323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175898454,"filename":"image_29092025_21_57_25_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/696065fd315037a3d1aceeb4a677b92f.jpg","text":"TemporaryFile(/tmp/multipartBody8110141331627787003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175898454,"filename":"image_29092025_21_57_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a3d4c2b1b421bb9eff970ce918e91923.jpg","text":"TemporaryFile(/tmp/multipartBody6734415202697918416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175898454,"filename":"image_29092025_21_57_44_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793627","file1":"1386793620","file0":"1386793615","file4":"1386793636","file5":"1386793643","file3":"1386793632"},"map_files_photo_id_array":[{"photo_id":"1386793643","filename":"file5"},{"photo_id":"1386793627","filename":"file2"},{"photo_id":"1386793636","filename":"file4"},{"photo_id":"1386793620","filename":"file1"},{"photo_id":"1386793615","filename":"file0"},{"photo_id":"1386793632","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793632":["hashtag1","hashtag2"]},{"1386793620":["hashtag1","hashtag2"]},{"1386793643":["hashtag1","hashtag2"]},{"1386793627":["hashtag1","hashtag2"]},{"1386793636":["hashtag1","hashtag2"]},{"1386793615":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793632, 1386793620, 1386793643, 1386793627, 1386793636, 1386793615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49565052986145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:58:02.393829
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_44_9718.jpg', 2), ('/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_35_10645.jpg', 2), ('/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_24_9750.jpg', 2), ('/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_14_9765.jpg', 2), ('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_59_05_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_55_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_44_9718.jpg', '/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_35_10645.jpg', '/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_24_9750.jpg', '/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_14_9765.jpg', '/home/nano/Desktop/images/29092025/19/58/image_29092025_19_59_05_9655.jpg', '/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_55_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_44_9718.jpg
/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_35_10645.jpg
/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_24_9750.jpg
/home/nano/Desktop/images/29092025/19/59/image_29092025_19_59_14_9765.jpg
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_59_05_9655.jpg
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_55_10632.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793665","1386793659","1386793661","1386793658","1386793663","1386793656"],"photo_ids_order":["1386793656","1386793658","1386793659","1386793661","1386793663","1386793665"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/caf76e20d375c53e049f47d243e98685.jpg","text":"TemporaryFile(/tmp/multipartBody8329566336211410030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175944285,"filename":"image_29092025_19_58_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ab1ed0d53af2e47c9bc42268645f21c8.jpg","text":"TemporaryFile(/tmp/multipartBody6714089997767660581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175944285,"filename":"image_29092025_19_59_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7404f484e05673105f7d36c598596de3.jpg","text":"TemporaryFile(/tmp/multipartBody5006966654256934368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175944285,"filename":"image_29092025_19_59_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/517c71d192be9820f53827e40d99051b.jpg","text":"TemporaryFile(/tmp/multipartBody6172295446837711251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175944285,"filename":"image_29092025_19_59_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/055ec73117dda3ea72c0345ff58e5e78.jpg","text":"TemporaryFile(/tmp/multipartBody2066813797851263691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175944285,"filename":"image_29092025_19_59_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/844be0012c1a63291611481b0f7dadb4.jpg","text":"TemporaryFile(/tmp/multipartBody2564413390527857150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175944285,"filename":"image_29092025_19_59_44_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793659","file1":"1386793658","file0":"1386793656","file4":"1386793663","file5":"1386793665","file3":"1386793661"},"map_files_photo_id_array":[{"photo_id":"1386793665","filename":"file5"},{"photo_id":"1386793659","filename":"file2"},{"photo_id":"1386793663","filename":"file4"},{"photo_id":"1386793658","filename":"file1"},{"photo_id":"1386793656","filename":"file0"},{"photo_id":"1386793661","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793665":["hashtag1","hashtag2"]},{"1386793659":["hashtag1","hashtag2"]},{"1386793661":["hashtag1","hashtag2"]},{"1386793658":["hashtag1","hashtag2"]},{"1386793663":["hashtag1","hashtag2"]},{"1386793656":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793665, 1386793659, 1386793661, 1386793658, 1386793663, 1386793656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.183931827545166 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:59:02.910415
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_44_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_35_9772.jpg', 2), ('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_25_10780.jpg', 2), ('/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_14_9797.jpg', 2), ('/home/nano/Desktop/images/29092025/19/57/image_29092025_19_58_04_9643.jpg', 2), ('/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_55_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_44_9643.jpg', '/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_35_9772.jpg', '/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_25_10780.jpg', '/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_14_9797.jpg', '/home/nano/Desktop/images/29092025/19/57/image_29092025_19_58_04_9643.jpg', '/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_55_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_44_9643.jpg
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_35_9772.jpg
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_25_10780.jpg
/home/nano/Desktop/images/29092025/19/58/image_29092025_19_58_14_9797.jpg
/home/nano/Desktop/images/29092025/19/57/image_29092025_19_58_04_9643.jpg
/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_55_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793673","1386793684","1386793678","1386793669","1386793692","1386793698"],"photo_ids_order":["1386793669","1386793673","1386793678","1386793684","1386793692","1386793698"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c09ae82e8b61d853f348204b8b97de27.jpg","text":"TemporaryFile(/tmp/multipartBody8091718663726712100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176004757,"filename":"image_29092025_19_58_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/74ef970dc00188d6c8891260868853d9.jpg","text":"TemporaryFile(/tmp/multipartBody8080484001859736289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176004757,"filename":"image_29092025_19_58_14_9797.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d521d385b3cc314a2200be4e1e00a8be.jpg","text":"TemporaryFile(/tmp/multipartBody8344635326620960779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176004757,"filename":"image_29092025_19_58_25_10780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6b2ddcb31759f52f6b8e36b632d9b8bf.jpg","text":"TemporaryFile(/tmp/multipartBody3038877194681670983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176004757,"filename":"image_29092025_19_58_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/9/29/f59db65a61fc9ddb51e20b740376b750.jpg","text":"TemporaryFile(/tmp/multipartBody2833469775774886821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176004757,"filename":"image_29092025_19_58_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/9/29/9a9e76e56309560d1f15cfbad1f38120.jpg","text":"TemporaryFile(/tmp/multipartBody8861004404732328587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176004757,"filename":"image_29092025_19_57_55_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793678","file1":"1386793673","file0":"1386793669","file4":"1386793692","file5":"1386793698","file3":"1386793684"},"map_files_photo_id_array":[{"photo_id":"1386793698","filename":"file5"},{"photo_id":"1386793678","filename":"file2"},{"photo_id":"1386793692","filename":"file4"},{"photo_id":"1386793673","filename":"file1"},{"photo_id":"1386793669","filename":"file0"},{"photo_id":"1386793684","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793673":["hashtag1","hashtag2"]},{"1386793684":["hashtag1","hashtag2"]},{"1386793678":["hashtag1","hashtag2"]},{"1386793669":["hashtag1","hashtag2"]},{"1386793692":["hashtag1","hashtag2"]},{"1386793698":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793673, 1386793684, 1386793678, 1386793669, 1386793692, 1386793698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18339276313782 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 21:59:47.253111
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_35_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_59_05_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_55_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_35_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_35_9658.jpg', '/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_14_9664.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_59_05_9681.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_55_10665.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_44_9656.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_35_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_35_9658.jpg
/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_14_9664.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_59_05_9681.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_55_10665.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_44_9656.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_35_9659.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4046621322631836 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:00:02.883084
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_35_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_14_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_59_05_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_55_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_35_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_35_9658.jpg', '/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_14_9664.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_59_05_9681.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_55_10665.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_44_9656.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_35_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_35_9658.jpg
/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_14_9664.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_59_05_9681.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_55_10665.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_44_9656.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_35_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":["1386793743","1386793746","1386793721","1386793739","1386793730","1386793733"],"photo_ids_order":["1386793721","1386793730","1386793733","1386793739","1386793743","1386793746"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a7c6a1f5399d41e6f367ae83fd6bde04.jpg","text":"TemporaryFile(/tmp/multipartBody5871385760361706542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176064713,"filename":"image_29092025_21_58_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/9/29/9899d71a1f112c77de97cd0067649615.jpg","text":"TemporaryFile(/tmp/multipartBody4545035440360085850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176064713,"filename":"image_29092025_21_58_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5dfd8fc69dd9d3a3eae947e101c34a7e.jpg","text":"TemporaryFile(/tmp/multipartBody8496866748584020759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176064713,"filename":"image_29092025_21_59_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/910900930a09fcd7e97776ddbb0ad82e.jpg","text":"TemporaryFile(/tmp/multipartBody3692567539413442542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176064713,"filename":"image_29092025_21_58_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/15917a230e9b58e5e69a08cc214bb25e.jpg","text":"TemporaryFile(/tmp/multipartBody7017084557687883004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176064713,"filename":"image_29092025_21_59_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/9/29/24609ccd67fb7ded0869a3d6ca2a6b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7469155929669476669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176064713,"filename":"image_29092025_21_59_05_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793733","file1":"1386793730","file0":"1386793721","file4":"1386793743","file5":"1386793746","file3":"1386793739"},"map_files_photo_id_array":[{"photo_id":"1386793746","filename":"file5"},{"photo_id":"1386793733","filename":"file2"},{"photo_id":"1386793743","filename":"file4"},{"photo_id":"1386793730","filename":"file1"},{"photo_id":"1386793721","filename":"file0"},{"photo_id":"1386793739","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793743":["hashtag1","hashtag2"]},{"1386793746":["hashtag1","hashtag2"]},{"1386793721":["hashtag1","hashtag2"]},{"1386793739":["hashtag1","hashtag2"]},{"1386793730":["hashtag1","hashtag2"]},{"1386793733":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793743, 1386793746, 1386793721, 1386793739, 1386793730, 1386793733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.77637577056885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:00:47.418819
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_35_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_25_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_14_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/21/59/image_29092025_22_00_05_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_44_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_44_9656.jpg', '/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_35_9657.jpg', '/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_25_10667.jpg', '/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_14_9676.jpg', '/home/nano/Desktop/images/29092025/21/59/image_29092025_22_00_05_9669.jpg', '/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_44_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_44_9656.jpg
/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_35_9657.jpg
/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_25_10667.jpg
/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_14_9676.jpg
/home/nano/Desktop/images/29092025/21/59/image_29092025_22_00_05_9669.jpg
/home/nano/Desktop/images/29092025/21/59/image_29092025_21_59_44_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793758","1386793769","1386793760","1386793754","1386793765","1386793756"],"photo_ids_order":["1386793754","1386793756","1386793758","1386793760","1386793765","1386793769"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cc24c33d9fbd53cbad6186005062743b.jpg","text":"TemporaryFile(/tmp/multipartBody7491548492717628140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176108899,"filename":"image_29092025_22_00_25_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/72e075516e3592164427310fafd42e79.jpg","text":"TemporaryFile(/tmp/multipartBody1064722238576953971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176108899,"filename":"image_29092025_21_59_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a55f4f73747aae6d193d577c30518521.jpg","text":"TemporaryFile(/tmp/multipartBody2732907473133391374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176108899,"filename":"image_29092025_22_00_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/9/29/ecfd437f5bdf9dafebfa9560eb4a9d97.jpg","text":"TemporaryFile(/tmp/multipartBody1758367416387336814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176108899,"filename":"image_29092025_22_00_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/9/29/fc97845918f8542855ef4363bc4dfb03.jpg","text":"TemporaryFile(/tmp/multipartBody7696153659759475230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176108899,"filename":"image_29092025_22_00_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d1461722553f27402008a5a0f0d3374f.jpg","text":"TemporaryFile(/tmp/multipartBody8223241913672785084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176108899,"filename":"image_29092025_22_00_35_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793758","file1":"1386793756","file0":"1386793754","file4":"1386793765","file5":"1386793769","file3":"1386793760"},"map_files_photo_id_array":[{"photo_id":"1386793769","filename":"file5"},{"photo_id":"1386793758","filename":"file2"},{"photo_id":"1386793765","filename":"file4"},{"photo_id":"1386793756","filename":"file1"},{"photo_id":"1386793754","filename":"file0"},{"photo_id":"1386793760","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793758":["hashtag1","hashtag2"]},{"1386793769":["hashtag1","hashtag2"]},{"1386793760":["hashtag1","hashtag2"]},{"1386793754":["hashtag1","hashtag2"]},{"1386793765":["hashtag1","hashtag2"]},{"1386793756":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793758, 1386793769, 1386793760, 1386793754, 1386793765, 1386793756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17936873435974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:01:32.506509
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_44_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_35_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_25_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_55_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_25_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_44_9661.jpg', '/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_35_9661.jpg', '/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_25_10673.jpg', '/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_14_9689.jpg', '/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_55_10667.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_25_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_44_9661.jpg
/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_35_9661.jpg
/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_25_10673.jpg
/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_14_9689.jpg
/home/nano/Desktop/images/29092025/22/00/image_29092025_22_00_55_10667.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_25_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":["1386793806","1386793793","1386793789","1386793808","1386793798","1386793801"],"photo_ids_order":["1386793789","1386793793","1386793798","1386793801","1386793806","1386793808"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/36d1f18ca356795193be903ecab655f4.jpg","text":"TemporaryFile(/tmp/multipartBody7286877688095412235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176154541,"filename":"image_29092025_22_00_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/9/29/80f518ad82e817a7f9db09e4509d37e0.jpg","text":"TemporaryFile(/tmp/multipartBody4812571746695171591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176154541,"filename":"image_29092025_22_01_35_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f234e58de8ad025e7cd6c6052f66e6fd.jpg","text":"TemporaryFile(/tmp/multipartBody2822228157470423271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176154541,"filename":"image_29092025_22_01_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4cd90d92e9f85a2bc0f2242ede000c33.jpg","text":"TemporaryFile(/tmp/multipartBody2511727440056234428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176154541,"filename":"image_29092025_21_58_25_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/55bdea9309d441491b4a24d3f18d379c.jpg","text":"TemporaryFile(/tmp/multipartBody7870306147506644519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176154541,"filename":"image_29092025_22_01_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/077d4b7507a7d8bcf7cdf78608500952.jpg","text":"TemporaryFile(/tmp/multipartBody997947687589109326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176154541,"filename":"image_29092025_22_01_14_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793798","file1":"1386793793","file0":"1386793789","file4":"1386793806","file5":"1386793808","file3":"1386793801"},"map_files_photo_id_array":[{"photo_id":"1386793808","filename":"file5"},{"photo_id":"1386793798","filename":"file2"},{"photo_id":"1386793806","filename":"file4"},{"photo_id":"1386793793","filename":"file1"},{"photo_id":"1386793789","filename":"file0"},{"photo_id":"1386793801","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793806":["hashtag1","hashtag2"]},{"1386793793":["hashtag1","hashtag2"]},{"1386793789":["hashtag1","hashtag2"]},{"1386793808":["hashtag1","hashtag2"]},{"1386793798":["hashtag1","hashtag2"]},{"1386793801":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793806, 1386793793, 1386793789, 1386793808, 1386793798, 1386793801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36180281639099 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:02:17.611333
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_44_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_35_10689.jpg', 2), ('/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_24_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_14_9687.jpg', 2), ('/home/nano/Desktop/images/29092025/22/01/image_29092025_22_02_05_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_44_9666.jpg', '/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_35_10689.jpg', '/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_24_9669.jpg', '/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_14_9687.jpg', '/home/nano/Desktop/images/29092025/22/01/image_29092025_22_02_05_9695.jpg', '/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_44_9666.jpg
/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_35_10689.jpg
/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_24_9669.jpg
/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_14_9687.jpg
/home/nano/Desktop/images/29092025/22/01/image_29092025_22_02_05_9695.jpg
/home/nano/Desktop/images/29092025/22/01/image_29092025_22_01_55_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":["1386793839","1386793827","1386793835","1386793823","1386793832","1386793843"],"photo_ids_order":["1386793823","1386793827","1386793832","1386793835","1386793839","1386793843"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/daf7699ac1650f18d85be2040dc4236e.jpg","text":"TemporaryFile(/tmp/multipartBody3743112323178870142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176199555,"filename":"image_29092025_22_02_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/04446f95ed4eec4974ab5720fbda8a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1501583296909740449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176199555,"filename":"image_29092025_22_02_35_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5244460ca0027f2d4652b39a672f256a.jpg","text":"TemporaryFile(/tmp/multipartBody8853575404556929936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176199555,"filename":"image_29092025_22_02_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/9/29/ee51ca42a7e339baef54274d7c2101c2.jpg","text":"TemporaryFile(/tmp/multipartBody3545260330128007357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176199555,"filename":"image_29092025_22_02_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7b532e7c72f631084cd16b41a30f1a0c.jpg","text":"TemporaryFile(/tmp/multipartBody8610412443342987305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176199555,"filename":"image_29092025_22_02_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/93bb1435d3a917462f2c1849ccfabdc2.jpg","text":"TemporaryFile(/tmp/multipartBody5686058625814482227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176199555,"filename":"image_29092025_22_01_55_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793832","file1":"1386793827","file0":"1386793823","file4":"1386793839","file5":"1386793843","file3":"1386793835"},"map_files_photo_id_array":[{"photo_id":"1386793843","filename":"file5"},{"photo_id":"1386793832","filename":"file2"},{"photo_id":"1386793839","filename":"file4"},{"photo_id":"1386793827","filename":"file1"},{"photo_id":"1386793823","filename":"file0"},{"photo_id":"1386793835","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793839":["hashtag1","hashtag2"]},{"1386793827":["hashtag1","hashtag2"]},{"1386793835":["hashtag1","hashtag2"]},{"1386793823":["hashtag1","hashtag2"]},{"1386793832":["hashtag1","hashtag2"]},{"1386793843":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793839, 1386793827, 1386793835, 1386793823, 1386793832, 1386793843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8280975818634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:03:03.370918
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_14_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/21/57/image_29092025_21_58_05_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_55_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_44_9749.jpg', 2), ('/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_34_9756.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_14_9689.jpg', '/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_14_9683.jpg', '/home/nano/Desktop/images/29092025/21/57/image_29092025_21_58_05_9657.jpg', '/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_55_10667.jpg', '/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_44_9749.jpg', '/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_34_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_14_9689.jpg
/home/nano/Desktop/images/29092025/21/58/image_29092025_21_58_14_9683.jpg
/home/nano/Desktop/images/29092025/21/57/image_29092025_21_58_05_9657.jpg
/home/nano/Desktop/images/29092025/21/57/image_29092025_21_57_55_10667.jpg
/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_44_9749.jpg
/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_34_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793923","1386793932","1386793901","1386793927","1386793936","1386793909"],"photo_ids_order":["1386793901","1386793909","1386793923","1386793927","1386793932","1386793936"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c69edf5a043df6ef4895747b38b261fc.jpg","text":"TemporaryFile(/tmp/multipartBody3033203464065040080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176245406,"filename":"image_29092025_21_58_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6bdc88baa86d0144fe6f419f82f49e1b.jpg","text":"TemporaryFile(/tmp/multipartBody7385698072802736962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176245406,"filename":"image_29092025_19_57_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5eb85bb13e22b687de7e263f945aca76.jpg","text":"TemporaryFile(/tmp/multipartBody2439617114048760203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176245406,"filename":"image_29092025_22_03_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/9/29/1a6770c734e81cbebc999c97426da326.jpg","text":"TemporaryFile(/tmp/multipartBody477864395720546222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176245406,"filename":"image_29092025_21_57_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/9/29/5497bf1a8d0269601387cb61f05a6e21.jpg","text":"TemporaryFile(/tmp/multipartBody2035318652685708934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176245406,"filename":"image_29092025_19_57_34_9756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/99a4058402eab9790aa92ff455f04155.jpg","text":"TemporaryFile(/tmp/multipartBody5007792606940046015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176245406,"filename":"image_29092025_21_58_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793923","file1":"1386793909","file0":"1386793901","file4":"1386793932","file5":"1386793936","file3":"1386793927"},"map_files_photo_id_array":[{"photo_id":"1386793936","filename":"file5"},{"photo_id":"1386793923","filename":"file2"},{"photo_id":"1386793932","filename":"file4"},{"photo_id":"1386793909","filename":"file1"},{"photo_id":"1386793901","filename":"file0"},{"photo_id":"1386793927","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793923":["hashtag1","hashtag2"]},{"1386793932":["hashtag1","hashtag2"]},{"1386793901":["hashtag1","hashtag2"]},{"1386793927":["hashtag1","hashtag2"]},{"1386793936":["hashtag1","hashtag2"]},{"1386793909":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793923, 1386793932, 1386793901, 1386793927, 1386793936, 1386793909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.506863594055176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:03:47.791111
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_44_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_35_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/22/02/image_29092025_22_03_05_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_54_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_24_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_15_10706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_44_9666.jpg', '/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_35_10676.jpg', '/home/nano/Desktop/images/29092025/22/02/image_29092025_22_03_05_10678.jpg', '/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_54_9679.jpg', '/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_24_9635.jpg', '/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_15_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_44_9666.jpg
/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_35_10676.jpg
/home/nano/Desktop/images/29092025/22/02/image_29092025_22_03_05_10678.jpg
/home/nano/Desktop/images/29092025/22/02/image_29092025_22_02_54_9679.jpg
/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_24_9635.jpg
/home/nano/Desktop/images/29092025/19/57/image_29092025_19_57_15_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793962","1386793950","1386793947","1386793955","1386793942","1386793945"],"photo_ids_order":["1386793942","1386793945","1386793947","1386793950","1386793955","1386793962"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b51885e8eb1793c82fd83087ffb502fb.jpg","text":"TemporaryFile(/tmp/multipartBody2628115958063434776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176289425,"filename":"image_29092025_19_57_15_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d36c48cfb64fe784912864cc42347301.jpg","text":"TemporaryFile(/tmp/multipartBody5624874318399727324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176289425,"filename":"image_29092025_22_02_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a762c29651793c9eb4b6a684869efe26.jpg","text":"TemporaryFile(/tmp/multipartBody6324539734744017291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176289425,"filename":"image_29092025_22_03_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eeff042468d9515d5e6235859bba020f.jpg","text":"TemporaryFile(/tmp/multipartBody3189332894321896082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176289425,"filename":"image_29092025_19_57_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/9/29/a4ff7ab77ff6c4de4a6be90bfd8618a0.jpg","text":"TemporaryFile(/tmp/multipartBody2581580699700048226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176289425,"filename":"image_29092025_22_03_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/22d42eb42b977b58f1566970f1ad8abd.jpg","text":"TemporaryFile(/tmp/multipartBody6601078892391376933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176289425,"filename":"image_29092025_22_03_35_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793947","file1":"1386793945","file0":"1386793942","file4":"1386793955","file5":"1386793962","file3":"1386793950"},"map_files_photo_id_array":[{"photo_id":"1386793962","filename":"file5"},{"photo_id":"1386793947","filename":"file2"},{"photo_id":"1386793955","filename":"file4"},{"photo_id":"1386793945","filename":"file1"},{"photo_id":"1386793942","filename":"file0"},{"photo_id":"1386793950","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793962":["hashtag1","hashtag2"]},{"1386793950":["hashtag1","hashtag2"]},{"1386793947":["hashtag1","hashtag2"]},{"1386793955":["hashtag1","hashtag2"]},{"1386793942":["hashtag1","hashtag2"]},{"1386793945":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793962, 1386793950, 1386793947, 1386793955, 1386793942, 1386793945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.734840393066406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:04:31.860618
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_35_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_24_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_14_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/22/03/image_29092025_22_04_05_10688.jpg', 2), ('/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_54_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_44_9656.jpg', '/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_35_10678.jpg', '/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_24_9664.jpg', '/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_14_9694.jpg', '/home/nano/Desktop/images/29092025/22/03/image_29092025_22_04_05_10688.jpg', '/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_54_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_44_9656.jpg
/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_35_10678.jpg
/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_24_9664.jpg
/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_14_9694.jpg
/home/nano/Desktop/images/29092025/22/03/image_29092025_22_04_05_10688.jpg
/home/nano/Desktop/images/29092025/22/03/image_29092025_22_03_54_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386793985","1386793988","1386793996","1386793981","1386793984","1386793992"],"photo_ids_order":["1386793981","1386793984","1386793985","1386793988","1386793992","1386793996"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/19c05ba062f7338f1a4b746b692250a3.jpg","text":"TemporaryFile(/tmp/multipartBody3036864800804939284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176333326,"filename":"image_29092025_22_04_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/023a8e6e7a5073809e7c3e96b41273ec.jpg","text":"TemporaryFile(/tmp/multipartBody5646314583725684606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176333326,"filename":"image_29092025_22_04_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7452d55be6c65f619f821ce703cd5712.jpg","text":"TemporaryFile(/tmp/multipartBody3498351997066042087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176333326,"filename":"image_29092025_22_03_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a2999b798f586c4c0a0646fbea6deff5.jpg","text":"TemporaryFile(/tmp/multipartBody5114086654190758711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176333326,"filename":"image_29092025_22_04_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/9/29/f1e99e315c543ff626f4a721d1f82894.jpg","text":"TemporaryFile(/tmp/multipartBody5571715521273701838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176333326,"filename":"image_29092025_22_04_35_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cee904aa07f178446bf32fc7548db82f.jpg","text":"TemporaryFile(/tmp/multipartBody5438405403514606504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176333326,"filename":"image_29092025_22_04_05_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793985","file1":"1386793984","file0":"1386793981","file4":"1386793992","file5":"1386793996","file3":"1386793988"},"map_files_photo_id_array":[{"photo_id":"1386793996","filename":"file5"},{"photo_id":"1386793985","filename":"file2"},{"photo_id":"1386793992","filename":"file4"},{"photo_id":"1386793984","filename":"file1"},{"photo_id":"1386793981","filename":"file0"},{"photo_id":"1386793988","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386793985":["hashtag1","hashtag2"]},{"1386793988":["hashtag1","hashtag2"]},{"1386793996":["hashtag1","hashtag2"]},{"1386793981":["hashtag1","hashtag2"]},{"1386793984":["hashtag1","hashtag2"]},{"1386793992":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386793985, 1386793988, 1386793996, 1386793981, 1386793984, 1386793992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.933417320251465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:05:17.041914
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_44_9614.jpg', 2), ('/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_35_10625.jpg', 2), ('/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_24_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_14_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/22/04/image_29092025_22_05_05_10636.jpg', 2), ('/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_44_9614.jpg', '/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_35_10625.jpg', '/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_24_9634.jpg', '/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_14_9634.jpg', '/home/nano/Desktop/images/29092025/22/04/image_29092025_22_05_05_10636.jpg', '/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_44_9614.jpg
/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_35_10625.jpg
/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_24_9634.jpg
/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_14_9634.jpg
/home/nano/Desktop/images/29092025/22/04/image_29092025_22_05_05_10636.jpg
/home/nano/Desktop/images/29092025/22/04/image_29092025_22_04_54_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794028","1386794013","1386794009","1386794024","1386794020","1386794016"],"photo_ids_order":["1386794009","1386794013","1386794016","1386794020","1386794024","1386794028"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7dc494a06143828bbaf65abe2cd79243.jpg","text":"TemporaryFile(/tmp/multipartBody2278063313430531146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176378547,"filename":"image_29092025_22_04_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f22305dfc57dd6807036ce75b224ca57.jpg","text":"TemporaryFile(/tmp/multipartBody8477290456330362466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176378547,"filename":"image_29092025_22_05_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3aafaa077e1849efa7a5f68b98381721.jpg","text":"TemporaryFile(/tmp/multipartBody703749012186445716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176378547,"filename":"image_29092025_22_05_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d7799e89e5df5da674abd63148fa60be.jpg","text":"TemporaryFile(/tmp/multipartBody8666306529896545396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176378547,"filename":"image_29092025_22_05_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2cfc195883aa9f73f3c3699964f6709e.jpg","text":"TemporaryFile(/tmp/multipartBody4674226168185092331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176378547,"filename":"image_29092025_22_05_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8177c03514f3a8016b1f34655418e34a.jpg","text":"TemporaryFile(/tmp/multipartBody6608030839855488965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176378547,"filename":"image_29092025_22_05_24_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794016","file1":"1386794013","file0":"1386794009","file4":"1386794024","file5":"1386794028","file3":"1386794020"},"map_files_photo_id_array":[{"photo_id":"1386794028","filename":"file5"},{"photo_id":"1386794016","filename":"file2"},{"photo_id":"1386794024","filename":"file4"},{"photo_id":"1386794013","filename":"file1"},{"photo_id":"1386794009","filename":"file0"},{"photo_id":"1386794020","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794028":["hashtag1","hashtag2"]},{"1386794013":["hashtag1","hashtag2"]},{"1386794009":["hashtag1","hashtag2"]},{"1386794024":["hashtag1","hashtag2"]},{"1386794020":["hashtag1","hashtag2"]},{"1386794016":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794028, 1386794013, 1386794009, 1386794024, 1386794020, 1386794016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.929540157318115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:06:02.781020
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_57_04_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_55_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_45_10602.jpg', 2), ('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_34_9621.jpg', 2), ('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_25_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_14_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/56/image_29092025_19_57_04_9626.jpg', '/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_55_9645.jpg', '/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_45_10602.jpg', '/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_34_9621.jpg', '/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_25_10657.jpg', '/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_57_04_9626.jpg
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_55_9645.jpg
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_45_10602.jpg
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_34_9621.jpg
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_25_10657.jpg
/home/nano/Desktop/images/29092025/19/56/image_29092025_19_56_14_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794072","1386794054","1386794062","1386794050","1386794067","1386794058"],"photo_ids_order":["1386794050","1386794054","1386794058","1386794062","1386794067","1386794072"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/12b2735c1e3198cee058ed26ed6b222a.jpg","text":"TemporaryFile(/tmp/multipartBody6438799467065415932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176424723,"filename":"image_29092025_19_56_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/9/29/5dd9c9b8fe31e5cf84a572dbc8e7f5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7799297680387287819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176424723,"filename":"image_29092025_19_56_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/29c69026d406a962f30b383fcca5cc9e.jpg","text":"TemporaryFile(/tmp/multipartBody8449308786410998354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176424723,"filename":"image_29092025_19_56_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2e4bd5db4f24dcca94cfea566a1ab7ef.jpg","text":"TemporaryFile(/tmp/multipartBody3216757046358343200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176424723,"filename":"image_29092025_19_57_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d03c6687ca98c4a3ff2018a41ed1333c.jpg","text":"TemporaryFile(/tmp/multipartBody6227916760854383846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176424723,"filename":"image_29092025_19_56_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4beb08df99e4dda02ff2d5b62334c2b7.jpg","text":"TemporaryFile(/tmp/multipartBody3649387621347750378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176424723,"filename":"image_29092025_19_56_45_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794058","file1":"1386794054","file0":"1386794050","file4":"1386794067","file5":"1386794072","file3":"1386794062"},"map_files_photo_id_array":[{"photo_id":"1386794072","filename":"file5"},{"photo_id":"1386794058","filename":"file2"},{"photo_id":"1386794067","filename":"file4"},{"photo_id":"1386794054","filename":"file1"},{"photo_id":"1386794050","filename":"file0"},{"photo_id":"1386794062","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794072":["hashtag1","hashtag2"]},{"1386794054":["hashtag1","hashtag2"]},{"1386794062":["hashtag1","hashtag2"]},{"1386794050":["hashtag1","hashtag2"]},{"1386794067":["hashtag1","hashtag2"]},{"1386794058":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794072, 1386794054, 1386794062, 1386794050, 1386794067, 1386794058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48888921737671 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:06:47.165113
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_44_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_34_9618.jpg', 2), ('/home/nano/Desktop/images/29092025/22/05/image_29092025_22_06_04_9618.jpg', 2), ('/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_55_10627.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_56_04_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_55_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_44_9617.jpg', '/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_34_9618.jpg', '/home/nano/Desktop/images/29092025/22/05/image_29092025_22_06_04_9618.jpg', '/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_55_10627.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_56_04_9636.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_55_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_44_9617.jpg
/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_34_9618.jpg
/home/nano/Desktop/images/29092025/22/05/image_29092025_22_06_04_9618.jpg
/home/nano/Desktop/images/29092025/22/05/image_29092025_22_05_55_10627.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_56_04_9636.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_55_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794092","1386794095","1386794098","1386794104","1386794088","1386794109"],"photo_ids_order":["1386794088","1386794092","1386794095","1386794098","1386794104","1386794109"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/34fea30da2c13e16151a81196081210f.jpg","text":"TemporaryFile(/tmp/multipartBody4316966971551390222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176468676,"filename":"image_29092025_22_06_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ac92958c86995e995d58a39c3327d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody1301676579708109252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176468676,"filename":"image_29092025_22_06_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c41d0391357842f110301de3a62757d8.jpg","text":"TemporaryFile(/tmp/multipartBody8211443382402192922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176468676,"filename":"image_29092025_22_05_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2bcff9fcb8d62f284e2e6b956af47379.jpg","text":"TemporaryFile(/tmp/multipartBody8673741760249739299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176468676,"filename":"image_29092025_19_56_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/9/29/c53497e91d27881563349fafb1346e45.jpg","text":"TemporaryFile(/tmp/multipartBody8454768832350987128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176468676,"filename":"image_29092025_22_06_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7b14ecb2e6da049c5431f33619ad3c93.jpg","text":"TemporaryFile(/tmp/multipartBody986035354589119244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176468676,"filename":"image_29092025_19_55_55_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794095","file1":"1386794092","file0":"1386794088","file4":"1386794104","file5":"1386794109","file3":"1386794098"},"map_files_photo_id_array":[{"photo_id":"1386794109","filename":"file5"},{"photo_id":"1386794095","filename":"file2"},{"photo_id":"1386794104","filename":"file4"},{"photo_id":"1386794092","filename":"file1"},{"photo_id":"1386794088","filename":"file0"},{"photo_id":"1386794098","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794092":["hashtag1","hashtag2"]},{"1386794095":["hashtag1","hashtag2"]},{"1386794098":["hashtag1","hashtag2"]},{"1386794104":["hashtag1","hashtag2"]},{"1386794088":["hashtag1","hashtag2"]},{"1386794109":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794092, 1386794095, 1386794098, 1386794104, 1386794088, 1386794109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63297653198242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:07:32.287302
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_45_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_34_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_25_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_14_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_55_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_45_10658.jpg', '/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_34_9645.jpg', '/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_25_10658.jpg', '/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_14_9673.jpg', '/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_55_10657.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_45_10658.jpg
/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_34_9645.jpg
/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_25_10658.jpg
/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_14_9673.jpg
/home/nano/Desktop/images/29092025/22/06/image_29092025_22_06_55_10657.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_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":["1386794139","1386794130","1386794147","1386794143","1386794134","1386794128"],"photo_ids_order":["1386794128","1386794130","1386794134","1386794139","1386794143","1386794147"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ad156fac80d15f18fe7eb60ca9093c61.jpg","text":"TemporaryFile(/tmp/multipartBody8441535117911975188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176514061,"filename":"image_29092025_22_07_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/9/29/c5a3785fbbdb536cbbe95bd0f1f817a7.jpg","text":"TemporaryFile(/tmp/multipartBody3457499560899884747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176514061,"filename":"image_29092025_22_07_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/9/29/9647526da50d51ccaa064dc1b6efd832.jpg","text":"TemporaryFile(/tmp/multipartBody3102842233499479357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176514061,"filename":"image_29092025_19_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/9/29/18678dc0e713d9ba7b416d16e66c8989.jpg","text":"TemporaryFile(/tmp/multipartBody8535173125412939332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176514061,"filename":"image_29092025_22_06_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/425efff12d9640845f56d26a6e01df1e.jpg","text":"TemporaryFile(/tmp/multipartBody6501246479187482778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176514061,"filename":"image_29092025_22_07_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7320c8d79e3cbdd4b05492851701fe4d.jpg","text":"TemporaryFile(/tmp/multipartBody7815120905685881694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176514061,"filename":"image_29092025_22_07_45_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794134","file1":"1386794130","file0":"1386794128","file4":"1386794143","file5":"1386794147","file3":"1386794139"},"map_files_photo_id_array":[{"photo_id":"1386794147","filename":"file5"},{"photo_id":"1386794134","filename":"file2"},{"photo_id":"1386794143","filename":"file4"},{"photo_id":"1386794130","filename":"file1"},{"photo_id":"1386794128","filename":"file0"},{"photo_id":"1386794139","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794139":["hashtag1","hashtag2"]},{"1386794130":["hashtag1","hashtag2"]},{"1386794147":["hashtag1","hashtag2"]},{"1386794143":["hashtag1","hashtag2"]},{"1386794134":["hashtag1","hashtag2"]},{"1386794128":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794139, 1386794130, 1386794147, 1386794143, 1386794134, 1386794128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83934426307678 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:08:17.376718
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_45_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/07/image_29092025_22_08_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_55_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_34_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_25_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_45_10660.jpg', '/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_34_9658.jpg', '/home/nano/Desktop/images/29092025/22/07/image_29092025_22_08_04_9658.jpg', '/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_55_9649.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_34_9645.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_25_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_45_10660.jpg
/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_34_9658.jpg
/home/nano/Desktop/images/29092025/22/07/image_29092025_22_08_04_9658.jpg
/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_55_9649.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_34_9645.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_25_10630.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2828340530395508 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:08:32.365624
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_45_10660.jpg', 2), ('/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/07/image_29092025_22_08_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_55_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_34_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_25_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_45_10660.jpg', '/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_34_9658.jpg', '/home/nano/Desktop/images/29092025/22/07/image_29092025_22_08_04_9658.jpg', '/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_55_9649.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_34_9645.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_25_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_45_10660.jpg
/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_34_9658.jpg
/home/nano/Desktop/images/29092025/22/07/image_29092025_22_08_04_9658.jpg
/home/nano/Desktop/images/29092025/22/07/image_29092025_22_07_55_9649.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_34_9645.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_25_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794318","1386794300","1386794191","1386794184","1386794178","1386794292"],"photo_ids_order":["1386794178","1386794184","1386794191","1386794292","1386794300","1386794318"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/679b8b42ee12ec2b90e239844d7c439d.jpg","text":"TemporaryFile(/tmp/multipartBody899612281794756442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176574265,"filename":"image_29092025_19_55_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bc6a5fd2018bc075ce9b4eaa37641859.jpg","text":"TemporaryFile(/tmp/multipartBody4118182701713813547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176574265,"filename":"image_29092025_19_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/9/29/cafe8ec66a4696a5a214abf1722f0556.jpg","text":"TemporaryFile(/tmp/multipartBody2520195557481728089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176574265,"filename":"image_29092025_22_08_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/9/29/c015f549600cba030f444521d27dfe98.jpg","text":"TemporaryFile(/tmp/multipartBody5795158936638982800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176574265,"filename":"image_29092025_22_08_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/9/29/85fe03d194433f5adca667b2edac1b91.jpg","text":"TemporaryFile(/tmp/multipartBody7784393149881060455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176574265,"filename":"image_29092025_22_08_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4842ffed5a25c83b8c6bd3923436e7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4234468108567021295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176574265,"filename":"image_29092025_22_07_55_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794191","file1":"1386794184","file0":"1386794178","file4":"1386794300","file5":"1386794318","file3":"1386794292"},"map_files_photo_id_array":[{"photo_id":"1386794318","filename":"file5"},{"photo_id":"1386794191","filename":"file2"},{"photo_id":"1386794300","filename":"file4"},{"photo_id":"1386794184","filename":"file1"},{"photo_id":"1386794178","filename":"file0"},{"photo_id":"1386794292","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794318":["hashtag1","hashtag2"]},{"1386794300":["hashtag1","hashtag2"]},{"1386794191":["hashtag1","hashtag2"]},{"1386794184":["hashtag1","hashtag2"]},{"1386794178":["hashtag1","hashtag2"]},{"1386794292":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794318, 1386794300, 1386794191, 1386794184, 1386794178, 1386794292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43886852264404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:09:17.471399
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_45_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_34_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_25_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/22/08/image_29092025_22_09_04_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_55_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_14_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_45_10659.jpg', '/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_34_9649.jpg', '/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_25_9645.jpg', '/home/nano/Desktop/images/29092025/22/08/image_29092025_22_09_04_9664.jpg', '/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_55_9645.jpg', '/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_14_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_45_10659.jpg
/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_34_9649.jpg
/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_25_9645.jpg
/home/nano/Desktop/images/29092025/22/08/image_29092025_22_09_04_9664.jpg
/home/nano/Desktop/images/29092025/22/08/image_29092025_22_08_55_9645.jpg
/home/nano/Desktop/images/29092025/19/55/image_29092025_19_55_14_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":["1386794339","1386794348","1386794353","1386794356","1386794358","1386794343"],"photo_ids_order":["1386794339","1386794343","1386794348","1386794353","1386794356","1386794358"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/786daa1f13627e72f2b84f6797cdc38d.jpg","text":"TemporaryFile(/tmp/multipartBody357926796709421562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176619273,"filename":"image_29092025_22_09_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/910c6de66cebe58a14a24b3619c6b7da.jpg","text":"TemporaryFile(/tmp/multipartBody2696703967767715538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176619273,"filename":"image_29092025_22_09_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6e4e7727d030bab75a6b70b94dfb87fc.jpg","text":"TemporaryFile(/tmp/multipartBody8904137743892945218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176619273,"filename":"image_29092025_22_09_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/9/29/11102b70d32dbb80d1f980742c799478.jpg","text":"TemporaryFile(/tmp/multipartBody4894282156843967702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176619273,"filename":"image_29092025_22_08_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e793cc4c6ec1314cec36a4cf1055f75a.jpg","text":"TemporaryFile(/tmp/multipartBody6737868043979194574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176619273,"filename":"image_29092025_19_55_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7a906a716015ba7b027440c5d3524db1.jpg","text":"TemporaryFile(/tmp/multipartBody6431628062133104507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176619273,"filename":"image_29092025_22_09_34_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794348","file1":"1386794343","file0":"1386794339","file4":"1386794356","file5":"1386794358","file3":"1386794353"},"map_files_photo_id_array":[{"photo_id":"1386794358","filename":"file5"},{"photo_id":"1386794348","filename":"file2"},{"photo_id":"1386794356","filename":"file4"},{"photo_id":"1386794343","filename":"file1"},{"photo_id":"1386794339","filename":"file0"},{"photo_id":"1386794353","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794339":["hashtag1","hashtag2"]},{"1386794348":["hashtag1","hashtag2"]},{"1386794353":["hashtag1","hashtag2"]},{"1386794356":["hashtag1","hashtag2"]},{"1386794358":["hashtag1","hashtag2"]},{"1386794343":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794339, 1386794348, 1386794353, 1386794356, 1386794358, 1386794343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76352405548096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:10:03.040867
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/54/image_29092025_19_55_05_9626.jpg', 2), ('/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_55_10638.jpg', 2), ('/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_35_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_25_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_14_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/54/image_29092025_19_55_05_9626.jpg', '/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_55_10638.jpg', '/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_44_9658.jpg', '/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_35_9636.jpg', '/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_25_10637.jpg', '/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_14_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/54/image_29092025_19_55_05_9626.jpg
/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_55_10638.jpg
/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_44_9658.jpg
/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_35_9636.jpg
/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_25_10637.jpg
/home/nano/Desktop/images/29092025/19/54/image_29092025_19_54_14_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794395","1386794402","1386794386","1386794391","1386794379","1386794373"],"photo_ids_order":["1386794373","1386794379","1386794386","1386794391","1386794395","1386794402"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fe0c5554888763968e3e7166c13ffafe.jpg","text":"TemporaryFile(/tmp/multipartBody4577607079706483908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176664716,"filename":"image_29092025_19_54_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c03e8e0b14dfb8f5a00bfbb50451ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody6892765388056173249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176664716,"filename":"image_29092025_19_54_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/9/29/1f33de68173435074b8aea3baac44983.jpg","text":"TemporaryFile(/tmp/multipartBody8601392040487374670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176664716,"filename":"image_29092025_19_54_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bfbfb3d6590509aa959b5e230181f132.jpg","text":"TemporaryFile(/tmp/multipartBody8109209930125885874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176664716,"filename":"image_29092025_19_54_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8041622d653efe58c637f904c78a0d6b.jpg","text":"TemporaryFile(/tmp/multipartBody4885174336747328852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176664716,"filename":"image_29092025_19_54_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0fd03dbcff93f31e4402235ad0e64151.jpg","text":"TemporaryFile(/tmp/multipartBody7509178443979038520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176664716,"filename":"image_29092025_19_55_05_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794386","file1":"1386794379","file0":"1386794373","file4":"1386794395","file5":"1386794402","file3":"1386794391"},"map_files_photo_id_array":[{"photo_id":"1386794402","filename":"file5"},{"photo_id":"1386794386","filename":"file2"},{"photo_id":"1386794395","filename":"file4"},{"photo_id":"1386794379","filename":"file1"},{"photo_id":"1386794373","filename":"file0"},{"photo_id":"1386794391","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794395":["hashtag1","hashtag2"]},{"1386794402":["hashtag1","hashtag2"]},{"1386794386":["hashtag1","hashtag2"]},{"1386794391":["hashtag1","hashtag2"]},{"1386794379":["hashtag1","hashtag2"]},{"1386794373":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794395, 1386794402, 1386794386, 1386794391, 1386794379, 1386794373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26607418060303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:10:47.562608
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_45_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_34_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_15_10698.jpg', 2), ('/home/nano/Desktop/images/29092025/22/09/image_29092025_22_10_04_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_54_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/19/53/image_29092025_19_54_05_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_45_10674.jpg', '/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_34_9648.jpg', '/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_15_10698.jpg', '/home/nano/Desktop/images/29092025/22/09/image_29092025_22_10_04_9653.jpg', '/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_54_9648.jpg', '/home/nano/Desktop/images/29092025/19/53/image_29092025_19_54_05_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_45_10674.jpg
/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_34_9648.jpg
/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_15_10698.jpg
/home/nano/Desktop/images/29092025/22/09/image_29092025_22_10_04_9653.jpg
/home/nano/Desktop/images/29092025/22/09/image_29092025_22_09_54_9648.jpg
/home/nano/Desktop/images/29092025/19/53/image_29092025_19_54_05_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794444","1386794438","1386794423","1386794432","1386794426","1386794420"],"photo_ids_order":["1386794420","1386794423","1386794426","1386794432","1386794438","1386794444"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9c36dd1425b51784b9c26c1a19d8963f.jpg","text":"TemporaryFile(/tmp/multipartBody3416505358258485771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176709694,"filename":"image_29092025_19_54_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9962a43b851dfa50ad1db61c285cdc0e.jpg","text":"TemporaryFile(/tmp/multipartBody4184417555414026624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176709694,"filename":"image_29092025_22_09_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/9/29/ca2b5624a60e01ab633190c96678a4a5.jpg","text":"TemporaryFile(/tmp/multipartBody5784081702424194905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176709694,"filename":"image_29092025_22_10_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/923ab38a798372b84a4a3747aa5a21a8.jpg","text":"TemporaryFile(/tmp/multipartBody7492142395748872055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176709694,"filename":"image_29092025_22_10_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/9/29/1a465c9489568949345d8936b0405ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3541300608222998881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176709694,"filename":"image_29092025_22_10_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8966cfd08fcab7e9c95ae97d03df590f.jpg","text":"TemporaryFile(/tmp/multipartBody8106854425501816569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176709694,"filename":"image_29092025_22_10_45_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794426","file1":"1386794423","file0":"1386794420","file4":"1386794438","file5":"1386794444","file3":"1386794432"},"map_files_photo_id_array":[{"photo_id":"1386794444","filename":"file5"},{"photo_id":"1386794426","filename":"file2"},{"photo_id":"1386794438","filename":"file4"},{"photo_id":"1386794423","filename":"file1"},{"photo_id":"1386794420","filename":"file0"},{"photo_id":"1386794432","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794444":["hashtag1","hashtag2"]},{"1386794438":["hashtag1","hashtag2"]},{"1386794423":["hashtag1","hashtag2"]},{"1386794432":["hashtag1","hashtag2"]},{"1386794426":["hashtag1","hashtag2"]},{"1386794420":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794444, 1386794438, 1386794423, 1386794432, 1386794426, 1386794420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23667860031128 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:11:32.685622
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_45_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_24_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/22/10/image_29092025_22_11_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_54_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_54_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_45_10658.jpg', '/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_34_9647.jpg', '/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_24_9648.jpg', '/home/nano/Desktop/images/29092025/22/10/image_29092025_22_11_04_9650.jpg', '/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_54_9647.jpg', '/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_45_10658.jpg
/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_34_9647.jpg
/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_24_9648.jpg
/home/nano/Desktop/images/29092025/22/10/image_29092025_22_11_04_9650.jpg
/home/nano/Desktop/images/29092025/22/10/image_29092025_22_10_54_9647.jpg
/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_54_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794462","1386794476","1386794461","1386794469","1386794472","1386794466"],"photo_ids_order":["1386794461","1386794462","1386794466","1386794469","1386794472","1386794476"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/501b48090b7a3e9abac042eca0dd5f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2981218348981876603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176754178,"filename":"image_29092025_22_11_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/9/29/0e2daffe6643e08c3856fc0c6f5d222b.jpg","text":"TemporaryFile(/tmp/multipartBody8967433983056364717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176754178,"filename":"image_29092025_19_53_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0269769ade6e460db8458789b7ca89d4.jpg","text":"TemporaryFile(/tmp/multipartBody4339629205327195134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176754178,"filename":"image_29092025_22_11_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/36c7b1a1a8d48b78c16ec99b91b52ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2501458140864292384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176754178,"filename":"image_29092025_22_11_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/9/29/e0a04264dc698cd1bdd364977afe8cf4.jpg","text":"TemporaryFile(/tmp/multipartBody2748013941760020563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176754178,"filename":"image_29092025_22_10_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6230733d34419ade2f2f673fe9e0e258.jpg","text":"TemporaryFile(/tmp/multipartBody5645899373721967137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176754178,"filename":"image_29092025_22_11_24_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794466","file1":"1386794462","file0":"1386794461","file4":"1386794472","file5":"1386794476","file3":"1386794469"},"map_files_photo_id_array":[{"photo_id":"1386794476","filename":"file5"},{"photo_id":"1386794466","filename":"file2"},{"photo_id":"1386794472","filename":"file4"},{"photo_id":"1386794462","filename":"file1"},{"photo_id":"1386794461","filename":"file0"},{"photo_id":"1386794469","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794462":["hashtag1","hashtag2"]},{"1386794476":["hashtag1","hashtag2"]},{"1386794461":["hashtag1","hashtag2"]},{"1386794469":["hashtag1","hashtag2"]},{"1386794472":["hashtag1","hashtag2"]},{"1386794466":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794462, 1386794476, 1386794461, 1386794469, 1386794472, 1386794466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02077054977417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:12:16.843453
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_45_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_34_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_24_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/22/11/image_29092025_22_12_04_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_54_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_45_10673.jpg', '/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_34_9665.jpg', '/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_24_9651.jpg', '/home/nano/Desktop/images/29092025/22/11/image_29092025_22_12_04_9663.jpg', '/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_54_9642.jpg', '/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_45_10673.jpg
/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_34_9665.jpg
/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_24_9651.jpg
/home/nano/Desktop/images/29092025/22/11/image_29092025_22_12_04_9663.jpg
/home/nano/Desktop/images/29092025/22/11/image_29092025_22_11_54_9642.jpg
/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_44_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":["1386794508","1386794498","1386794504","1386794513","1386794493","1386794490"],"photo_ids_order":["1386794490","1386794493","1386794498","1386794504","1386794508","1386794513"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b085d301ce61932b10ea1a6a89ad6994.jpg","text":"TemporaryFile(/tmp/multipartBody5425392519887321896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176798366,"filename":"image_29092025_22_11_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/9/29/d7a7385aa00f51d7760872c210195b28.jpg","text":"TemporaryFile(/tmp/multipartBody4936102832253156409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176798366,"filename":"image_29092025_22_12_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9487222353272ee5b5859078a1f932a0.jpg","text":"TemporaryFile(/tmp/multipartBody2961271917072532381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176798366,"filename":"image_29092025_22_12_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/9/29/d340582097a9d9d7495dc036fa94064d.jpg","text":"TemporaryFile(/tmp/multipartBody5164198436510498875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176798366,"filename":"image_29092025_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/9/29/1bc1d08a4f08a7c1c9a65c091fcca434.jpg","text":"TemporaryFile(/tmp/multipartBody2259144790422248243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176798366,"filename":"image_29092025_22_12_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/190a2126c4d94ec77964df2e6ebbd9a4.jpg","text":"TemporaryFile(/tmp/multipartBody6535511318051015024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176798366,"filename":"image_29092025_22_12_45_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794498","file1":"1386794493","file0":"1386794490","file4":"1386794508","file5":"1386794513","file3":"1386794504"},"map_files_photo_id_array":[{"photo_id":"1386794513","filename":"file5"},{"photo_id":"1386794498","filename":"file2"},{"photo_id":"1386794508","filename":"file4"},{"photo_id":"1386794493","filename":"file1"},{"photo_id":"1386794490","filename":"file0"},{"photo_id":"1386794504","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794508":["hashtag1","hashtag2"]},{"1386794498":["hashtag1","hashtag2"]},{"1386794504":["hashtag1","hashtag2"]},{"1386794513":["hashtag1","hashtag2"]},{"1386794493":["hashtag1","hashtag2"]},{"1386794490":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794508, 1386794498, 1386794504, 1386794513, 1386794493, 1386794490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95961594581604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:13:02.530824
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_35_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_24_9620.jpg', 2), ('/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_14_9633.jpg', 2), ('/home/nano/Desktop/images/29092025/19/52/image_29092025_19_53_05_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_54_9727.jpg', 2), ('/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_35_10731.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_35_10637.jpg', '/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_24_9620.jpg', '/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_14_9633.jpg', '/home/nano/Desktop/images/29092025/19/52/image_29092025_19_53_05_10646.jpg', '/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_54_9727.jpg', '/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_35_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_35_10637.jpg
/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_24_9620.jpg
/home/nano/Desktop/images/29092025/19/53/image_29092025_19_53_14_9633.jpg
/home/nano/Desktop/images/29092025/19/52/image_29092025_19_53_05_10646.jpg
/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_54_9727.jpg
/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_35_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794570","1386794576","1386794558","1386794566","1386794562","1386794547"],"photo_ids_order":["1386794547","1386794558","1386794562","1386794566","1386794570","1386794576"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/116037bb0c4e28ef3508499a9ef006a6.jpg","text":"TemporaryFile(/tmp/multipartBody538562706587298639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176844538,"filename":"image_29092025_19_52_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3b4369a4d53ea328fee7258f3e6fe7ac.jpg","text":"TemporaryFile(/tmp/multipartBody4490003325805515576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176844538,"filename":"image_29092025_19_52_35_10731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/86fb06693c01ab1075e7a6c7a6f5dec5.jpg","text":"TemporaryFile(/tmp/multipartBody2719458519408007887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176844538,"filename":"image_29092025_19_53_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/15482cf4f5c75287040d2051a07acca1.jpg","text":"TemporaryFile(/tmp/multipartBody834100796144833508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176844538,"filename":"image_29092025_19_53_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5dad3c16fe53c95568eff17536f57e3e.jpg","text":"TemporaryFile(/tmp/multipartBody2067202964644701281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176844538,"filename":"image_29092025_19_53_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8fd60bfa6a9bc6f2d5785324e1eac836.jpg","text":"TemporaryFile(/tmp/multipartBody1784007829355438276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176844538,"filename":"image_29092025_19_53_35_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794562","file1":"1386794558","file0":"1386794547","file4":"1386794570","file5":"1386794576","file3":"1386794566"},"map_files_photo_id_array":[{"photo_id":"1386794576","filename":"file5"},{"photo_id":"1386794562","filename":"file2"},{"photo_id":"1386794570","filename":"file4"},{"photo_id":"1386794558","filename":"file1"},{"photo_id":"1386794547","filename":"file0"},{"photo_id":"1386794566","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794570":["hashtag1","hashtag2"]},{"1386794576":["hashtag1","hashtag2"]},{"1386794558":["hashtag1","hashtag2"]},{"1386794566":["hashtag1","hashtag2"]},{"1386794562":["hashtag1","hashtag2"]},{"1386794547":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794570, 1386794576, 1386794558, 1386794566, 1386794562, 1386794547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.742440700531006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:13:46.882562
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_45_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_34_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_15_10703.jpg', 2), ('/home/nano/Desktop/images/29092025/22/12/image_29092025_22_13_04_9680.jpg', 2), ('/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_54_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_24_9683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_45_10677.jpg', '/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_34_9667.jpg', '/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_15_10703.jpg', '/home/nano/Desktop/images/29092025/22/12/image_29092025_22_13_04_9680.jpg', '/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_54_9665.jpg', '/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_24_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_45_10677.jpg
/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_34_9667.jpg
/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_15_10703.jpg
/home/nano/Desktop/images/29092025/22/12/image_29092025_22_13_04_9680.jpg
/home/nano/Desktop/images/29092025/22/12/image_29092025_22_12_54_9665.jpg
/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_24_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794634","1386794607","1386794624","1386794618","1386794600","1386794629"],"photo_ids_order":["1386794600","1386794607","1386794618","1386794624","1386794629","1386794634"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/37e918408be903d1414927f6d237d8af.jpg","text":"TemporaryFile(/tmp/multipartBody6652328727207144810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176888481,"filename":"image_29092025_19_52_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/59f77f1d14749f2131151416d4a6b2ef.jpg","text":"TemporaryFile(/tmp/multipartBody3480182542836006169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176888481,"filename":"image_29092025_22_13_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/29b6c6b32005f50b0b9b9b49cd5feff9.jpg","text":"TemporaryFile(/tmp/multipartBody1377023137360734837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176888481,"filename":"image_29092025_22_13_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fc1da87ee3a9b2097730cecfe5368a33.jpg","text":"TemporaryFile(/tmp/multipartBody5408131045061314636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176888481,"filename":"image_29092025_22_13_15_10703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d96ea52952232906d89bfa226fa17d3f.jpg","text":"TemporaryFile(/tmp/multipartBody4801904470650808367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176888481,"filename":"image_29092025_22_13_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/465d1b62d9ccec1e52899607e14b252d.jpg","text":"TemporaryFile(/tmp/multipartBody8850037215084226592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176888481,"filename":"image_29092025_22_12_54_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794618","file1":"1386794607","file0":"1386794600","file4":"1386794629","file5":"1386794634","file3":"1386794624"},"map_files_photo_id_array":[{"photo_id":"1386794634","filename":"file5"},{"photo_id":"1386794618","filename":"file2"},{"photo_id":"1386794629","filename":"file4"},{"photo_id":"1386794607","filename":"file1"},{"photo_id":"1386794600","filename":"file0"},{"photo_id":"1386794624","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794634":["hashtag1","hashtag2"]},{"1386794607":["hashtag1","hashtag2"]},{"1386794624":["hashtag1","hashtag2"]},{"1386794618":["hashtag1","hashtag2"]},{"1386794600":["hashtag1","hashtag2"]},{"1386794629":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794634, 1386794607, 1386794624, 1386794618, 1386794600, 1386794629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42069458961487 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:14:32.003792
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_45_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_34_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_24_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_15_10695.jpg', 2), ('/home/nano/Desktop/images/29092025/22/13/image_29092025_22_14_04_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_54_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_45_10672.jpg', '/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_34_9686.jpg', '/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_24_9662.jpg', '/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_15_10695.jpg', '/home/nano/Desktop/images/29092025/22/13/image_29092025_22_14_04_9691.jpg', '/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_45_10672.jpg
/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_34_9686.jpg
/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_24_9662.jpg
/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_15_10695.jpg
/home/nano/Desktop/images/29092025/22/13/image_29092025_22_14_04_9691.jpg
/home/nano/Desktop/images/29092025/22/13/image_29092025_22_13_54_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794651","1386794648","1386794656","1386794659","1386794647","1386794646"],"photo_ids_order":["1386794646","1386794647","1386794648","1386794651","1386794656","1386794659"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9d5cb728cfebcda726f1cfa217766432.jpg","text":"TemporaryFile(/tmp/multipartBody6137191028291292293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176933579,"filename":"image_29092025_22_14_15_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/50225a356982ecc92ec01d158bacd801.jpg","text":"TemporaryFile(/tmp/multipartBody3818472260028544859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176933579,"filename":"image_29092025_22_14_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/9/29/fa84f55aca2d0bbfb2d921b4bf37ef56.jpg","text":"TemporaryFile(/tmp/multipartBody2870050743928063862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176933579,"filename":"image_29092025_22_14_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/29b4a440e5d44caa335315a7674a89e2.jpg","text":"TemporaryFile(/tmp/multipartBody3107003618594610744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176933579,"filename":"image_29092025_22_13_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/92e97ac2e15d0bd2cd85d2e18b0c12c2.jpg","text":"TemporaryFile(/tmp/multipartBody6089084528978070597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176933579,"filename":"image_29092025_22_14_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9bed3f0c32e3f17cff5dae8cc15444b9.jpg","text":"TemporaryFile(/tmp/multipartBody3778442084762141811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176933579,"filename":"image_29092025_22_14_45_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794648","file1":"1386794647","file0":"1386794646","file4":"1386794656","file5":"1386794659","file3":"1386794651"},"map_files_photo_id_array":[{"photo_id":"1386794659","filename":"file5"},{"photo_id":"1386794648","filename":"file2"},{"photo_id":"1386794656","filename":"file4"},{"photo_id":"1386794647","filename":"file1"},{"photo_id":"1386794646","filename":"file0"},{"photo_id":"1386794651","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794651":["hashtag1","hashtag2"]},{"1386794648":["hashtag1","hashtag2"]},{"1386794656":["hashtag1","hashtag2"]},{"1386794659":["hashtag1","hashtag2"]},{"1386794647":["hashtag1","hashtag2"]},{"1386794646":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794651, 1386794648, 1386794656, 1386794659, 1386794647, 1386794646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.353018045425415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:15:17.174059
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_25_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_15_10694.jpg', 2), ('/home/nano/Desktop/images/29092025/22/14/image_29092025_22_15_04_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_55_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_14_9739.jpg', 2), ('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_52_05_9785.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_25_9663.jpg', '/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_15_10694.jpg', '/home/nano/Desktop/images/29092025/22/14/image_29092025_22_15_04_9676.jpg', '/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_55_9686.jpg', '/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_14_9739.jpg', '/home/nano/Desktop/images/29092025/19/51/image_29092025_19_52_05_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_25_9663.jpg
/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_15_10694.jpg
/home/nano/Desktop/images/29092025/22/14/image_29092025_22_15_04_9676.jpg
/home/nano/Desktop/images/29092025/22/14/image_29092025_22_14_55_9686.jpg
/home/nano/Desktop/images/29092025/19/52/image_29092025_19_52_14_9739.jpg
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_52_05_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794669","1386794680","1386794683","1386794686","1386794673","1386794676"],"photo_ids_order":["1386794669","1386794673","1386794676","1386794680","1386794683","1386794686"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/76fc317222e5938bc3378e3acd7e943d.jpg","text":"TemporaryFile(/tmp/multipartBody4072273265747338188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176979704,"filename":"image_29092025_22_15_25_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c24c85ed6d5f78c587a37b1648795132.jpg","text":"TemporaryFile(/tmp/multipartBody1322066324360918286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176979704,"filename":"image_29092025_22_14_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/14764fbf0cac42c3246bddb5ec12fcde.jpg","text":"TemporaryFile(/tmp/multipartBody3042505023449673500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176979704,"filename":"image_29092025_19_52_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/504beba20827d86162cb41a60caf2c81.jpg","text":"TemporaryFile(/tmp/multipartBody2171848341029702380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176979704,"filename":"image_29092025_19_52_05_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/398887d1506e22bfd60b53f065381f05.jpg","text":"TemporaryFile(/tmp/multipartBody685352171490411080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176979704,"filename":"image_29092025_22_15_15_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1188aee7250e7d7d830f9b5bed5b7f65.jpg","text":"TemporaryFile(/tmp/multipartBody8183026067359701596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759176979704,"filename":"image_29092025_22_15_04_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794676","file1":"1386794673","file0":"1386794669","file4":"1386794683","file5":"1386794686","file3":"1386794680"},"map_files_photo_id_array":[{"photo_id":"1386794686","filename":"file5"},{"photo_id":"1386794676","filename":"file2"},{"photo_id":"1386794683","filename":"file4"},{"photo_id":"1386794673","filename":"file1"},{"photo_id":"1386794669","filename":"file0"},{"photo_id":"1386794680","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794669":["hashtag1","hashtag2"]},{"1386794680":["hashtag1","hashtag2"]},{"1386794683":["hashtag1","hashtag2"]},{"1386794686":["hashtag1","hashtag2"]},{"1386794673":["hashtag1","hashtag2"]},{"1386794676":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794669, 1386794680, 1386794683, 1386794686, 1386794673, 1386794676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38743805885315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:16:02.683938
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_55_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_44_9757.jpg', 2), ('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_34_9735.jpg', 2), ('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_25_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_14_9841.jpg', 2), ('/home/nano/Desktop/images/29092025/19/50/image_29092025_19_51_04_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_55_10673.jpg', '/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_44_9757.jpg', '/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_34_9735.jpg', '/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_25_10662.jpg', '/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_14_9841.jpg', '/home/nano/Desktop/images/29092025/19/50/image_29092025_19_51_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_55_10673.jpg
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_44_9757.jpg
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_34_9735.jpg
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_25_10662.jpg
/home/nano/Desktop/images/29092025/19/51/image_29092025_19_51_14_9841.jpg
/home/nano/Desktop/images/29092025/19/50/image_29092025_19_51_04_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794693","1386794708","1386794717","1386794698","1386794713","1386794703"],"photo_ids_order":["1386794693","1386794698","1386794703","1386794708","1386794713","1386794717"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bbd3a8124e6c24dcf689b5f133eef4e8.jpg","text":"TemporaryFile(/tmp/multipartBody8732420264174380073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177025386,"filename":"image_29092025_19_51_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5e3483810f2a72a91bb23684d047e24c.jpg","text":"TemporaryFile(/tmp/multipartBody3693086818667825603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177025386,"filename":"image_29092025_19_51_25_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0145b9e72cf11b267b2c8eddac67e5b7.jpg","text":"TemporaryFile(/tmp/multipartBody8300329226736686770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177025386,"filename":"image_29092025_19_51_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/72149f5ff1abf6aaa1b6ba8350dc9c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4926347380716878204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177025386,"filename":"image_29092025_19_51_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f2930eef278d8bae9a91013153305da4.jpg","text":"TemporaryFile(/tmp/multipartBody6397243560214725256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177025386,"filename":"image_29092025_19_51_14_9841.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/975badf318ca2e726222d350397fbddc.jpg","text":"TemporaryFile(/tmp/multipartBody2849631592239751440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177025386,"filename":"image_29092025_19_51_34_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794703","file1":"1386794698","file0":"1386794693","file4":"1386794713","file5":"1386794717","file3":"1386794708"},"map_files_photo_id_array":[{"photo_id":"1386794717","filename":"file5"},{"photo_id":"1386794703","filename":"file2"},{"photo_id":"1386794713","filename":"file4"},{"photo_id":"1386794698","filename":"file1"},{"photo_id":"1386794693","filename":"file0"},{"photo_id":"1386794708","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794693":["hashtag1","hashtag2"]},{"1386794708":["hashtag1","hashtag2"]},{"1386794717":["hashtag1","hashtag2"]},{"1386794698":["hashtag1","hashtag2"]},{"1386794713":["hashtag1","hashtag2"]},{"1386794703":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794693, 1386794708, 1386794717, 1386794698, 1386794713, 1386794703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.149749994277954 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:16:47.224754
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_25_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_14_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/22/15/image_29092025_22_16_04_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_45_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_54_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_45_10702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_25_10674.jpg', '/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_14_9692.jpg', '/home/nano/Desktop/images/29092025/22/15/image_29092025_22_16_04_9684.jpg', '/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_45_10669.jpg', '/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_54_9649.jpg', '/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_45_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_25_10674.jpg
/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_14_9692.jpg
/home/nano/Desktop/images/29092025/22/15/image_29092025_22_16_04_9684.jpg
/home/nano/Desktop/images/29092025/22/15/image_29092025_22_15_45_10669.jpg
/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_54_9649.jpg
/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_45_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794738","1386794743","1386794731","1386794725","1386794734","1386794728"],"photo_ids_order":["1386794725","1386794728","1386794731","1386794734","1386794738","1386794743"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a0a08dfdb1a1f91f4a8111f429414b4e.jpg","text":"TemporaryFile(/tmp/multipartBody4941663752760754229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177069283,"filename":"image_29092025_19_50_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/9/29/4a5890b4b944d97af2cffb9361131c3d.jpg","text":"TemporaryFile(/tmp/multipartBody562033206945499664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177069283,"filename":"image_29092025_19_50_45_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e4abbb3b2d83b88b9b1ae407d518c220.jpg","text":"TemporaryFile(/tmp/multipartBody3006114192605665461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177069283,"filename":"image_29092025_22_16_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eea3679ea8813018e1b0b1f82d300bd9.jpg","text":"TemporaryFile(/tmp/multipartBody5315519980568131831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177069283,"filename":"image_29092025_22_16_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b213d60732242b28e4aea7e5708a5cec.jpg","text":"TemporaryFile(/tmp/multipartBody422025165825560688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177069283,"filename":"image_29092025_22_15_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f7bf60c915cb89b64dcafc32d1c4a63a.jpg","text":"TemporaryFile(/tmp/multipartBody1004972072664569404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177069283,"filename":"image_29092025_22_16_14_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794731","file1":"1386794728","file0":"1386794725","file4":"1386794738","file5":"1386794743","file3":"1386794734"},"map_files_photo_id_array":[{"photo_id":"1386794743","filename":"file5"},{"photo_id":"1386794731","filename":"file2"},{"photo_id":"1386794738","filename":"file4"},{"photo_id":"1386794728","filename":"file1"},{"photo_id":"1386794725","filename":"file0"},{"photo_id":"1386794734","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794738":["hashtag1","hashtag2"]},{"1386794743":["hashtag1","hashtag2"]},{"1386794731":["hashtag1","hashtag2"]},{"1386794725":["hashtag1","hashtag2"]},{"1386794734":["hashtag1","hashtag2"]},{"1386794728":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794738, 1386794743, 1386794731, 1386794725, 1386794734, 1386794728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59791541099548 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:17:32.332151
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_34_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_25_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/22/16/image_29092025_22_17_04_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_34_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_34_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_44_9656.jpg', '/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_34_9664.jpg', '/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_25_10672.jpg', '/home/nano/Desktop/images/29092025/22/16/image_29092025_22_17_04_9692.jpg', '/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_34_9663.jpg', '/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_34_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_44_9656.jpg
/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_34_9664.jpg
/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_25_10672.jpg
/home/nano/Desktop/images/29092025/22/16/image_29092025_22_17_04_9692.jpg
/home/nano/Desktop/images/29092025/22/16/image_29092025_22_16_34_9663.jpg
/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_34_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":["1386794777","1386794768","1386794770","1386794772","1386794766","1386794775"],"photo_ids_order":["1386794766","1386794768","1386794770","1386794772","1386794775","1386794777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/57dcf5639a2629565a08d012fc31ec0e.jpg","text":"TemporaryFile(/tmp/multipartBody6754220090092575514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177114534,"filename":"image_29092025_19_50_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fa9bd0166b71821caec50ea024f8a200.jpg","text":"TemporaryFile(/tmp/multipartBody6221164359428057984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177114534,"filename":"image_29092025_22_17_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b997808f6f03d64f4b60f2f258015a3b.jpg","text":"TemporaryFile(/tmp/multipartBody5917537208881824586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177114534,"filename":"image_29092025_22_17_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e60d5993660415aeef5a55166956737d.jpg","text":"TemporaryFile(/tmp/multipartBody4206068701453586356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177114534,"filename":"image_29092025_22_17_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/acafbb8034b9b9d650e7e00ef74c720f.jpg","text":"TemporaryFile(/tmp/multipartBody4566332117748294429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177114534,"filename":"image_29092025_22_17_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/9/29/5e55e6393284fa49f6ef8c48339b131b.jpg","text":"TemporaryFile(/tmp/multipartBody996783871100764303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177114534,"filename":"image_29092025_22_16_34_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794770","file1":"1386794768","file0":"1386794766","file4":"1386794775","file5":"1386794777","file3":"1386794772"},"map_files_photo_id_array":[{"photo_id":"1386794777","filename":"file5"},{"photo_id":"1386794770","filename":"file2"},{"photo_id":"1386794775","filename":"file4"},{"photo_id":"1386794768","filename":"file1"},{"photo_id":"1386794766","filename":"file0"},{"photo_id":"1386794772","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794777":["hashtag1","hashtag2"]},{"1386794768":["hashtag1","hashtag2"]},{"1386794770":["hashtag1","hashtag2"]},{"1386794772":["hashtag1","hashtag2"]},{"1386794766":["hashtag1","hashtag2"]},{"1386794775":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794777, 1386794768, 1386794770, 1386794772, 1386794766, 1386794775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68286490440369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:18:17.425579
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_44_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_34_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_25_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_14_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/22/17/image_29092025_22_18_04_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_55_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_44_9665.jpg', '/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_34_9665.jpg', '/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_25_10672.jpg', '/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_14_9699.jpg', '/home/nano/Desktop/images/29092025/22/17/image_29092025_22_18_04_9677.jpg', '/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_55_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_44_9665.jpg
/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_34_9665.jpg
/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_25_10672.jpg
/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_14_9699.jpg
/home/nano/Desktop/images/29092025/22/17/image_29092025_22_18_04_9677.jpg
/home/nano/Desktop/images/29092025/22/17/image_29092025_22_17_55_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794813","1386794810","1386794804","1386794815","1386794799","1386794817"],"photo_ids_order":["1386794799","1386794804","1386794810","1386794813","1386794815","1386794817"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/22f70dc14f35af6e7c713891af5fae44.jpg","text":"TemporaryFile(/tmp/multipartBody4129216382897733771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177159706,"filename":"image_29092025_22_18_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/064ca578c713bb15cd04b1b4964c89cf.jpg","text":"TemporaryFile(/tmp/multipartBody1045928716522398588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177159706,"filename":"image_29092025_22_18_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a8a4c689b2e4f8fcf580a88cca659fad.jpg","text":"TemporaryFile(/tmp/multipartBody8713961236090963190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177159706,"filename":"image_29092025_22_18_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/80c2226c48cb47eec78d652dee3b1d17.jpg","text":"TemporaryFile(/tmp/multipartBody7751196026945843193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177159706,"filename":"image_29092025_22_18_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/834695b2dd9ec4738b6309ddf686dc55.jpg","text":"TemporaryFile(/tmp/multipartBody8681474067528886280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177159706,"filename":"image_29092025_22_18_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/dbe71d69b87df34543f53c93bf346e6f.jpg","text":"TemporaryFile(/tmp/multipartBody5276820841485825761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177159706,"filename":"image_29092025_22_17_55_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794810","file1":"1386794804","file0":"1386794799","file4":"1386794815","file5":"1386794817","file3":"1386794813"},"map_files_photo_id_array":[{"photo_id":"1386794817","filename":"file5"},{"photo_id":"1386794810","filename":"file2"},{"photo_id":"1386794815","filename":"file4"},{"photo_id":"1386794804","filename":"file1"},{"photo_id":"1386794799","filename":"file0"},{"photo_id":"1386794813","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794813":["hashtag1","hashtag2"]},{"1386794810":["hashtag1","hashtag2"]},{"1386794804":["hashtag1","hashtag2"]},{"1386794815":["hashtag1","hashtag2"]},{"1386794799":["hashtag1","hashtag2"]},{"1386794817":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794813, 1386794810, 1386794804, 1386794815, 1386794799, 1386794817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.000064849853516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:19:03.432175
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_24_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_15_10734.jpg', 2), ('/home/nano/Desktop/images/29092025/19/49/image_29092025_19_50_04_9632.jpg', 2), ('/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_54_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_45_10640.jpg', 2), ('/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_34_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_24_9677.jpg', '/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_15_10734.jpg', '/home/nano/Desktop/images/29092025/19/49/image_29092025_19_50_04_9632.jpg', '/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_54_9627.jpg', '/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_45_10640.jpg', '/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_34_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_24_9677.jpg
/home/nano/Desktop/images/29092025/19/50/image_29092025_19_50_15_10734.jpg
/home/nano/Desktop/images/29092025/19/49/image_29092025_19_50_04_9632.jpg
/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_54_9627.jpg
/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_45_10640.jpg
/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_34_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794852","1386794831","1386794840","1386794878","1386794863","1386794836"],"photo_ids_order":["1386794831","1386794836","1386794840","1386794852","1386794863","1386794878"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/166b5cf51574823fb75b601cdfcb0a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5358193655879120452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177205244,"filename":"image_29092025_19_49_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1c5e9fc3ed42508d0b269575fe507531.jpg","text":"TemporaryFile(/tmp/multipartBody4457645737222212807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177205244,"filename":"image_29092025_19_50_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/445eb40e26770189799130e304f2403a.jpg","text":"TemporaryFile(/tmp/multipartBody6914137820323906014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177205244,"filename":"image_29092025_19_50_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bb5f44e1fcd422cb4da76cfbb78750cb.jpg","text":"TemporaryFile(/tmp/multipartBody5757473115319439651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177205244,"filename":"image_29092025_19_49_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6f271b9f99ff13efb4fc859a92fe49e6.jpg","text":"TemporaryFile(/tmp/multipartBody9028025809148407058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177205244,"filename":"image_29092025_19_49_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6840aec10fd0e61e82cafc3b8884a25c.jpg","text":"TemporaryFile(/tmp/multipartBody8957237906301910203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177205244,"filename":"image_29092025_19_50_15_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794840","file1":"1386794836","file0":"1386794831","file4":"1386794863","file5":"1386794878","file3":"1386794852"},"map_files_photo_id_array":[{"photo_id":"1386794878","filename":"file5"},{"photo_id":"1386794840","filename":"file2"},{"photo_id":"1386794863","filename":"file4"},{"photo_id":"1386794836","filename":"file1"},{"photo_id":"1386794831","filename":"file0"},{"photo_id":"1386794852","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794852":["hashtag1","hashtag2"]},{"1386794831":["hashtag1","hashtag2"]},{"1386794840":["hashtag1","hashtag2"]},{"1386794878":["hashtag1","hashtag2"]},{"1386794863":["hashtag1","hashtag2"]},{"1386794836":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794852, 1386794831, 1386794840, 1386794878, 1386794863, 1386794836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77766823768616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:19:47.560584
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_25_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_14_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/22/18/image_29092025_22_19_04_9680.jpg', 2), ('/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_55_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_24_9627.jpg', 2), ('/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_15_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_25_10673.jpg', '/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_14_9696.jpg', '/home/nano/Desktop/images/29092025/22/18/image_29092025_22_19_04_9680.jpg', '/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_55_10673.jpg', '/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_24_9627.jpg', '/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_15_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_25_10673.jpg
/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_14_9696.jpg
/home/nano/Desktop/images/29092025/22/18/image_29092025_22_19_04_9680.jpg
/home/nano/Desktop/images/29092025/22/18/image_29092025_22_18_55_10673.jpg
/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_24_9627.jpg
/home/nano/Desktop/images/29092025/19/49/image_29092025_19_49_15_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":["1386794904","1386794907","1386794897","1386794900","1386794918","1386794913"],"photo_ids_order":["1386794897","1386794900","1386794904","1386794907","1386794913","1386794918"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9f4c623cfb28bcd6a19e781d0d32c243.jpg","text":"TemporaryFile(/tmp/multipartBody6083244511953655305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177249401,"filename":"image_29092025_22_19_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/92793475308f3e280bccaf2274dd98ed.jpg","text":"TemporaryFile(/tmp/multipartBody8105833333229333821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177249401,"filename":"image_29092025_22_18_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/908754c0c03c143b544632ddd44cc9f3.jpg","text":"TemporaryFile(/tmp/multipartBody5552865548399540535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177249401,"filename":"image_29092025_22_19_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/585aaa13e33e6ee2d20e2bcbb2b4fbe0.jpg","text":"TemporaryFile(/tmp/multipartBody866191971138735692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177249401,"filename":"image_29092025_22_19_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bb099e3dceae8ae1d5b8115bcabc9104.jpg","text":"TemporaryFile(/tmp/multipartBody1452116636398936884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177249401,"filename":"image_29092025_19_49_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fb67180d4dc94e752a03f4e0b9facac7.jpg","text":"TemporaryFile(/tmp/multipartBody4732261460947137241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177249401,"filename":"image_29092025_19_49_24_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794904","file1":"1386794900","file0":"1386794897","file4":"1386794913","file5":"1386794918","file3":"1386794907"},"map_files_photo_id_array":[{"photo_id":"1386794918","filename":"file5"},{"photo_id":"1386794904","filename":"file2"},{"photo_id":"1386794913","filename":"file4"},{"photo_id":"1386794900","filename":"file1"},{"photo_id":"1386794897","filename":"file0"},{"photo_id":"1386794907","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794904":["hashtag1","hashtag2"]},{"1386794907":["hashtag1","hashtag2"]},{"1386794897":["hashtag1","hashtag2"]},{"1386794900":["hashtag1","hashtag2"]},{"1386794918":["hashtag1","hashtag2"]},{"1386794913":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794904, 1386794907, 1386794897, 1386794900, 1386794918, 1386794913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.336668491363525 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:20:32.649605
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_34_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_25_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_14_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/19/image_29092025_22_20_04_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_44_9660.jpg', '/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_34_9659.jpg', '/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_25_10675.jpg', '/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_14_9673.jpg', '/home/nano/Desktop/images/29092025/22/19/image_29092025_22_20_04_9670.jpg', '/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_44_9660.jpg
/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_34_9659.jpg
/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_25_10675.jpg
/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_14_9673.jpg
/home/nano/Desktop/images/29092025/22/19/image_29092025_22_20_04_9670.jpg
/home/nano/Desktop/images/29092025/22/19/image_29092025_22_19_55_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":["1386794945","1386794948","1386794956","1386794952","1386794940","1386794937"],"photo_ids_order":["1386794937","1386794940","1386794945","1386794948","1386794952","1386794956"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c502a032fcb575627695d1a7ecde49f8.jpg","text":"TemporaryFile(/tmp/multipartBody1565236916759100079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177294319,"filename":"image_29092025_22_20_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/81bc6dbecfa340669e71ecfd7070e2c8.jpg","text":"TemporaryFile(/tmp/multipartBody7572107488925675935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177294319,"filename":"image_29092025_22_20_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/9/29/75aa2712a0500049802b6b6de1ee72bf.jpg","text":"TemporaryFile(/tmp/multipartBody6339056490193308857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177294319,"filename":"image_29092025_22_19_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6ec01af25198ea1c194d6bd6337c55f6.jpg","text":"TemporaryFile(/tmp/multipartBody2235158113461244004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177294319,"filename":"image_29092025_22_20_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/9/29/d2f56e5775b88821f68c1a4da37a724c.jpg","text":"TemporaryFile(/tmp/multipartBody1168674172187437235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177294319,"filename":"image_29092025_22_20_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ac5fe1581460b6320ee1d53eface0e00.jpg","text":"TemporaryFile(/tmp/multipartBody2803157613369288445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177294319,"filename":"image_29092025_22_20_44_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794945","file1":"1386794940","file0":"1386794937","file4":"1386794952","file5":"1386794956","file3":"1386794948"},"map_files_photo_id_array":[{"photo_id":"1386794956","filename":"file5"},{"photo_id":"1386794945","filename":"file2"},{"photo_id":"1386794952","filename":"file4"},{"photo_id":"1386794940","filename":"file1"},{"photo_id":"1386794937","filename":"file0"},{"photo_id":"1386794948","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794945":["hashtag1","hashtag2"]},{"1386794948":["hashtag1","hashtag2"]},{"1386794956":["hashtag1","hashtag2"]},{"1386794952":["hashtag1","hashtag2"]},{"1386794940":["hashtag1","hashtag2"]},{"1386794937":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794945, 1386794948, 1386794956, 1386794952, 1386794940, 1386794937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45706820487976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:21:16.823017
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_44_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_34_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_25_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/22/20/image_29092025_22_21_04_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_55_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_44_9666.jpg', '/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_34_9663.jpg', '/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_25_10668.jpg', '/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_14_9689.jpg', '/home/nano/Desktop/images/29092025/22/20/image_29092025_22_21_04_9677.jpg', '/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_55_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_44_9666.jpg
/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_34_9663.jpg
/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_25_10668.jpg
/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_14_9689.jpg
/home/nano/Desktop/images/29092025/22/20/image_29092025_22_21_04_9677.jpg
/home/nano/Desktop/images/29092025/22/20/image_29092025_22_20_55_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386794984","1386794971","1386794989","1386794974","1386794994","1386794979"],"photo_ids_order":["1386794971","1386794974","1386794979","1386794984","1386794989","1386794994"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/682296d52dd11e9f921819041b1724c6.jpg","text":"TemporaryFile(/tmp/multipartBody8210008878712142644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177338493,"filename":"image_29092025_22_21_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/9/29/63ac9787c30eca3c71021002ab78aa4f.jpg","text":"TemporaryFile(/tmp/multipartBody5919122964818075555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177338493,"filename":"image_29092025_22_21_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/33a1252aeadc41a8e4b8bafaa7ff392b.jpg","text":"TemporaryFile(/tmp/multipartBody5775430840937946725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177338493,"filename":"image_29092025_22_21_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6cbc7d72ee01d803ab5c1c04c5ae5c86.jpg","text":"TemporaryFile(/tmp/multipartBody2224535223041328385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177338493,"filename":"image_29092025_22_21_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f18c5fe08628ee1c921dc6ec2329584c.jpg","text":"TemporaryFile(/tmp/multipartBody8152645170796568792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177338493,"filename":"image_29092025_22_20_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/19cb75ece7e0e97e98a63e17db812890.jpg","text":"TemporaryFile(/tmp/multipartBody5951974905724230354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177338493,"filename":"image_29092025_22_21_25_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386794979","file1":"1386794974","file0":"1386794971","file4":"1386794989","file5":"1386794994","file3":"1386794984"},"map_files_photo_id_array":[{"photo_id":"1386794994","filename":"file5"},{"photo_id":"1386794979","filename":"file2"},{"photo_id":"1386794989","filename":"file4"},{"photo_id":"1386794974","filename":"file1"},{"photo_id":"1386794971","filename":"file0"},{"photo_id":"1386794984","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386794984":["hashtag1","hashtag2"]},{"1386794971":["hashtag1","hashtag2"]},{"1386794989":["hashtag1","hashtag2"]},{"1386794974":["hashtag1","hashtag2"]},{"1386794994":["hashtag1","hashtag2"]},{"1386794979":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386794984, 1386794971, 1386794989, 1386794974, 1386794994, 1386794979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.794782638549805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:22:02.293776
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/48/image_29092025_19_49_04_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_55_10624.jpg', 2), ('/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_44_9622.jpg', 2), ('/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_14_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/19/47/image_29092025_19_48_04_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/48/image_29092025_19_49_04_9640.jpg', '/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_55_10624.jpg', '/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_44_9622.jpg', '/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_34_9646.jpg', '/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_14_9655.jpg', '/home/nano/Desktop/images/29092025/19/47/image_29092025_19_48_04_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/48/image_29092025_19_49_04_9640.jpg
/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_55_10624.jpg
/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_44_9622.jpg
/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_34_9646.jpg
/home/nano/Desktop/images/29092025/19/48/image_29092025_19_48_14_9655.jpg
/home/nano/Desktop/images/29092025/19/47/image_29092025_19_48_04_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795026","1386795014","1386795031","1386795010","1386795007","1386795021"],"photo_ids_order":["1386795007","1386795010","1386795014","1386795021","1386795026","1386795031"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0e8a1a18360cf889339cd7fd5c9f8ee4.jpg","text":"TemporaryFile(/tmp/multipartBody521825589728821476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177384253,"filename":"image_29092025_19_48_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/9/29/f8cb6fccf38bc3343d375ebb91ee066f.jpg","text":"TemporaryFile(/tmp/multipartBody3258610020514110161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177384253,"filename":"image_29092025_19_48_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5f1c80d47e40319c3a1eeffc2c4186dc.jpg","text":"TemporaryFile(/tmp/multipartBody1412144228461619779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177384253,"filename":"image_29092025_19_48_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e180d732e350d2ef0850b3d2d99d097d.jpg","text":"TemporaryFile(/tmp/multipartBody6632678287792978234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177384253,"filename":"image_29092025_19_48_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1bdb25a1898e632251b6f3d30286c26a.jpg","text":"TemporaryFile(/tmp/multipartBody5077571957035350001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177384253,"filename":"image_29092025_19_49_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/9/29/3db40fcca9052f6a0327e7b40ee036b2.jpg","text":"TemporaryFile(/tmp/multipartBody7091258270564757797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177384253,"filename":"image_29092025_19_48_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795014","file1":"1386795010","file0":"1386795007","file4":"1386795026","file5":"1386795031","file3":"1386795021"},"map_files_photo_id_array":[{"photo_id":"1386795031","filename":"file5"},{"photo_id":"1386795014","filename":"file2"},{"photo_id":"1386795026","filename":"file4"},{"photo_id":"1386795010","filename":"file1"},{"photo_id":"1386795007","filename":"file0"},{"photo_id":"1386795021","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795026":["hashtag1","hashtag2"]},{"1386795014":["hashtag1","hashtag2"]},{"1386795031":["hashtag1","hashtag2"]},{"1386795010":["hashtag1","hashtag2"]},{"1386795007":["hashtag1","hashtag2"]},{"1386795021":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795026, 1386795014, 1386795031, 1386795010, 1386795007, 1386795021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.465856313705444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:22:46.848955
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_35_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_25_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_14_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/22/21/image_29092025_22_22_04_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_55_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_55_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_35_9666.jpg', '/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_25_10672.jpg', '/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_14_9702.jpg', '/home/nano/Desktop/images/29092025/22/21/image_29092025_22_22_04_9672.jpg', '/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_55_10671.jpg', '/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_55_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_35_9666.jpg
/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_25_10672.jpg
/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_14_9702.jpg
/home/nano/Desktop/images/29092025/22/21/image_29092025_22_22_04_9672.jpg
/home/nano/Desktop/images/29092025/22/21/image_29092025_22_21_55_10671.jpg
/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_55_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795059","1386795063","1386795039","1386795054","1386795048","1386795068"],"photo_ids_order":["1386795039","1386795048","1386795054","1386795059","1386795063","1386795068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c380a16a6161d28d23526f836b1c6f9b.jpg","text":"TemporaryFile(/tmp/multipartBody3542191632812721641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177430439,"filename":"image_29092025_22_22_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/89670fbcb9c0f43a5225630d1c1c5fe1.jpg","text":"TemporaryFile(/tmp/multipartBody9188548906815610263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177430439,"filename":"image_29092025_22_21_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/56ee230c9fb83550338d3232994fc4f5.jpg","text":"TemporaryFile(/tmp/multipartBody3368797089833434948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177430439,"filename":"image_29092025_22_22_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7991d4b21dac386a085781822dd4bd10.jpg","text":"TemporaryFile(/tmp/multipartBody8870081492975105643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177430439,"filename":"image_29092025_22_22_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/9/29/fcb2c29cf93f6ad2fe395aecb8b053b7.jpg","text":"TemporaryFile(/tmp/multipartBody2503783543731906192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177430439,"filename":"image_29092025_22_22_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cb9415333071c34ef60db4db30a7c234.jpg","text":"TemporaryFile(/tmp/multipartBody331189771580628621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177430439,"filename":"image_29092025_19_47_55_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795054","file1":"1386795048","file0":"1386795039","file4":"1386795063","file5":"1386795068","file3":"1386795059"},"map_files_photo_id_array":[{"photo_id":"1386795068","filename":"file5"},{"photo_id":"1386795054","filename":"file2"},{"photo_id":"1386795063","filename":"file4"},{"photo_id":"1386795048","filename":"file1"},{"photo_id":"1386795039","filename":"file0"},{"photo_id":"1386795059","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795059":["hashtag1","hashtag2"]},{"1386795063":["hashtag1","hashtag2"]},{"1386795039":["hashtag1","hashtag2"]},{"1386795054":["hashtag1","hashtag2"]},{"1386795048":["hashtag1","hashtag2"]},{"1386795068":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795059, 1386795063, 1386795039, 1386795054, 1386795048, 1386795068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.75056552886963 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:23:46.976247
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_44_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_35_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_25_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_14_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/22/22/image_29092025_22_23_05_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_55_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_44_9647.jpg', '/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_35_9648.jpg', '/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_25_10661.jpg', '/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_14_9682.jpg', '/home/nano/Desktop/images/29092025/22/22/image_29092025_22_23_05_9669.jpg', '/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_55_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_44_9647.jpg
/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_35_9648.jpg
/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_25_10661.jpg
/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_14_9682.jpg
/home/nano/Desktop/images/29092025/22/22/image_29092025_22_23_05_9669.jpg
/home/nano/Desktop/images/29092025/22/22/image_29092025_22_22_55_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795101","1386795091","1386795106","1386795096","1386795081","1386795086"],"photo_ids_order":["1386795081","1386795086","1386795091","1386795096","1386795101","1386795106"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/464bb5be1a00362034fd869860f94568.jpg","text":"TemporaryFile(/tmp/multipartBody7429325241539378712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177488597,"filename":"image_29092025_22_23_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bfc8c6f42ce659c4964b6a0bf38d751d.jpg","text":"TemporaryFile(/tmp/multipartBody2359308851504641499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177488597,"filename":"image_29092025_22_23_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eeb2c4a03405b0c2aeac2e5a0810d56b.jpg","text":"TemporaryFile(/tmp/multipartBody7922668953140276955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177488597,"filename":"image_29092025_22_22_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4263c674d6b6cc0afb0ed38fb4130b09.jpg","text":"TemporaryFile(/tmp/multipartBody5375716985587985407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177488597,"filename":"image_29092025_22_23_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/db6713f3edb85db3c54cb5c875345ea9.jpg","text":"TemporaryFile(/tmp/multipartBody5127236382374187298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177488597,"filename":"image_29092025_22_23_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4936b9f3e62b1d3346bb661ade94ba41.jpg","text":"TemporaryFile(/tmp/multipartBody446544386317820452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177488597,"filename":"image_29092025_22_23_35_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795091","file1":"1386795086","file0":"1386795081","file4":"1386795101","file5":"1386795106","file3":"1386795096"},"map_files_photo_id_array":[{"photo_id":"1386795106","filename":"file5"},{"photo_id":"1386795091","filename":"file2"},{"photo_id":"1386795101","filename":"file4"},{"photo_id":"1386795086","filename":"file1"},{"photo_id":"1386795081","filename":"file0"},{"photo_id":"1386795096","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795101":["hashtag1","hashtag2"]},{"1386795091":["hashtag1","hashtag2"]},{"1386795106":["hashtag1","hashtag2"]},{"1386795096":["hashtag1","hashtag2"]},{"1386795081":["hashtag1","hashtag2"]},{"1386795086":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795101, 1386795091, 1386795106, 1386795096, 1386795081, 1386795086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0236701965332 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:24:32.083897
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_44_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_34_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_25_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_14_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/23/image_29092025_22_24_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_55_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_44_9648.jpg', '/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_34_9663.jpg', '/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_25_10676.jpg', '/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_14_9673.jpg', '/home/nano/Desktop/images/29092025/22/23/image_29092025_22_24_04_9650.jpg', '/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_44_9648.jpg
/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_34_9663.jpg
/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_25_10676.jpg
/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_14_9673.jpg
/home/nano/Desktop/images/29092025/22/23/image_29092025_22_24_04_9650.jpg
/home/nano/Desktop/images/29092025/22/23/image_29092025_22_23_55_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795128","1386795136","1386795124","1386795132","1386795135","1386795120"],"photo_ids_order":["1386795120","1386795124","1386795128","1386795132","1386795135","1386795136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8c00bf0bb0c574d19621825be5269395.jpg","text":"TemporaryFile(/tmp/multipartBody2620388573729821805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177533931,"filename":"image_29092025_22_24_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d4ce3df71be4ea12e3ddcf62eb853e06.jpg","text":"TemporaryFile(/tmp/multipartBody4208366457422065496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177533931,"filename":"image_29092025_22_23_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/91c7a9eef753da6d4d6ec03091928495.jpg","text":"TemporaryFile(/tmp/multipartBody8228519850976348350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177533931,"filename":"image_29092025_22_24_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7c9fc05a96c2adbb8a2a17aaa1ae2c84.jpg","text":"TemporaryFile(/tmp/multipartBody3789534645773338394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177533931,"filename":"image_29092025_22_24_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/9/29/139d37ee0ec59f95b0df6c66fd66bbca.jpg","text":"TemporaryFile(/tmp/multipartBody8133674357140257958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177533931,"filename":"image_29092025_22_24_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/9/29/8ec2ac9d0fdbfd547442f4c58b8f2007.jpg","text":"TemporaryFile(/tmp/multipartBody6290063591707611727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177533931,"filename":"image_29092025_22_24_44_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795128","file1":"1386795124","file0":"1386795120","file4":"1386795135","file5":"1386795136","file3":"1386795132"},"map_files_photo_id_array":[{"photo_id":"1386795136","filename":"file5"},{"photo_id":"1386795128","filename":"file2"},{"photo_id":"1386795135","filename":"file4"},{"photo_id":"1386795124","filename":"file1"},{"photo_id":"1386795120","filename":"file0"},{"photo_id":"1386795132","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795128":["hashtag1","hashtag2"]},{"1386795136":["hashtag1","hashtag2"]},{"1386795124":["hashtag1","hashtag2"]},{"1386795132":["hashtag1","hashtag2"]},{"1386795135":["hashtag1","hashtag2"]},{"1386795120":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795128, 1386795136, 1386795124, 1386795132, 1386795135, 1386795120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40168499946594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:25:17.178724
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_44_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_14_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/22/24/image_29092025_22_25_04_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_55_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_44_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_34_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_44_9645.jpg', '/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_14_9677.jpg', '/home/nano/Desktop/images/29092025/22/24/image_29092025_22_25_04_9655.jpg', '/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_55_10657.jpg', '/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_44_9625.jpg', '/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_44_9645.jpg
/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_14_9677.jpg
/home/nano/Desktop/images/29092025/22/24/image_29092025_22_25_04_9655.jpg
/home/nano/Desktop/images/29092025/22/24/image_29092025_22_24_55_10657.jpg
/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_44_9625.jpg
/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_34_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795161","1386795164","1386795166","1386795151","1386795156","1386795165"],"photo_ids_order":["1386795151","1386795156","1386795161","1386795164","1386795165","1386795166"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/88d62e720573f00d6e37d491a402476d.jpg","text":"TemporaryFile(/tmp/multipartBody4105891532655235408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177578866,"filename":"image_29092025_22_25_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/9/29/0dc5113304fe49605d72a47cf2ab3bd2.jpg","text":"TemporaryFile(/tmp/multipartBody6556696652100337133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177578866,"filename":"image_29092025_22_24_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/82d4dd96255577f5d983c0693b089d05.jpg","text":"TemporaryFile(/tmp/multipartBody7307436667327368003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177578866,"filename":"image_29092025_19_47_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eb57a1a6a2b580eff0f9dbfaa04d9dde.jpg","text":"TemporaryFile(/tmp/multipartBody3074764949577235241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177578866,"filename":"image_29092025_22_25_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cf9bef33032da71bcfa2350c282caee8.jpg","text":"TemporaryFile(/tmp/multipartBody8885954379182749066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177578866,"filename":"image_29092025_22_25_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/9/29/8705718c705534add21cdf476e977611.jpg","text":"TemporaryFile(/tmp/multipartBody933206338562110261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177578866,"filename":"image_29092025_19_47_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795161","file1":"1386795156","file0":"1386795151","file4":"1386795165","file5":"1386795166","file3":"1386795164"},"map_files_photo_id_array":[{"photo_id":"1386795166","filename":"file5"},{"photo_id":"1386795161","filename":"file2"},{"photo_id":"1386795165","filename":"file4"},{"photo_id":"1386795156","filename":"file1"},{"photo_id":"1386795151","filename":"file0"},{"photo_id":"1386795164","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795161":["hashtag1","hashtag2"]},{"1386795164":["hashtag1","hashtag2"]},{"1386795166":["hashtag1","hashtag2"]},{"1386795151":["hashtag1","hashtag2"]},{"1386795156":["hashtag1","hashtag2"]},{"1386795165":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795161, 1386795164, 1386795166, 1386795151, 1386795156, 1386795165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.452401638031006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:26:02.574068
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_25_10627.jpg', 2), ('/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_47_05_9634.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_55_10629.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_25_10627.jpg', '/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_14_9660.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_47_05_9634.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_55_10629.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_25_10627.jpg
/home/nano/Desktop/images/29092025/19/47/image_29092025_19_47_14_9660.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_47_05_9634.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_55_10629.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_44_9617.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_35_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":["1386795184","1386795189","1386795207","1386795201","1386795179","1386795194"],"photo_ids_order":["1386795179","1386795184","1386795189","1386795194","1386795201","1386795207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b47c66711bdee113730541c224802558.jpg","text":"TemporaryFile(/tmp/multipartBody4331763832133915938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177624223,"filename":"image_29092025_19_47_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/9/29/fd1136b483ce7f5f36d40d19ff98bcc1.jpg","text":"TemporaryFile(/tmp/multipartBody4276878840757128402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177624223,"filename":"image_29092025_19_47_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7796b97500f7d327283f00b34f69aa92.jpg","text":"TemporaryFile(/tmp/multipartBody7688507707716500963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177624223,"filename":"image_29092025_19_46_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d9fb9b58c438d56c5a255e3f5c833aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5926040127799931990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177624223,"filename":"image_29092025_19_46_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b043ca04f9e18dfc085f13a0583343d5.jpg","text":"TemporaryFile(/tmp/multipartBody4223206917733961034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177624223,"filename":"image_29092025_19_47_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5b29fa2c249258607f4df8f19a536dd1.jpg","text":"TemporaryFile(/tmp/multipartBody7718587124790030723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177624223,"filename":"image_29092025_19_46_55_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795189","file1":"1386795184","file0":"1386795179","file4":"1386795201","file5":"1386795207","file3":"1386795194"},"map_files_photo_id_array":[{"photo_id":"1386795207","filename":"file5"},{"photo_id":"1386795189","filename":"file2"},{"photo_id":"1386795201","filename":"file4"},{"photo_id":"1386795184","filename":"file1"},{"photo_id":"1386795179","filename":"file0"},{"photo_id":"1386795194","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795184":["hashtag1","hashtag2"]},{"1386795189":["hashtag1","hashtag2"]},{"1386795207":["hashtag1","hashtag2"]},{"1386795201":["hashtag1","hashtag2"]},{"1386795179":["hashtag1","hashtag2"]},{"1386795194":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795184, 1386795189, 1386795207, 1386795201, 1386795179, 1386795194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79181385040283 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:26:47.285337
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_44_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_25_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_14_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_55_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_44_9647.jpg', '/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_34_9646.jpg', '/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_25_10675.jpg', '/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_14_9674.jpg', '/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_55_10655.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_44_9647.jpg
/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_34_9646.jpg
/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_25_10675.jpg
/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_14_9674.jpg
/home/nano/Desktop/images/29092025/22/25/image_29092025_22_25_55_10655.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_24_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":["1386795221","1386795229","1386795217","1386795237","1386795225","1386795234"],"photo_ids_order":["1386795217","1386795221","1386795225","1386795229","1386795234","1386795237"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e552d7839e380250ccd3563ee7b15fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6848681185166997899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177668901,"filename":"image_29092025_22_26_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/90bfde5f8d981bc4aac4367f83f72fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2392726534505898521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177668901,"filename":"image_29092025_22_26_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/9/29/25907b8bc48fe3c673343344c5cdcdee.jpg","text":"TemporaryFile(/tmp/multipartBody2043896961959818924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177668901,"filename":"image_29092025_22_26_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c389ba798e8d8ece1494e2c9e81ae58b.jpg","text":"TemporaryFile(/tmp/multipartBody2181620721507708281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177668901,"filename":"image_29092025_19_46_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/9/29/b002241ed21b5110a8b2591e0e33543e.jpg","text":"TemporaryFile(/tmp/multipartBody1577204382490346012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177668901,"filename":"image_29092025_22_26_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c41e4b1f103f96d20e959135343669a8.jpg","text":"TemporaryFile(/tmp/multipartBody7411326990451724061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177668901,"filename":"image_29092025_22_25_55_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795225","file1":"1386795221","file0":"1386795217","file4":"1386795234","file5":"1386795237","file3":"1386795229"},"map_files_photo_id_array":[{"photo_id":"1386795237","filename":"file5"},{"photo_id":"1386795225","filename":"file2"},{"photo_id":"1386795234","filename":"file4"},{"photo_id":"1386795221","filename":"file1"},{"photo_id":"1386795217","filename":"file0"},{"photo_id":"1386795229","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795221":["hashtag1","hashtag2"]},{"1386795229":["hashtag1","hashtag2"]},{"1386795217":["hashtag1","hashtag2"]},{"1386795237":["hashtag1","hashtag2"]},{"1386795225":["hashtag1","hashtag2"]},{"1386795234":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795221, 1386795229, 1386795217, 1386795237, 1386795225, 1386795234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38009762763977 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:27:32.375148
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_44_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_25_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_14_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/22/26/image_29092025_22_27_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_55_10674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_44_9647.jpg', '/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_34_9646.jpg', '/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_25_10656.jpg', '/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_14_9695.jpg', '/home/nano/Desktop/images/29092025/22/26/image_29092025_22_27_04_9673.jpg', '/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_44_9647.jpg
/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_34_9646.jpg
/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_25_10656.jpg
/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_14_9695.jpg
/home/nano/Desktop/images/29092025/22/26/image_29092025_22_27_04_9673.jpg
/home/nano/Desktop/images/29092025/22/26/image_29092025_22_26_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795269","1386795259","1386795253","1386795256","1386795264","1386795272"],"photo_ids_order":["1386795253","1386795256","1386795259","1386795264","1386795269","1386795272"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9e3a023d46cde92c39f875404905cc20.jpg","text":"TemporaryFile(/tmp/multipartBody5754878569307916553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177714255,"filename":"image_29092025_22_27_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/9/29/148534ce0d8dffc224e07be07578df38.jpg","text":"TemporaryFile(/tmp/multipartBody8909828292199830849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177714255,"filename":"image_29092025_22_27_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/9/29/d26a07197405892f908fead38ea70c86.jpg","text":"TemporaryFile(/tmp/multipartBody1082833134089645431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177714255,"filename":"image_29092025_22_27_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3bc44e9f85688e0b9630cc7752e2fdfc.jpg","text":"TemporaryFile(/tmp/multipartBody364616521221976029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177714255,"filename":"image_29092025_22_27_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/16a22a13b50754786bc419a0c7f9003d.jpg","text":"TemporaryFile(/tmp/multipartBody8262113531832550552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177714255,"filename":"image_29092025_22_27_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/46546a3064dcb80b37c198f6ad72e260.jpg","text":"TemporaryFile(/tmp/multipartBody2544442672257522842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177714255,"filename":"image_29092025_22_26_55_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795259","file1":"1386795256","file0":"1386795253","file4":"1386795269","file5":"1386795272","file3":"1386795264"},"map_files_photo_id_array":[{"photo_id":"1386795272","filename":"file5"},{"photo_id":"1386795259","filename":"file2"},{"photo_id":"1386795269","filename":"file4"},{"photo_id":"1386795256","filename":"file1"},{"photo_id":"1386795253","filename":"file0"},{"photo_id":"1386795264","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795269":["hashtag1","hashtag2"]},{"1386795259":["hashtag1","hashtag2"]},{"1386795253":["hashtag1","hashtag2"]},{"1386795256":["hashtag1","hashtag2"]},{"1386795264":["hashtag1","hashtag2"]},{"1386795272":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795269, 1386795259, 1386795253, 1386795256, 1386795264, 1386795272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56329607963562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:28:17.522974
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_44_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_25_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/22/27/image_29092025_22_28_04_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_55_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_44_9649.jpg', '/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_34_9647.jpg', '/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_25_10676.jpg', '/home/nano/Desktop/images/29092025/22/27/image_29092025_22_28_04_9659.jpg', '/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_55_10659.jpg', '/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_44_9649.jpg
/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_34_9647.jpg
/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_25_10676.jpg
/home/nano/Desktop/images/29092025/22/27/image_29092025_22_28_04_9659.jpg
/home/nano/Desktop/images/29092025/22/27/image_29092025_22_27_55_10659.jpg
/home/nano/Desktop/images/29092025/19/46/image_29092025_19_46_14_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795331","1386795349","1386795304","1386795342","1386795351","1386795318"],"photo_ids_order":["1386795304","1386795318","1386795331","1386795342","1386795349","1386795351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/79574dacf0525535cb100363d740ea17.jpg","text":"TemporaryFile(/tmp/multipartBody8585528446148755059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177759081,"filename":"image_29092025_22_28_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c5948a9f578dcaf2e7d5374a142a17e1.jpg","text":"TemporaryFile(/tmp/multipartBody8012182943985217363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177759081,"filename":"image_29092025_22_27_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2321d7ba64e78b22e79e873a483cb278.jpg","text":"TemporaryFile(/tmp/multipartBody8395887646978412755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177759081,"filename":"image_29092025_22_28_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/47cce79427980cc55d9c0eb6e01ba4ae.jpg","text":"TemporaryFile(/tmp/multipartBody7965060028257319836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177759081,"filename":"image_29092025_22_28_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/9/29/d1d6943edcaeeb4938114462197b4a72.jpg","text":"TemporaryFile(/tmp/multipartBody3304797879171200000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177759081,"filename":"image_29092025_19_46_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/9/29/3f1376aa5ba4e17c2459b52377afffa4.jpg","text":"TemporaryFile(/tmp/multipartBody3675925006623056648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177759081,"filename":"image_29092025_22_28_34_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795331","file1":"1386795318","file0":"1386795304","file4":"1386795349","file5":"1386795351","file3":"1386795342"},"map_files_photo_id_array":[{"photo_id":"1386795351","filename":"file5"},{"photo_id":"1386795331","filename":"file2"},{"photo_id":"1386795349","filename":"file4"},{"photo_id":"1386795318","filename":"file1"},{"photo_id":"1386795304","filename":"file0"},{"photo_id":"1386795342","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795331":["hashtag1","hashtag2"]},{"1386795349":["hashtag1","hashtag2"]},{"1386795304":["hashtag1","hashtag2"]},{"1386795342":["hashtag1","hashtag2"]},{"1386795351":["hashtag1","hashtag2"]},{"1386795318":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795331, 1386795349, 1386795304, 1386795342, 1386795351, 1386795318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91399836540222 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:29:03.749246
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_44_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_35_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_24_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_14_9689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_44_9654.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_35_10667.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_24_9655.jpg', '/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_14_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_46_05_10689.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_54_9668.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_44_9654.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_35_10667.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_24_9655.jpg
/home/nano/Desktop/images/29092025/19/45/image_29092025_19_45_14_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795389","1386795401","1386795394","1386795397","1386795409","1386795414"],"photo_ids_order":["1386795389","1386795394","1386795397","1386795401","1386795409","1386795414"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eed99006a55d9b8e22a935ff88964596.jpg","text":"TemporaryFile(/tmp/multipartBody5545767601405938198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177805383,"filename":"image_29092025_19_46_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eb22185ec1b31bbaf345db0f7c59b748.jpg","text":"TemporaryFile(/tmp/multipartBody505207932817767832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177805383,"filename":"image_29092025_19_45_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b46a4645f4f846b710e0c0bc561e720c.jpg","text":"TemporaryFile(/tmp/multipartBody845616094608376153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177805383,"filename":"image_29092025_19_45_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/959678bd6e306fde186f89df4e7a2f3d.jpg","text":"TemporaryFile(/tmp/multipartBody470126399271267428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177805383,"filename":"image_29092025_19_45_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/9/29/50b0508db20e249ba8441786545c07b5.jpg","text":"TemporaryFile(/tmp/multipartBody6912334488024251478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177805383,"filename":"image_29092025_19_45_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/9/29/450acbe5916e3cf0aaa9c7168c7a9a3d.jpg","text":"TemporaryFile(/tmp/multipartBody1854432363054217308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177805383,"filename":"image_29092025_19_45_14_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795397","file1":"1386795394","file0":"1386795389","file4":"1386795409","file5":"1386795414","file3":"1386795401"},"map_files_photo_id_array":[{"photo_id":"1386795414","filename":"file5"},{"photo_id":"1386795397","filename":"file2"},{"photo_id":"1386795409","filename":"file4"},{"photo_id":"1386795394","filename":"file1"},{"photo_id":"1386795389","filename":"file0"},{"photo_id":"1386795401","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795389":["hashtag1","hashtag2"]},{"1386795401":["hashtag1","hashtag2"]},{"1386795394":["hashtag1","hashtag2"]},{"1386795397":["hashtag1","hashtag2"]},{"1386795409":["hashtag1","hashtag2"]},{"1386795414":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795389, 1386795401, 1386795394, 1386795397, 1386795409, 1386795414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07856869697571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:29:47.735169
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_44_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/22/28/image_29092025_22_29_04_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_55_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/19/44/image_29092025_19_45_05_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_54_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_44_9652.jpg', '/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_34_9647.jpg', '/home/nano/Desktop/images/29092025/22/28/image_29092025_22_29_04_9651.jpg', '/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_55_10653.jpg', '/home/nano/Desktop/images/29092025/19/44/image_29092025_19_45_05_10670.jpg', '/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_54_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_44_9652.jpg
/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_34_9647.jpg
/home/nano/Desktop/images/29092025/22/28/image_29092025_22_29_04_9651.jpg
/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_55_10653.jpg
/home/nano/Desktop/images/29092025/19/44/image_29092025_19_45_05_10670.jpg
/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_54_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 49.8726704120636 secondes ---
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8b0hkjhoa</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8b0hkjhoa</strong>.
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:30:46.837794
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_45_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_34_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_14_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/22/29/image_29092025_22_30_04_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_55_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_44_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_45_10654.jpg', '/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_34_9648.jpg', '/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_14_9670.jpg', '/home/nano/Desktop/images/29092025/22/29/image_29092025_22_30_04_9658.jpg', '/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_55_10668.jpg', '/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_44_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_45_10654.jpg
/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_34_9648.jpg
/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_14_9670.jpg
/home/nano/Desktop/images/29092025/22/29/image_29092025_22_30_04_9658.jpg
/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_55_10668.jpg
/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_44_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":["1386795481","1386795472","1386795466","1386795468","1386795477","1386795464"],"photo_ids_order":["1386795464","1386795466","1386795468","1386795472","1386795477","1386795481"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e7615792ae8c52c910dfe75fde2798d5.jpg","text":"TemporaryFile(/tmp/multipartBody6706354140606478462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177909555,"filename":"image_29092025_22_29_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/9/29/dcab76367bddf4c08bbc7d57cc2dc1cc.jpg","text":"TemporaryFile(/tmp/multipartBody1752365117525070230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177909555,"filename":"image_29092025_22_30_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/9/29/57d4641a9cc8e3c923c31d4def4a0e57.jpg","text":"TemporaryFile(/tmp/multipartBody3270795927012823380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177909555,"filename":"image_29092025_22_30_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a3357e53f2fa94b4be493c9675a46dda.jpg","text":"TemporaryFile(/tmp/multipartBody8915022534732377340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177909555,"filename":"image_29092025_22_30_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/9/29/0f4fd6277a654e23b3c13dcb45b7ee76.jpg","text":"TemporaryFile(/tmp/multipartBody5243306073824380928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177909555,"filename":"image_29092025_22_29_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e6f660f489bb6ef7960cca9ec7cc996c.jpg","text":"TemporaryFile(/tmp/multipartBody6873291758376808988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177909555,"filename":"image_29092025_22_30_45_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795468","file1":"1386795466","file0":"1386795464","file4":"1386795477","file5":"1386795481","file3":"1386795472"},"map_files_photo_id_array":[{"photo_id":"1386795481","filename":"file5"},{"photo_id":"1386795468","filename":"file2"},{"photo_id":"1386795477","filename":"file4"},{"photo_id":"1386795466","filename":"file1"},{"photo_id":"1386795464","filename":"file0"},{"photo_id":"1386795472","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795481":["hashtag1","hashtag2"]},{"1386795472":["hashtag1","hashtag2"]},{"1386795466":["hashtag1","hashtag2"]},{"1386795468":["hashtag1","hashtag2"]},{"1386795477":["hashtag1","hashtag2"]},{"1386795464":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795481, 1386795472, 1386795466, 1386795468, 1386795477, 1386795464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26732277870178 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:31:31.961210
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_34_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_25_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_15_10684.jpg', 2), ('/home/nano/Desktop/images/29092025/22/30/image_29092025_22_31_04_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_55_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_34_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_34_9652.jpg', '/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_25_9652.jpg', '/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_15_10684.jpg', '/home/nano/Desktop/images/29092025/22/30/image_29092025_22_31_04_9648.jpg', '/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_55_9648.jpg', '/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_34_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_34_9652.jpg
/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_25_9652.jpg
/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_15_10684.jpg
/home/nano/Desktop/images/29092025/22/30/image_29092025_22_31_04_9648.jpg
/home/nano/Desktop/images/29092025/22/30/image_29092025_22_30_55_9648.jpg
/home/nano/Desktop/images/29092025/22/29/image_29092025_22_29_34_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":["1386795512","1386795509","1386795505","1386795498","1386795501","1386795507"],"photo_ids_order":["1386795498","1386795501","1386795505","1386795507","1386795509","1386795512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9f5ab7848c1136bd64b6627e8c111d5b.jpg","text":"TemporaryFile(/tmp/multipartBody1443454321114805687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177953755,"filename":"image_29092025_22_29_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/9/29/ad96dd26211376b66f5ef444dd5a00a0.jpg","text":"TemporaryFile(/tmp/multipartBody4664279032645474138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177953755,"filename":"image_29092025_22_30_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e240b6b71f2bfbdb16756be44ab87691.jpg","text":"TemporaryFile(/tmp/multipartBody5239805960880182618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177953755,"filename":"image_29092025_22_31_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2f64b8065c8588bebf218c931831c91b.jpg","text":"TemporaryFile(/tmp/multipartBody4493686448911855651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177953755,"filename":"image_29092025_22_31_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/9/29/91ba38d3d2e075ce2aa2aebcce7b7cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5899920490199781021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177953755,"filename":"image_29092025_22_31_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/574c1f142691f91cfd44c23765e82ec1.jpg","text":"TemporaryFile(/tmp/multipartBody7658293003883926917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177953755,"filename":"image_29092025_22_31_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795505","file1":"1386795501","file0":"1386795498","file4":"1386795509","file5":"1386795512","file3":"1386795507"},"map_files_photo_id_array":[{"photo_id":"1386795512","filename":"file5"},{"photo_id":"1386795505","filename":"file2"},{"photo_id":"1386795509","filename":"file4"},{"photo_id":"1386795501","filename":"file1"},{"photo_id":"1386795498","filename":"file0"},{"photo_id":"1386795507","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795512":["hashtag1","hashtag2"]},{"1386795509":["hashtag1","hashtag2"]},{"1386795505":["hashtag1","hashtag2"]},{"1386795498":["hashtag1","hashtag2"]},{"1386795501":["hashtag1","hashtag2"]},{"1386795507":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795512, 1386795509, 1386795505, 1386795498, 1386795501, 1386795507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89385962486267 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:32:17.057991
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_45_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_34_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_15_10686.jpg', 2), ('/home/nano/Desktop/images/29092025/22/31/image_29092025_22_32_04_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_45_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/28/image_29092025_22_29_04_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_45_10662.jpg', '/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_34_9652.jpg', '/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_15_10686.jpg', '/home/nano/Desktop/images/29092025/22/31/image_29092025_22_32_04_9659.jpg', '/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_45_10663.jpg', '/home/nano/Desktop/images/29092025/22/28/image_29092025_22_29_04_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_45_10662.jpg
/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_34_9652.jpg
/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_15_10686.jpg
/home/nano/Desktop/images/29092025/22/31/image_29092025_22_32_04_9659.jpg
/home/nano/Desktop/images/29092025/22/31/image_29092025_22_31_45_10663.jpg
/home/nano/Desktop/images/29092025/22/28/image_29092025_22_29_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":["1386795548","1386795542","1386795565","1386795529","1386795588","1386795584"],"photo_ids_order":["1386795529","1386795542","1386795548","1386795565","1386795584","1386795588"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/26272184b458e87fbc19d781d055bea5.jpg","text":"TemporaryFile(/tmp/multipartBody6332799661174157902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177998962,"filename":"image_29092025_22_32_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/9/29/590311647254d575bab9b163fb1b2ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8387898874507045418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177998962,"filename":"image_29092025_22_32_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/9/29/502e50feff603ba5fffb0a057cf25258.jpg","text":"TemporaryFile(/tmp/multipartBody5647805671440726165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177998962,"filename":"image_29092025_22_32_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/9/29/8d791bf5fb939dba751eeeb544f3facd.jpg","text":"TemporaryFile(/tmp/multipartBody2272482029913144334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177998962,"filename":"image_29092025_22_32_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/040d06213bd9406fb2480923d0d6658d.jpg","text":"TemporaryFile(/tmp/multipartBody3244379341032027967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177998962,"filename":"image_29092025_22_29_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/9/29/c373415c4903b53736fe6772bd28484c.jpg","text":"TemporaryFile(/tmp/multipartBody7180970647624960863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177998962,"filename":"image_29092025_22_31_45_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795548","file1":"1386795542","file0":"1386795529","file4":"1386795584","file5":"1386795588","file3":"1386795565"},"map_files_photo_id_array":[{"photo_id":"1386795588","filename":"file5"},{"photo_id":"1386795548","filename":"file2"},{"photo_id":"1386795584","filename":"file4"},{"photo_id":"1386795542","filename":"file1"},{"photo_id":"1386795529","filename":"file0"},{"photo_id":"1386795565","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795548":["hashtag1","hashtag2"]},{"1386795542":["hashtag1","hashtag2"]},{"1386795565":["hashtag1","hashtag2"]},{"1386795529":["hashtag1","hashtag2"]},{"1386795588":["hashtag1","hashtag2"]},{"1386795584":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795548, 1386795542, 1386795565, 1386795529, 1386795588, 1386795584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41877007484436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:33:02.988231
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_55_10653.jpg', 2), ('/home/nano/Desktop/images/29092025/19/44/image_29092025_19_45_05_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_54_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_35_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_24_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_14_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_55_10653.jpg', '/home/nano/Desktop/images/29092025/19/44/image_29092025_19_45_05_10670.jpg', '/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_54_9652.jpg', '/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_35_10662.jpg', '/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_24_9652.jpg', '/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_14_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/28/image_29092025_22_28_55_10653.jpg
/home/nano/Desktop/images/29092025/19/44/image_29092025_19_45_05_10670.jpg
/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_54_9652.jpg
/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_35_10662.jpg
/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_24_9652.jpg
/home/nano/Desktop/images/29092025/19/44/image_29092025_19_44_14_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795611","1386795608","1386795623","1386795619","1386795628","1386795615"],"photo_ids_order":["1386795608","1386795611","1386795615","1386795619","1386795623","1386795628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/aae32ac99e63edb6767b702c3a6b5361.jpg","text":"TemporaryFile(/tmp/multipartBody5755525233166865410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178045698,"filename":"image_29092025_19_45_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/35bc0d8b23a33c3d70332e6b705a10a1.jpg","text":"TemporaryFile(/tmp/multipartBody94151136176150242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178045698,"filename":"image_29092025_22_28_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/647eb1cd3b8733e4b859f04253587461.jpg","text":"TemporaryFile(/tmp/multipartBody706100114701262020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178045698,"filename":"image_29092025_19_44_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5f4f19ab0c5a8c4ecf695ef5f9126749.jpg","text":"TemporaryFile(/tmp/multipartBody7637275912062691523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178045698,"filename":"image_29092025_19_44_35_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/24be5e8be22e3aa287e6ca725c459491.jpg","text":"TemporaryFile(/tmp/multipartBody7605484346424689269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178045698,"filename":"image_29092025_19_44_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/9/29/def6db537b6f449564d19df2296307de.jpg","text":"TemporaryFile(/tmp/multipartBody2392043914581745414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178045698,"filename":"image_29092025_19_44_54_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795615","file1":"1386795611","file0":"1386795608","file4":"1386795623","file5":"1386795628","file3":"1386795619"},"map_files_photo_id_array":[{"photo_id":"1386795628","filename":"file5"},{"photo_id":"1386795615","filename":"file2"},{"photo_id":"1386795623","filename":"file4"},{"photo_id":"1386795611","filename":"file1"},{"photo_id":"1386795608","filename":"file0"},{"photo_id":"1386795619","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795611":["hashtag1","hashtag2"]},{"1386795608":["hashtag1","hashtag2"]},{"1386795623":["hashtag1","hashtag2"]},{"1386795619":["hashtag1","hashtag2"]},{"1386795628":["hashtag1","hashtag2"]},{"1386795615":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795611, 1386795608, 1386795623, 1386795619, 1386795628, 1386795615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85279059410095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:33:47.190153
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_45_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_34_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_24_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_15_10685.jpg', 2), ('/home/nano/Desktop/images/29092025/22/32/image_29092025_22_33_04_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_54_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_45_10671.jpg', '/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_34_9661.jpg', '/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_24_9650.jpg', '/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_15_10685.jpg', '/home/nano/Desktop/images/29092025/22/32/image_29092025_22_33_04_9656.jpg', '/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_54_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_45_10671.jpg
/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_34_9661.jpg
/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_24_9650.jpg
/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_15_10685.jpg
/home/nano/Desktop/images/29092025/22/32/image_29092025_22_33_04_9656.jpg
/home/nano/Desktop/images/29092025/22/32/image_29092025_22_32_54_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":["1386795644","1386795647","1386795652","1386795681","1386795666","1386795660"],"photo_ids_order":["1386795644","1386795647","1386795652","1386795660","1386795666","1386795681"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5629908bfda4a1a97f053c9428dc1bdf.jpg","text":"TemporaryFile(/tmp/multipartBody552532126231178581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178088722,"filename":"image_29092025_22_33_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7c1eb4646d18bb08a4cacbdb15d33a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6022535846174606436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178088722,"filename":"image_29092025_22_33_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/66565023f9f37f1a812bce7f9077a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody4096969840943453130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178088722,"filename":"image_29092025_22_33_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/9/29/764f6c6973ec8f2f034c298ce864b712.jpg","text":"TemporaryFile(/tmp/multipartBody4580451507177775909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178088722,"filename":"image_29092025_22_32_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0f2793cdf1d6e676f26cda07f4b91660.jpg","text":"TemporaryFile(/tmp/multipartBody7695189114939082127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178088722,"filename":"image_29092025_22_33_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/9/29/bc4f43e6a3a833668e77f840ea1212b1.jpg","text":"TemporaryFile(/tmp/multipartBody2028720988695592958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178088722,"filename":"image_29092025_22_33_15_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795652","file1":"1386795647","file0":"1386795644","file4":"1386795666","file5":"1386795681","file3":"1386795660"},"map_files_photo_id_array":[{"photo_id":"1386795681","filename":"file5"},{"photo_id":"1386795652","filename":"file2"},{"photo_id":"1386795666","filename":"file4"},{"photo_id":"1386795647","filename":"file1"},{"photo_id":"1386795644","filename":"file0"},{"photo_id":"1386795660","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795644":["hashtag1","hashtag2"]},{"1386795647":["hashtag1","hashtag2"]},{"1386795652":["hashtag1","hashtag2"]},{"1386795681":["hashtag1","hashtag2"]},{"1386795666":["hashtag1","hashtag2"]},{"1386795660":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795644, 1386795647, 1386795652, 1386795681, 1386795666, 1386795660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.774274826049805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:34:32.268399
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_45_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_34_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_15_10698.jpg', 2), ('/home/nano/Desktop/images/29092025/22/33/image_29092025_22_34_04_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_54_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_45_10669.jpg', '/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_34_9665.jpg', '/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_15_10698.jpg', '/home/nano/Desktop/images/29092025/22/33/image_29092025_22_34_04_9669.jpg', '/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_54_9663.jpg', '/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_45_10669.jpg
/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_34_9665.jpg
/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_15_10698.jpg
/home/nano/Desktop/images/29092025/22/33/image_29092025_22_34_04_9669.jpg
/home/nano/Desktop/images/29092025/22/33/image_29092025_22_33_54_9663.jpg
/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_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":["1386795770","1386795758","1386795748","1386795771","1386795768","1386795753"],"photo_ids_order":["1386795748","1386795753","1386795758","1386795768","1386795770","1386795771"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8dbcfb2e8b0bbcd2aba6e9086601d690.jpg","text":"TemporaryFile(/tmp/multipartBody8838122115109425841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178133946,"filename":"image_29092025_22_33_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ede4cb27c1d755c6fb460e0bbb2e7338.jpg","text":"TemporaryFile(/tmp/multipartBody7166610364963963931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178133946,"filename":"image_29092025_22_34_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f0d93f0a6982e560584f58c97308c61c.jpg","text":"TemporaryFile(/tmp/multipartBody1484796470729464280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178133946,"filename":"image_29092025_22_34_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bd4dd1c40df58aacd87cd92baee2612d.jpg","text":"TemporaryFile(/tmp/multipartBody6787417147985684308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178133946,"filename":"image_29092025_19_43_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/9/29/efb8c89bce20c5f501e86299996f5609.jpg","text":"TemporaryFile(/tmp/multipartBody8742174781861673126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178133946,"filename":"image_29092025_22_34_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/9/29/7dce7fe8e988dac8afe6f25f0ae52733.jpg","text":"TemporaryFile(/tmp/multipartBody1824338528435219202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178133946,"filename":"image_29092025_22_34_34_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795758","file1":"1386795753","file0":"1386795748","file4":"1386795770","file5":"1386795771","file3":"1386795768"},"map_files_photo_id_array":[{"photo_id":"1386795771","filename":"file5"},{"photo_id":"1386795758","filename":"file2"},{"photo_id":"1386795770","filename":"file4"},{"photo_id":"1386795753","filename":"file1"},{"photo_id":"1386795748","filename":"file0"},{"photo_id":"1386795768","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795770":["hashtag1","hashtag2"]},{"1386795758":["hashtag1","hashtag2"]},{"1386795748":["hashtag1","hashtag2"]},{"1386795771":["hashtag1","hashtag2"]},{"1386795768":["hashtag1","hashtag2"]},{"1386795753":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795770, 1386795758, 1386795748, 1386795771, 1386795768, 1386795753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6641788482666 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:35:17.415354
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_34_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_25_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_15_10697.jpg', 2), ('/home/nano/Desktop/images/29092025/22/34/image_29092025_22_35_04_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_55_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_44_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_34_9664.jpg', '/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_25_9665.jpg', '/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_15_10697.jpg', '/home/nano/Desktop/images/29092025/22/34/image_29092025_22_35_04_9696.jpg', '/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_55_9662.jpg', '/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_44_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_34_9664.jpg
/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_25_9665.jpg
/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_15_10697.jpg
/home/nano/Desktop/images/29092025/22/34/image_29092025_22_35_04_9696.jpg
/home/nano/Desktop/images/29092025/22/34/image_29092025_22_34_55_9662.jpg
/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_44_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":["1386795796","1386795811","1386795805","1386795789","1386795808","1386795801"],"photo_ids_order":["1386795789","1386795796","1386795801","1386795805","1386795808","1386795811"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2525fd6afd9a6099c9f9957539c1963d.jpg","text":"TemporaryFile(/tmp/multipartBody3956390733303915885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178179112,"filename":"image_29092025_22_35_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/587147923c27d95f0bd900a158814064.jpg","text":"TemporaryFile(/tmp/multipartBody2751655105948654321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178179112,"filename":"image_29092025_19_43_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eb987fc6b2df8c378c3240101a247812.jpg","text":"TemporaryFile(/tmp/multipartBody2747144478217383909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178179112,"filename":"image_29092025_22_35_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f436a388f885709d87b1eb4ef670cbbe.jpg","text":"TemporaryFile(/tmp/multipartBody7934254875198476777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178179112,"filename":"image_29092025_22_35_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b10652fce453f35c2e223e88c6471ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7617394700864320578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178179112,"filename":"image_29092025_22_34_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c1720e95fed5c2e5dafd2307c6cb092c.jpg","text":"TemporaryFile(/tmp/multipartBody1929343343916749878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178179112,"filename":"image_29092025_22_35_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795801","file1":"1386795796","file0":"1386795789","file4":"1386795808","file5":"1386795811","file3":"1386795805"},"map_files_photo_id_array":[{"photo_id":"1386795811","filename":"file5"},{"photo_id":"1386795801","filename":"file2"},{"photo_id":"1386795808","filename":"file4"},{"photo_id":"1386795796","filename":"file1"},{"photo_id":"1386795789","filename":"file0"},{"photo_id":"1386795805","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795796":["hashtag1","hashtag2"]},{"1386795811":["hashtag1","hashtag2"]},{"1386795805":["hashtag1","hashtag2"]},{"1386795789":["hashtag1","hashtag2"]},{"1386795808":["hashtag1","hashtag2"]},{"1386795801":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795796, 1386795811, 1386795805, 1386795789, 1386795808, 1386795801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27204155921936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:36:03.021562
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_35_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_24_9625.jpg', 2), ('/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/19/42/image_29092025_19_43_05_10626.jpg', 2), ('/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_54_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_44_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_35_10654.jpg', '/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_24_9625.jpg', '/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_14_9671.jpg', '/home/nano/Desktop/images/29092025/19/42/image_29092025_19_43_05_10626.jpg', '/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_54_9653.jpg', '/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_35_10654.jpg
/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_24_9625.jpg
/home/nano/Desktop/images/29092025/19/43/image_29092025_19_43_14_9671.jpg
/home/nano/Desktop/images/29092025/19/42/image_29092025_19_43_05_10626.jpg
/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_54_9653.jpg
/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_44_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":["1386795868","1386795832","1386795838","1386795843","1386795854","1386795848"],"photo_ids_order":["1386795832","1386795838","1386795843","1386795848","1386795854","1386795868"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/21191408d7d451c10520fd8d046d4f7e.jpg","text":"TemporaryFile(/tmp/multipartBody5935456492489314411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178224686,"filename":"image_29092025_19_42_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bc55a8fa47a6ce9f5be2e54b2a882bb9.jpg","text":"TemporaryFile(/tmp/multipartBody2711736698319050983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178224686,"filename":"image_29092025_19_43_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/56bd06d095c9749e4abc7db768625f56.jpg","text":"TemporaryFile(/tmp/multipartBody8767995731326898384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178224686,"filename":"image_29092025_19_43_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b67dac3990ddd8009cfb114dc7ddf013.jpg","text":"TemporaryFile(/tmp/multipartBody6063295092484960415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178224686,"filename":"image_29092025_19_43_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/9/29/b4106d92a4df9a755a71faeaf48042fc.jpg","text":"TemporaryFile(/tmp/multipartBody2886119873753992651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178224686,"filename":"image_29092025_19_42_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/41791a77d4bfc07d940681006b338bc8.jpg","text":"TemporaryFile(/tmp/multipartBody4292946854986793310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178224686,"filename":"image_29092025_19_43_05_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795843","file1":"1386795838","file0":"1386795832","file4":"1386795854","file5":"1386795868","file3":"1386795848"},"map_files_photo_id_array":[{"photo_id":"1386795868","filename":"file5"},{"photo_id":"1386795843","filename":"file2"},{"photo_id":"1386795854","filename":"file4"},{"photo_id":"1386795838","filename":"file1"},{"photo_id":"1386795832","filename":"file0"},{"photo_id":"1386795848","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795868":["hashtag1","hashtag2"]},{"1386795832":["hashtag1","hashtag2"]},{"1386795838":["hashtag1","hashtag2"]},{"1386795843":["hashtag1","hashtag2"]},{"1386795854":["hashtag1","hashtag2"]},{"1386795848":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795868, 1386795832, 1386795838, 1386795843, 1386795854, 1386795848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04222297668457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:36:47.477801
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_45_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_34_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_25_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_15_10698.jpg', 2), ('/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_55_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_35_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_45_10673.jpg', '/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_34_9663.jpg', '/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_25_9664.jpg', '/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_15_10698.jpg', '/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_55_9662.jpg', '/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_35_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_45_10673.jpg
/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_34_9663.jpg
/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_25_9664.jpg
/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_15_10698.jpg
/home/nano/Desktop/images/29092025/22/35/image_29092025_22_35_55_9662.jpg
/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_35_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386795910","1386795904","1386795888","1386795897","1386795891","1386795884"],"photo_ids_order":["1386795884","1386795888","1386795891","1386795897","1386795904","1386795910"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/725775ba35aff281caa80be36dd28fcd.jpg","text":"TemporaryFile(/tmp/multipartBody9148649000250612289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178269668,"filename":"image_29092025_19_42_35_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2cc438ae7094863821c2b430015fc372.jpg","text":"TemporaryFile(/tmp/multipartBody74653908525735162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178269668,"filename":"image_29092025_22_35_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/08634dc68ebbf86f139ef3f001743165.jpg","text":"TemporaryFile(/tmp/multipartBody1328009409479370928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178269668,"filename":"image_29092025_22_36_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d3c181787fd7de8c63fd63384e667a30.jpg","text":"TemporaryFile(/tmp/multipartBody3596286830680250084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178269668,"filename":"image_29092025_22_36_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7bae149db4ba9d4d3ddecea509cc285a.jpg","text":"TemporaryFile(/tmp/multipartBody2014401104742204541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178269668,"filename":"image_29092025_22_36_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ca625d03b71c20edcf994b160b2f3f3d.jpg","text":"TemporaryFile(/tmp/multipartBody8085473660268230220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178269668,"filename":"image_29092025_22_36_45_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795891","file1":"1386795888","file0":"1386795884","file4":"1386795904","file5":"1386795910","file3":"1386795897"},"map_files_photo_id_array":[{"photo_id":"1386795910","filename":"file5"},{"photo_id":"1386795891","filename":"file2"},{"photo_id":"1386795904","filename":"file4"},{"photo_id":"1386795888","filename":"file1"},{"photo_id":"1386795884","filename":"file0"},{"photo_id":"1386795897","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795910":["hashtag1","hashtag2"]},{"1386795904":["hashtag1","hashtag2"]},{"1386795888":["hashtag1","hashtag2"]},{"1386795897":["hashtag1","hashtag2"]},{"1386795891":["hashtag1","hashtag2"]},{"1386795884":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795910, 1386795904, 1386795888, 1386795897, 1386795891, 1386795884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.942500591278076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:37:32.577184
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_45_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_34_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_25_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_15_10686.jpg', 2), ('/home/nano/Desktop/images/29092025/22/36/image_29092025_22_37_04_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_55_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_45_10671.jpg', '/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_34_9662.jpg', '/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_25_9661.jpg', '/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_15_10686.jpg', '/home/nano/Desktop/images/29092025/22/36/image_29092025_22_37_04_9663.jpg', '/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_45_10671.jpg
/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_34_9662.jpg
/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_25_9661.jpg
/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_15_10686.jpg
/home/nano/Desktop/images/29092025/22/36/image_29092025_22_37_04_9663.jpg
/home/nano/Desktop/images/29092025/22/36/image_29092025_22_36_55_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":["1386795944","1386795926","1386795931","1386795940","1386795928","1386795937"],"photo_ids_order":["1386795926","1386795928","1386795931","1386795937","1386795940","1386795944"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eccaacf9c0ca9537f5d2001c7749c17c.jpg","text":"TemporaryFile(/tmp/multipartBody2914262985991874103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178313927,"filename":"image_29092025_22_36_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/50c6742d4fe7157e1749991147a9f789.jpg","text":"TemporaryFile(/tmp/multipartBody4001812223359015985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178313927,"filename":"image_29092025_22_37_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eab68dda9b349ead9eda513460782b55.jpg","text":"TemporaryFile(/tmp/multipartBody6921940914836324958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178313927,"filename":"image_29092025_22_37_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a37840550704c3bd26913caa58e60bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4369356441578783742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178313927,"filename":"image_29092025_22_37_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/9/29/b0b14329e01d356b3291ee8e24addee8.jpg","text":"TemporaryFile(/tmp/multipartBody8135761637412902748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178313927,"filename":"image_29092025_22_37_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3ca5c936e556149ac21fb0e063030cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1652935689418913251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178313927,"filename":"image_29092025_22_37_15_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795931","file1":"1386795928","file0":"1386795926","file4":"1386795940","file5":"1386795944","file3":"1386795937"},"map_files_photo_id_array":[{"photo_id":"1386795944","filename":"file5"},{"photo_id":"1386795931","filename":"file2"},{"photo_id":"1386795940","filename":"file4"},{"photo_id":"1386795928","filename":"file1"},{"photo_id":"1386795926","filename":"file0"},{"photo_id":"1386795937","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795944":["hashtag1","hashtag2"]},{"1386795926":["hashtag1","hashtag2"]},{"1386795931":["hashtag1","hashtag2"]},{"1386795940":["hashtag1","hashtag2"]},{"1386795928":["hashtag1","hashtag2"]},{"1386795937":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795944, 1386795926, 1386795931, 1386795940, 1386795928, 1386795937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.503342628479004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:38:17.733461
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_44_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_34_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_14_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/22/37/image_29092025_22_38_04_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_55_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_24_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_44_9663.jpg', '/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_34_9661.jpg', '/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_14_9689.jpg', '/home/nano/Desktop/images/29092025/22/37/image_29092025_22_38_04_9698.jpg', '/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_55_9661.jpg', '/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_24_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_44_9663.jpg
/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_34_9661.jpg
/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_14_9689.jpg
/home/nano/Desktop/images/29092025/22/37/image_29092025_22_38_04_9698.jpg
/home/nano/Desktop/images/29092025/22/37/image_29092025_22_37_55_9661.jpg
/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_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":["1386795962","1386795982","1386795979","1386795967","1386795975","1386795984"],"photo_ids_order":["1386795962","1386795967","1386795975","1386795979","1386795982","1386795984"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2e5e640ec5669aa9533ce401bc6414b5.jpg","text":"TemporaryFile(/tmp/multipartBody7141013747594406438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178360562,"filename":"image_29092025_22_38_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a177da08e68fb67292a3ec376571cb5d.jpg","text":"TemporaryFile(/tmp/multipartBody2924135463633317948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178360562,"filename":"image_29092025_22_37_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/32caef3628a5c25c3aadfb108ca75aad.jpg","text":"TemporaryFile(/tmp/multipartBody1481091689566901833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178360562,"filename":"image_29092025_22_38_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/394eb91578b10b7888dc2230aef8815f.jpg","text":"TemporaryFile(/tmp/multipartBody6193248838283959440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178360562,"filename":"image_29092025_22_38_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1da8ff08d848b0cd80680e570d950529.jpg","text":"TemporaryFile(/tmp/multipartBody3592933584171499011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178360562,"filename":"image_29092025_22_38_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/9/29/7e3ea388a9e3e12e3492dede84f9a403.jpg","text":"TemporaryFile(/tmp/multipartBody6158790978151637269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178360562,"filename":"image_29092025_19_42_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795975","file1":"1386795967","file0":"1386795962","file4":"1386795982","file5":"1386795984","file3":"1386795979"},"map_files_photo_id_array":[{"photo_id":"1386795984","filename":"file5"},{"photo_id":"1386795975","filename":"file2"},{"photo_id":"1386795982","filename":"file4"},{"photo_id":"1386795967","filename":"file1"},{"photo_id":"1386795962","filename":"file0"},{"photo_id":"1386795979","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386795962":["hashtag1","hashtag2"]},{"1386795982":["hashtag1","hashtag2"]},{"1386795979":["hashtag1","hashtag2"]},{"1386795967":["hashtag1","hashtag2"]},{"1386795975":["hashtag1","hashtag2"]},{"1386795984":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386795962, 1386795982, 1386795979, 1386795967, 1386795975, 1386795984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.392290115356445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:39:02.833077
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_55_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_15_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/19/41/image_29092025_19_42_05_10642.jpg', 2), ('/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_54_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_45_9713.jpg', 2), ('/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_35_10722.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_55_10655.jpg', '/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_15_9654.jpg', '/home/nano/Desktop/images/29092025/19/41/image_29092025_19_42_05_10642.jpg', '/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_54_9675.jpg', '/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_45_9713.jpg', '/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_35_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_55_10655.jpg
/home/nano/Desktop/images/29092025/19/42/image_29092025_19_42_15_9654.jpg
/home/nano/Desktop/images/29092025/19/41/image_29092025_19_42_05_10642.jpg
/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_54_9675.jpg
/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_45_9713.jpg
/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_35_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796019","1386795997","1386796005","1386796014","1386796008","1386796001"],"photo_ids_order":["1386795997","1386796001","1386796005","1386796008","1386796014","1386796019"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8fef2dc5836d95e8ef1284f19408c891.jpg","text":"TemporaryFile(/tmp/multipartBody8952823978940389659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178405625,"filename":"image_29092025_19_41_35_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7f54ecb4d6e6abb8918e3db362300b72.jpg","text":"TemporaryFile(/tmp/multipartBody7474708757026095679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178405625,"filename":"image_29092025_22_39_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/73df3474dcf6ae73eeadef8f63f1e94a.jpg","text":"TemporaryFile(/tmp/multipartBody7715537087459728965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178405625,"filename":"image_29092025_19_42_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fbb636ae40feab498508c2d6d8c519a9.jpg","text":"TemporaryFile(/tmp/multipartBody52948870812610095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178405625,"filename":"image_29092025_19_41_45_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/78465b964de648fe5610b62e1dc7cf5d.jpg","text":"TemporaryFile(/tmp/multipartBody6365672793395609495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178405625,"filename":"image_29092025_19_41_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9752772ca6a861ac610558e9aec8ed40.jpg","text":"TemporaryFile(/tmp/multipartBody557689415799729362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178405625,"filename":"image_29092025_19_42_15_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796005","file1":"1386796001","file0":"1386795997","file4":"1386796014","file5":"1386796019","file3":"1386796008"},"map_files_photo_id_array":[{"photo_id":"1386796019","filename":"file5"},{"photo_id":"1386796005","filename":"file2"},{"photo_id":"1386796014","filename":"file4"},{"photo_id":"1386796001","filename":"file1"},{"photo_id":"1386795997","filename":"file0"},{"photo_id":"1386796008","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796019":["hashtag1","hashtag2"]},{"1386795997":["hashtag1","hashtag2"]},{"1386796005":["hashtag1","hashtag2"]},{"1386796014":["hashtag1","hashtag2"]},{"1386796008":["hashtag1","hashtag2"]},{"1386796001":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796019, 1386795997, 1386796005, 1386796014, 1386796008, 1386796001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68327879905701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:39:46.802272
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_34_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_14_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_55_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_24_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_14_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_41_05_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_34_9653.jpg', '/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_14_9678.jpg', '/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_55_10669.jpg', '/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_24_9662.jpg', '/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_14_9660.jpg', '/home/nano/Desktop/images/29092025/19/40/image_29092025_19_41_05_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_34_9653.jpg
/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_14_9678.jpg
/home/nano/Desktop/images/29092025/22/38/image_29092025_22_38_55_10669.jpg
/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_24_9662.jpg
/home/nano/Desktop/images/29092025/19/41/image_29092025_19_41_14_9660.jpg
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_41_05_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":["1386796051","1386796033","1386796036","1386796041","1386796038","1386796046"],"photo_ids_order":["1386796033","1386796036","1386796038","1386796041","1386796046","1386796051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/98870d8c55f88dfe0de079ecadd2d9db.jpg","text":"TemporaryFile(/tmp/multipartBody6638991086079200258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178448959,"filename":"image_29092025_19_41_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/9/29/34223ad5bf203929b2cf5fec027cea93.jpg","text":"TemporaryFile(/tmp/multipartBody2357277532496772731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178448959,"filename":"image_29092025_22_39_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/9/29/365b1776cb4d51942abf3cc9b9d900d6.jpg","text":"TemporaryFile(/tmp/multipartBody6262172172184886444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178448959,"filename":"image_29092025_22_39_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/9/29/e9663a973823c2f05cc5ecf9518a9a07.jpg","text":"TemporaryFile(/tmp/multipartBody5359879089298652713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178448959,"filename":"image_29092025_19_41_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/9/29/2708f15ad26ef916de58a5a7b338d98a.jpg","text":"TemporaryFile(/tmp/multipartBody5186979971858354686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178448959,"filename":"image_29092025_22_38_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5437954521b20ca969d706f99c04b921.jpg","text":"TemporaryFile(/tmp/multipartBody4251069025289431143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178448959,"filename":"image_29092025_19_41_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796038","file1":"1386796036","file0":"1386796033","file4":"1386796046","file5":"1386796051","file3":"1386796041"},"map_files_photo_id_array":[{"photo_id":"1386796051","filename":"file5"},{"photo_id":"1386796038","filename":"file2"},{"photo_id":"1386796046","filename":"file4"},{"photo_id":"1386796036","filename":"file1"},{"photo_id":"1386796033","filename":"file0"},{"photo_id":"1386796041","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796051":["hashtag1","hashtag2"]},{"1386796033":["hashtag1","hashtag2"]},{"1386796036":["hashtag1","hashtag2"]},{"1386796041":["hashtag1","hashtag2"]},{"1386796038":["hashtag1","hashtag2"]},{"1386796046":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796051, 1386796033, 1386796036, 1386796041, 1386796038, 1386796046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.894116163253784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:40:31.923036
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_44_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_34_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_25_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_14_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/22/39/image_29092025_22_40_04_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_44_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_44_9661.jpg', '/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_34_9660.jpg', '/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_25_10673.jpg', '/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_14_9690.jpg', '/home/nano/Desktop/images/29092025/22/39/image_29092025_22_40_04_9702.jpg', '/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_44_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_44_9661.jpg
/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_34_9660.jpg
/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_25_10673.jpg
/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_14_9690.jpg
/home/nano/Desktop/images/29092025/22/39/image_29092025_22_40_04_9702.jpg
/home/nano/Desktop/images/29092025/22/39/image_29092025_22_39_44_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":["1386796084","1386796072","1386796068","1386796077","1386796071","1386796082"],"photo_ids_order":["1386796068","1386796071","1386796072","1386796077","1386796082","1386796084"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/04f68bcd5f4e1221f8dc86bb9355d470.jpg","text":"TemporaryFile(/tmp/multipartBody4404616314182933517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178493870,"filename":"image_29092025_22_39_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9cd8fd06cd72957299d0c26cbf73b3cb.jpg","text":"TemporaryFile(/tmp/multipartBody2184456625701162783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178493870,"filename":"image_29092025_22_40_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6366ec7a26b78c4ae309320a090da0b3.jpg","text":"TemporaryFile(/tmp/multipartBody7008281005193150293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178493870,"filename":"image_29092025_22_40_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f5419b7cbab4da3852964d62e48db769.jpg","text":"TemporaryFile(/tmp/multipartBody3394486006881034364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178493870,"filename":"image_29092025_22_40_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ee139d2dae5eb8966aab71b118543295.jpg","text":"TemporaryFile(/tmp/multipartBody5996464750544388236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178493870,"filename":"image_29092025_22_40_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/9/29/4d31a8ffff72a55fabf27d82f4c1c553.jpg","text":"TemporaryFile(/tmp/multipartBody5981725744888112643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178493870,"filename":"image_29092025_22_40_04_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796072","file1":"1386796071","file0":"1386796068","file4":"1386796082","file5":"1386796084","file3":"1386796077"},"map_files_photo_id_array":[{"photo_id":"1386796084","filename":"file5"},{"photo_id":"1386796072","filename":"file2"},{"photo_id":"1386796082","filename":"file4"},{"photo_id":"1386796071","filename":"file1"},{"photo_id":"1386796068","filename":"file0"},{"photo_id":"1386796077","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796084":["hashtag1","hashtag2"]},{"1386796072":["hashtag1","hashtag2"]},{"1386796068":["hashtag1","hashtag2"]},{"1386796077":["hashtag1","hashtag2"]},{"1386796071":["hashtag1","hashtag2"]},{"1386796082":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796084, 1386796072, 1386796068, 1386796077, 1386796071, 1386796082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61347532272339 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:41:17.063767
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_25_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_14_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/22/40/image_29092025_22_41_04_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_55_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_54_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_44_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_25_10670.jpg', '/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_14_9684.jpg', '/home/nano/Desktop/images/29092025/22/40/image_29092025_22_41_04_9664.jpg', '/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_55_10670.jpg', '/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_54_9670.jpg', '/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_44_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_25_10670.jpg
/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_14_9684.jpg
/home/nano/Desktop/images/29092025/22/40/image_29092025_22_41_04_9664.jpg
/home/nano/Desktop/images/29092025/22/40/image_29092025_22_40_55_10670.jpg
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_54_9670.jpg
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_44_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":["1386796114","1386796105","1386796110","1386796113","1386796115","1386796100"],"photo_ids_order":["1386796100","1386796105","1386796110","1386796113","1386796114","1386796115"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/89b7399df37661d15c412cc0eda40c18.jpg","text":"TemporaryFile(/tmp/multipartBody3007871470185188317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178538847,"filename":"image_29092025_19_40_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9a9dcef00f0158cc033efc4155e112ea.jpg","text":"TemporaryFile(/tmp/multipartBody616161671356000996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178538847,"filename":"image_29092025_22_41_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/9/29/0988147c2f93b850eebe4e1c5a44049b.jpg","text":"TemporaryFile(/tmp/multipartBody6946509349526602130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178538847,"filename":"image_29092025_22_41_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/9/29/aa3582583c19b0866542a5cc2385018e.jpg","text":"TemporaryFile(/tmp/multipartBody7075697697770580438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178538847,"filename":"image_29092025_22_40_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ad6029dcc611470526667ac8f1311d63.jpg","text":"TemporaryFile(/tmp/multipartBody8520033473374650461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178538847,"filename":"image_29092025_19_40_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/9/29/71e8068d13988fb8af21f8356785a739.jpg","text":"TemporaryFile(/tmp/multipartBody2558225285600621013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178538847,"filename":"image_29092025_22_41_25_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796110","file1":"1386796105","file0":"1386796100","file4":"1386796114","file5":"1386796115","file3":"1386796113"},"map_files_photo_id_array":[{"photo_id":"1386796115","filename":"file5"},{"photo_id":"1386796110","filename":"file2"},{"photo_id":"1386796114","filename":"file4"},{"photo_id":"1386796105","filename":"file1"},{"photo_id":"1386796100","filename":"file0"},{"photo_id":"1386796113","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796114":["hashtag1","hashtag2"]},{"1386796105":["hashtag1","hashtag2"]},{"1386796110":["hashtag1","hashtag2"]},{"1386796113":["hashtag1","hashtag2"]},{"1386796115":["hashtag1","hashtag2"]},{"1386796100":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796114, 1386796105, 1386796110, 1386796113, 1386796115, 1386796100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30580258369446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:42:02.732028
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_35_10624.jpg', 2), ('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_24_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_15_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/39/image_29092025_19_40_05_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_54_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_44_9768.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_35_10624.jpg', '/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_24_9650.jpg', '/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_15_9664.jpg', '/home/nano/Desktop/images/29092025/19/39/image_29092025_19_40_05_10699.jpg', '/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_54_9716.jpg', '/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_44_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_35_10624.jpg
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_24_9650.jpg
/home/nano/Desktop/images/29092025/19/40/image_29092025_19_40_15_9664.jpg
/home/nano/Desktop/images/29092025/19/39/image_29092025_19_40_05_10699.jpg
/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_54_9716.jpg
/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_44_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796155","1386796137","1386796151","1386796145","1386796148","1386796142"],"photo_ids_order":["1386796137","1386796142","1386796145","1386796148","1386796151","1386796155"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/43b04183024154ee9b25c50d67705b76.jpg","text":"TemporaryFile(/tmp/multipartBody3895952302582882532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178584327,"filename":"image_29092025_19_39_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/53a4c85902942b276aa83c412d3151ba.jpg","text":"TemporaryFile(/tmp/multipartBody4861824380559098701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178584327,"filename":"image_29092025_19_40_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4daba176a363830af65a98ae0db94c82.jpg","text":"TemporaryFile(/tmp/multipartBody2817167437364481471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178584327,"filename":"image_29092025_19_39_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a8fc5f3a97dfb7ba35ae5116f81af0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2071609340744545882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178584327,"filename":"image_29092025_19_40_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/248bc7451a89ffc4c966174e6e0e4952.jpg","text":"TemporaryFile(/tmp/multipartBody8368810417313477736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178584327,"filename":"image_29092025_19_40_05_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/288dd264968f7db1f8f2284888a72843.jpg","text":"TemporaryFile(/tmp/multipartBody1335176455378937295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178584327,"filename":"image_29092025_19_40_24_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796145","file1":"1386796142","file0":"1386796137","file4":"1386796151","file5":"1386796155","file3":"1386796148"},"map_files_photo_id_array":[{"photo_id":"1386796155","filename":"file5"},{"photo_id":"1386796145","filename":"file2"},{"photo_id":"1386796151","filename":"file4"},{"photo_id":"1386796142","filename":"file1"},{"photo_id":"1386796137","filename":"file0"},{"photo_id":"1386796148","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796155":["hashtag1","hashtag2"]},{"1386796137":["hashtag1","hashtag2"]},{"1386796151":["hashtag1","hashtag2"]},{"1386796145":["hashtag1","hashtag2"]},{"1386796148":["hashtag1","hashtag2"]},{"1386796142":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796155, 1386796137, 1386796151, 1386796145, 1386796148, 1386796142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33639359474182 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:42:47.132369
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_35_9793.jpg', 2), ('/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_25_10802.jpg', 2), ('/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_14_9785.jpg', 2), ('/home/nano/Desktop/images/29092025/19/38/image_29092025_19_39_04_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_55_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_44_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_35_9793.jpg', '/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_25_10802.jpg', '/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_14_9785.jpg', '/home/nano/Desktop/images/29092025/19/38/image_29092025_19_39_04_9676.jpg', '/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_55_10658.jpg', '/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_44_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_35_9793.jpg
/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_25_10802.jpg
/home/nano/Desktop/images/29092025/19/39/image_29092025_19_39_14_9785.jpg
/home/nano/Desktop/images/29092025/19/38/image_29092025_19_39_04_9676.jpg
/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_55_10658.jpg
/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_44_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796197","1386796191","1386796188","1386796181","1386796200","1386796184"],"photo_ids_order":["1386796181","1386796184","1386796188","1386796191","1386796197","1386796200"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4814a6a3db94dfa85de53c79d8319a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2931058467156402033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178629679,"filename":"image_29092025_19_38_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2c044247f4d6b21acd820fd07d20546c.jpg","text":"TemporaryFile(/tmp/multipartBody5612917025441973926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178629679,"filename":"image_29092025_19_39_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/9/29/5b652a771061c0befd6b73a389f4124a.jpg","text":"TemporaryFile(/tmp/multipartBody8145530589003957185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178629679,"filename":"image_29092025_19_39_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2ba7d4ac684b29ca7cc7ee3a34ac4923.jpg","text":"TemporaryFile(/tmp/multipartBody2486948604358709947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178629679,"filename":"image_29092025_19_39_35_9793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1e2c7f8c3ef64a87827390f4f0f5c1bb.jpg","text":"TemporaryFile(/tmp/multipartBody9140771985300703307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178629679,"filename":"image_29092025_19_38_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5d6ac5d5737d1a68e396afd081f2812b.jpg","text":"TemporaryFile(/tmp/multipartBody180910654346651255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178629679,"filename":"image_29092025_19_39_25_10802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796188","file1":"1386796184","file0":"1386796181","file4":"1386796197","file5":"1386796200","file3":"1386796191"},"map_files_photo_id_array":[{"photo_id":"1386796200","filename":"file5"},{"photo_id":"1386796188","filename":"file2"},{"photo_id":"1386796197","filename":"file4"},{"photo_id":"1386796184","filename":"file1"},{"photo_id":"1386796181","filename":"file0"},{"photo_id":"1386796191","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796197":["hashtag1","hashtag2"]},{"1386796191":["hashtag1","hashtag2"]},{"1386796188":["hashtag1","hashtag2"]},{"1386796181":["hashtag1","hashtag2"]},{"1386796200":["hashtag1","hashtag2"]},{"1386796184":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796197, 1386796191, 1386796188, 1386796181, 1386796200, 1386796184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06504225730896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:43:32.243272
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_34_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_25_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_14_9736.jpg', 2), ('/home/nano/Desktop/images/29092025/19/37/image_29092025_19_38_04_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_55_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_45_10804.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_34_9667.jpg', '/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_25_10675.jpg', '/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_14_9736.jpg', '/home/nano/Desktop/images/29092025/19/37/image_29092025_19_38_04_9690.jpg', '/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_55_9689.jpg', '/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_45_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_34_9667.jpg
/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_25_10675.jpg
/home/nano/Desktop/images/29092025/19/38/image_29092025_19_38_14_9736.jpg
/home/nano/Desktop/images/29092025/19/37/image_29092025_19_38_04_9690.jpg
/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_55_9689.jpg
/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_45_10804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796246","1386796219","1386796234","1386796228","1386796224","1386796241"],"photo_ids_order":["1386796219","1386796224","1386796228","1386796234","1386796241","1386796246"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4ea24349af3d29915f9f9d6336793081.jpg","text":"TemporaryFile(/tmp/multipartBody1947353191709215260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178674295,"filename":"image_29092025_19_37_45_10804.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e48df50ba247e293a5cf03849480a127.jpg","text":"TemporaryFile(/tmp/multipartBody8374758584107283912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178674295,"filename":"image_29092025_19_38_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e122cec1bbfb625cf5492d55f3a1d0c7.jpg","text":"TemporaryFile(/tmp/multipartBody2603540770339339670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178674295,"filename":"image_29092025_19_38_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7316c1456b0da80e56c95056f8f8da98.jpg","text":"TemporaryFile(/tmp/multipartBody4087326988855897852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178674295,"filename":"image_29092025_19_38_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/553a38cc1529457a6abd74fe571eae80.jpg","text":"TemporaryFile(/tmp/multipartBody732382083051564191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178674295,"filename":"image_29092025_19_38_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4e7942c8417d70e7fc3f8c0a0ac7f109.jpg","text":"TemporaryFile(/tmp/multipartBody3573693313141474939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178674295,"filename":"image_29092025_19_37_55_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796228","file1":"1386796224","file0":"1386796219","file4":"1386796241","file5":"1386796246","file3":"1386796234"},"map_files_photo_id_array":[{"photo_id":"1386796246","filename":"file5"},{"photo_id":"1386796228","filename":"file2"},{"photo_id":"1386796241","filename":"file4"},{"photo_id":"1386796224","filename":"file1"},{"photo_id":"1386796219","filename":"file0"},{"photo_id":"1386796234","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796246":["hashtag1","hashtag2"]},{"1386796219":["hashtag1","hashtag2"]},{"1386796234":["hashtag1","hashtag2"]},{"1386796228":["hashtag1","hashtag2"]},{"1386796224":["hashtag1","hashtag2"]},{"1386796241":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796246, 1386796219, 1386796234, 1386796228, 1386796224, 1386796241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82046294212341 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:44:17.419444
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_34_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_24_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_15_9736.jpg', 2), ('/home/nano/Desktop/images/29092025/19/36/image_29092025_19_37_05_10732.jpg', 2), ('/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_54_9709.jpg', 2), ('/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_44_9693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_34_9685.jpg', '/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_24_9676.jpg', '/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_15_9736.jpg', '/home/nano/Desktop/images/29092025/19/36/image_29092025_19_37_05_10732.jpg', '/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_54_9709.jpg', '/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_44_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_34_9685.jpg
/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_24_9676.jpg
/home/nano/Desktop/images/29092025/19/37/image_29092025_19_37_15_9736.jpg
/home/nano/Desktop/images/29092025/19/36/image_29092025_19_37_05_10732.jpg
/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_54_9709.jpg
/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_44_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796285","1386796267","1386796282","1386796284","1386796278","1386796271"],"photo_ids_order":["1386796267","1386796271","1386796278","1386796282","1386796284","1386796285"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/20963597e34c0aeef67e5a8004fda884.jpg","text":"TemporaryFile(/tmp/multipartBody2180814108737542851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178719604,"filename":"image_29092025_19_36_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/69e1d562c60636c30831518ba4ce595a.jpg","text":"TemporaryFile(/tmp/multipartBody2651018536367539829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178719604,"filename":"image_29092025_19_37_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/af7f2d92dc4fa43d8a6d415c8a615945.jpg","text":"TemporaryFile(/tmp/multipartBody6429492178987813868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178719604,"filename":"image_29092025_19_37_05_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e8f959aecf4fcaf2de02ba1107fe220f.jpg","text":"TemporaryFile(/tmp/multipartBody650660364646244904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178719604,"filename":"image_29092025_19_36_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cb8b5b5b50c1b47e01db206116e58469.jpg","text":"TemporaryFile(/tmp/multipartBody6397637266108393492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178719604,"filename":"image_29092025_19_37_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f3be1784a042e65fe9307b0226be3aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6914289792169306574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178719604,"filename":"image_29092025_19_37_24_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796278","file1":"1386796271","file0":"1386796267","file4":"1386796284","file5":"1386796285","file3":"1386796282"},"map_files_photo_id_array":[{"photo_id":"1386796285","filename":"file5"},{"photo_id":"1386796278","filename":"file2"},{"photo_id":"1386796284","filename":"file4"},{"photo_id":"1386796271","filename":"file1"},{"photo_id":"1386796267","filename":"file0"},{"photo_id":"1386796282","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796285":["hashtag1","hashtag2"]},{"1386796267":["hashtag1","hashtag2"]},{"1386796282":["hashtag1","hashtag2"]},{"1386796284":["hashtag1","hashtag2"]},{"1386796278":["hashtag1","hashtag2"]},{"1386796271":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796285, 1386796267, 1386796282, 1386796284, 1386796278, 1386796271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.606268882751465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:45:03.379533
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_35_10741.jpg', 2), ('/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_24_9739.jpg', 2), ('/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_14_9723.jpg', 2), ('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_36_05_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_55_10732.jpg', 2), ('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_44_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_35_10741.jpg', '/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_24_9739.jpg', '/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_14_9723.jpg', '/home/nano/Desktop/images/29092025/19/35/image_29092025_19_36_05_9675.jpg', '/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_55_10732.jpg', '/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_44_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_35_10741.jpg
/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_24_9739.jpg
/home/nano/Desktop/images/29092025/19/36/image_29092025_19_36_14_9723.jpg
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_36_05_9675.jpg
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_55_10732.jpg
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_44_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796322","1386796310","1386796304","1386796327","1386796314","1386796317"],"photo_ids_order":["1386796304","1386796310","1386796314","1386796317","1386796322","1386796327"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ee4ad2ea4a83bd4304fb2f4a42dbaece.jpg","text":"TemporaryFile(/tmp/multipartBody412959842073148328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178765732,"filename":"image_29092025_19_35_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1dba4e94e80933d93036cef376c7f7d8.jpg","text":"TemporaryFile(/tmp/multipartBody763539859017607349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178765732,"filename":"image_29092025_19_36_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9f178291d241258b912cbf302084b469.jpg","text":"TemporaryFile(/tmp/multipartBody8355290537114644996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178765732,"filename":"image_29092025_19_36_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1be4d3439fc0a24b09b9b180c90da9c2.jpg","text":"TemporaryFile(/tmp/multipartBody6706008824291548639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178765732,"filename":"image_29092025_19_35_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/71a0248001a6e56aa9babc145a8e73ee.jpg","text":"TemporaryFile(/tmp/multipartBody4085097805960279362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178765732,"filename":"image_29092025_19_36_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3c321659968e51ae0942a1704fce6a41.jpg","text":"TemporaryFile(/tmp/multipartBody7545091173931690956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178765732,"filename":"image_29092025_19_36_05_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796314","file1":"1386796310","file0":"1386796304","file4":"1386796322","file5":"1386796327","file3":"1386796317"},"map_files_photo_id_array":[{"photo_id":"1386796327","filename":"file5"},{"photo_id":"1386796314","filename":"file2"},{"photo_id":"1386796322","filename":"file4"},{"photo_id":"1386796310","filename":"file1"},{"photo_id":"1386796304","filename":"file0"},{"photo_id":"1386796317","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796322":["hashtag1","hashtag2"]},{"1386796310":["hashtag1","hashtag2"]},{"1386796304":["hashtag1","hashtag2"]},{"1386796327":["hashtag1","hashtag2"]},{"1386796314":["hashtag1","hashtag2"]},{"1386796317":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796322, 1386796310, 1386796304, 1386796327, 1386796314, 1386796317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28064966201782 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:45:47.651024
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_35_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_25_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_14_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/19/34/image_29092025_19_35_04_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_55_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_44_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_35_9701.jpg', '/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_25_10651.jpg', '/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_14_9696.jpg', '/home/nano/Desktop/images/29092025/19/34/image_29092025_19_35_04_9695.jpg', '/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_55_10672.jpg', '/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_44_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_35_9701.jpg
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_25_10651.jpg
/home/nano/Desktop/images/29092025/19/35/image_29092025_19_35_14_9696.jpg
/home/nano/Desktop/images/29092025/19/34/image_29092025_19_35_04_9695.jpg
/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_55_10672.jpg
/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_44_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796348","1386796345","1386796485","1386796353","1386796341","1386796343"],"photo_ids_order":["1386796341","1386796343","1386796345","1386796348","1386796353","1386796485"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/84f0584d2e730cfb24fe5a5c82c8009d.jpg","text":"TemporaryFile(/tmp/multipartBody4187983896717048859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178809731,"filename":"image_29092025_19_35_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eba4cf2906ae9c33b0b3756fbd7e9b55.jpg","text":"TemporaryFile(/tmp/multipartBody3740604850615442543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178809731,"filename":"image_29092025_19_35_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/459f7687427d13dbf0ab27047a8cf305.jpg","text":"TemporaryFile(/tmp/multipartBody3952882499234873501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178809731,"filename":"image_29092025_19_34_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e6bd0d3a2f3302702817851ca8dcf397.jpg","text":"TemporaryFile(/tmp/multipartBody6877417413360504352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178809731,"filename":"image_29092025_19_34_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7201afa25b2c60a0b14520d824dc8bf1.jpg","text":"TemporaryFile(/tmp/multipartBody652703048307759901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178809731,"filename":"image_29092025_19_35_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/87125fed21b65816d264e7d89e45bcbf.jpg","text":"TemporaryFile(/tmp/multipartBody766214914603803082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178809731,"filename":"image_29092025_19_35_25_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796345","file1":"1386796343","file0":"1386796341","file4":"1386796353","file5":"1386796485","file3":"1386796348"},"map_files_photo_id_array":[{"photo_id":"1386796485","filename":"file5"},{"photo_id":"1386796345","filename":"file2"},{"photo_id":"1386796353","filename":"file4"},{"photo_id":"1386796343","filename":"file1"},{"photo_id":"1386796341","filename":"file0"},{"photo_id":"1386796348","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796348":["hashtag1","hashtag2"]},{"1386796345":["hashtag1","hashtag2"]},{"1386796485":["hashtag1","hashtag2"]},{"1386796353":["hashtag1","hashtag2"]},{"1386796341":["hashtag1","hashtag2"]},{"1386796343":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796348, 1386796345, 1386796485, 1386796353, 1386796341, 1386796343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1035270690918 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:46:32.738515
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_34_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_25_10701.jpg', 2), ('/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_14_9725.jpg', 2), ('/home/nano/Desktop/images/29092025/19/33/image_29092025_19_34_04_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_55_9636.jpg', 2), ('/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_45_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_34_9685.jpg', '/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_25_10701.jpg', '/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_14_9725.jpg', '/home/nano/Desktop/images/29092025/19/33/image_29092025_19_34_04_9702.jpg', '/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_55_9636.jpg', '/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_45_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_34_9685.jpg
/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_25_10701.jpg
/home/nano/Desktop/images/29092025/19/34/image_29092025_19_34_14_9725.jpg
/home/nano/Desktop/images/29092025/19/33/image_29092025_19_34_04_9702.jpg
/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_55_9636.jpg
/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_45_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796546","1386796574","1386796568","1386796562","1386796556","1386796550"],"photo_ids_order":["1386796546","1386796550","1386796556","1386796562","1386796568","1386796574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f4a91af4980e01a70a71c0840982c269.jpg","text":"TemporaryFile(/tmp/multipartBody4028354340304395354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178855018,"filename":"image_29092025_19_34_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4c5b4d8e0ec79f5b59c82d6201e4334a.jpg","text":"TemporaryFile(/tmp/multipartBody8825321368584445207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178855018,"filename":"image_29092025_19_33_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6bf6384c9d3b69024fdffdd67f0cdde0.jpg","text":"TemporaryFile(/tmp/multipartBody1247095382770927923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178855018,"filename":"image_29092025_19_33_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e12de758f30a22b95dc21727aa822ccb.jpg","text":"TemporaryFile(/tmp/multipartBody3807751252342475789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178855018,"filename":"image_29092025_19_34_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8389375c51c8601804ea9980861e8bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8700572450055393653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178855018,"filename":"image_29092025_19_34_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1354de7e32f914b0a49d32b3964fa1ce.jpg","text":"TemporaryFile(/tmp/multipartBody4306635805223000798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178855018,"filename":"image_29092025_19_34_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796556","file1":"1386796550","file0":"1386796546","file4":"1386796568","file5":"1386796574","file3":"1386796562"},"map_files_photo_id_array":[{"photo_id":"1386796574","filename":"file5"},{"photo_id":"1386796556","filename":"file2"},{"photo_id":"1386796568","filename":"file4"},{"photo_id":"1386796550","filename":"file1"},{"photo_id":"1386796546","filename":"file0"},{"photo_id":"1386796562","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796546":["hashtag1","hashtag2"]},{"1386796574":["hashtag1","hashtag2"]},{"1386796568":["hashtag1","hashtag2"]},{"1386796562":["hashtag1","hashtag2"]},{"1386796556":["hashtag1","hashtag2"]},{"1386796550":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796546, 1386796574, 1386796568, 1386796562, 1386796556, 1386796550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.267775774002075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:47:16.839029
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_25_10644.jpg', 2), ('/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_14_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/19/32/image_29092025_19_33_04_9638.jpg', 2), ('/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_55_10663.jpg', 2), ('/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_44_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_44_9660.jpg', '/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_25_10644.jpg', '/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_14_9650.jpg', '/home/nano/Desktop/images/29092025/19/32/image_29092025_19_33_04_9638.jpg', '/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_55_10663.jpg', '/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_44_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/41/image_29092025_22_41_44_9660.jpg
/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_25_10644.jpg
/home/nano/Desktop/images/29092025/19/33/image_29092025_19_33_14_9650.jpg
/home/nano/Desktop/images/29092025/19/32/image_29092025_19_33_04_9638.jpg
/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_55_10663.jpg
/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_44_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796597","1386796591","1386796603","1386796587","1386796612","1386796608"],"photo_ids_order":["1386796587","1386796591","1386796597","1386796603","1386796608","1386796612"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7b880ccde5384e95d007fb953bc64676.jpg","text":"TemporaryFile(/tmp/multipartBody5375603379685108279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178899009,"filename":"image_29092025_19_33_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/9/29/dc1f909897cab780571c1e206afd8961.jpg","text":"TemporaryFile(/tmp/multipartBody7602389210152286788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178899009,"filename":"image_29092025_19_33_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a44896c9c176275311f15e0d3de6fc02.jpg","text":"TemporaryFile(/tmp/multipartBody7235439114380854574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178899009,"filename":"image_29092025_19_33_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/9/29/f01416aef13aec9845eef4fe1f32d280.jpg","text":"TemporaryFile(/tmp/multipartBody8764909562644702442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178899009,"filename":"image_29092025_22_41_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2bec60c8edaec0045529edfcb7114932.jpg","text":"TemporaryFile(/tmp/multipartBody7838784001579725008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178899009,"filename":"image_29092025_19_32_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/01db5f76f2987632b1261125053fa9a0.jpg","text":"TemporaryFile(/tmp/multipartBody4061340911004595830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178899009,"filename":"image_29092025_19_32_55_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796597","file1":"1386796591","file0":"1386796587","file4":"1386796608","file5":"1386796612","file3":"1386796603"},"map_files_photo_id_array":[{"photo_id":"1386796612","filename":"file5"},{"photo_id":"1386796597","filename":"file2"},{"photo_id":"1386796608","filename":"file4"},{"photo_id":"1386796591","filename":"file1"},{"photo_id":"1386796587","filename":"file0"},{"photo_id":"1386796603","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796597":["hashtag1","hashtag2"]},{"1386796591":["hashtag1","hashtag2"]},{"1386796603":["hashtag1","hashtag2"]},{"1386796587":["hashtag1","hashtag2"]},{"1386796612":["hashtag1","hashtag2"]},{"1386796608":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796597, 1386796591, 1386796603, 1386796587, 1386796612, 1386796608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65215182304382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:48:02.450169
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_34_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_25_10680.jpg', 2), ('/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_14_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/19/31/image_29092025_19_32_04_9743.jpg', 2), ('/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_55_9778.jpg', 2), ('/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_45_10761.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_34_9648.jpg', '/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_25_10680.jpg', '/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_14_9675.jpg', '/home/nano/Desktop/images/29092025/19/31/image_29092025_19_32_04_9743.jpg', '/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_55_9778.jpg', '/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_45_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_34_9648.jpg
/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_25_10680.jpg
/home/nano/Desktop/images/29092025/19/32/image_29092025_19_32_14_9675.jpg
/home/nano/Desktop/images/29092025/19/31/image_29092025_19_32_04_9743.jpg
/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_55_9778.jpg
/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_45_10761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796657","1386796689","1386796650","1386796679","1386796682","1386796676"],"photo_ids_order":["1386796650","1386796657","1386796676","1386796679","1386796682","1386796689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bb2bc9a47af62c110f788e7944cd97c9.jpg","text":"TemporaryFile(/tmp/multipartBody3695993214586168900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178944700,"filename":"image_29092025_19_32_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/32aca44d96ad040c9b657701a9e8313f.jpg","text":"TemporaryFile(/tmp/multipartBody543514797968703802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178944700,"filename":"image_29092025_19_31_45_10761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/dd79bc06edc287a5071c5c5bce77287b.jpg","text":"TemporaryFile(/tmp/multipartBody5408600014913944385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178944700,"filename":"image_29092025_19_32_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/da754a6f0f3f5d43f62db10f124bf78a.jpg","text":"TemporaryFile(/tmp/multipartBody2237243886822386518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178944700,"filename":"image_29092025_19_32_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/550b8a10cc6559898cd7bc5317af7b77.jpg","text":"TemporaryFile(/tmp/multipartBody8368114555092022727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178944700,"filename":"image_29092025_19_31_55_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/724147039e16ca404466bee6cd18193a.jpg","text":"TemporaryFile(/tmp/multipartBody2170927225917952379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178944700,"filename":"image_29092025_19_32_14_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796676","file1":"1386796657","file0":"1386796650","file4":"1386796682","file5":"1386796689","file3":"1386796679"},"map_files_photo_id_array":[{"photo_id":"1386796689","filename":"file5"},{"photo_id":"1386796676","filename":"file2"},{"photo_id":"1386796682","filename":"file4"},{"photo_id":"1386796657","filename":"file1"},{"photo_id":"1386796650","filename":"file0"},{"photo_id":"1386796679","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796657":["hashtag1","hashtag2"]},{"1386796689":["hashtag1","hashtag2"]},{"1386796650":["hashtag1","hashtag2"]},{"1386796679":["hashtag1","hashtag2"]},{"1386796682":["hashtag1","hashtag2"]},{"1386796676":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796657, 1386796689, 1386796650, 1386796679, 1386796682, 1386796676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57627868652344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:48:46.928646
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_44_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_35_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_14_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/22/47/image_29092025_22_48_05_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/47/image_29092025_22_47_44_9630.jpg', 2), ('/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_34_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_44_9661.jpg', '/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_35_9662.jpg', '/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_14_9690.jpg', '/home/nano/Desktop/images/29092025/22/47/image_29092025_22_48_05_9673.jpg', '/home/nano/Desktop/images/29092025/22/47/image_29092025_22_47_44_9630.jpg', '/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_34_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_44_9661.jpg
/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_35_9662.jpg
/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_14_9690.jpg
/home/nano/Desktop/images/29092025/22/47/image_29092025_22_48_05_9673.jpg
/home/nano/Desktop/images/29092025/22/47/image_29092025_22_47_44_9630.jpg
/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_34_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796727","1386796712","1386796719","1386796721","1386796715","1386796724"],"photo_ids_order":["1386796712","1386796715","1386796719","1386796721","1386796724","1386796727"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f075a45c8ec3a9081ffd46d8aebbbb35.jpg","text":"TemporaryFile(/tmp/multipartBody6651699739269693295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178988882,"filename":"image_29092025_19_31_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c467ac798594117411273c255130bf05.jpg","text":"TemporaryFile(/tmp/multipartBody3941867279280681351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178988882,"filename":"image_29092025_22_48_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/77dfc78b1124ae8034b10fd163b49c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7506848713993546150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178988882,"filename":"image_29092025_22_48_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8e6819099b77dcec854bbee8264aebca.jpg","text":"TemporaryFile(/tmp/multipartBody782564876762913294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178988882,"filename":"image_29092025_22_48_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/528bba6288ff91d03bbf96c7a14b40d5.jpg","text":"TemporaryFile(/tmp/multipartBody7633006384578763542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178988882,"filename":"image_29092025_22_48_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e2b979249f3cfc8f14abb1857083a42a.jpg","text":"TemporaryFile(/tmp/multipartBody806435059429787045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178988882,"filename":"image_29092025_22_47_44_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796719","file1":"1386796715","file0":"1386796712","file4":"1386796724","file5":"1386796727","file3":"1386796721"},"map_files_photo_id_array":[{"photo_id":"1386796727","filename":"file5"},{"photo_id":"1386796719","filename":"file2"},{"photo_id":"1386796724","filename":"file4"},{"photo_id":"1386796715","filename":"file1"},{"photo_id":"1386796712","filename":"file0"},{"photo_id":"1386796721","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796727":["hashtag1","hashtag2"]},{"1386796712":["hashtag1","hashtag2"]},{"1386796719":["hashtag1","hashtag2"]},{"1386796721":["hashtag1","hashtag2"]},{"1386796715":["hashtag1","hashtag2"]},{"1386796724":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796727, 1386796712, 1386796719, 1386796721, 1386796715, 1386796724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84568977355957 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:49:32.033749
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_44_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_35_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_25_10679.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_14_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/22/48/image_29092025_22_49_05_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_55_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_44_9673.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_35_9670.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_25_10679.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_14_9685.jpg', '/home/nano/Desktop/images/29092025/22/48/image_29092025_22_49_05_9665.jpg', '/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_55_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_44_9673.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_35_9670.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_25_10679.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_14_9685.jpg
/home/nano/Desktop/images/29092025/22/48/image_29092025_22_49_05_9665.jpg
/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_55_10671.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.66294527053833 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:49:47.041140
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_44_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_35_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_25_10679.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_14_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/22/48/image_29092025_22_49_05_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_55_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_44_9673.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_35_9670.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_25_10679.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_14_9685.jpg', '/home/nano/Desktop/images/29092025/22/48/image_29092025_22_49_05_9665.jpg', '/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_55_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_44_9673.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_35_9670.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_25_10679.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_14_9685.jpg
/home/nano/Desktop/images/29092025/22/48/image_29092025_22_49_05_9665.jpg
/home/nano/Desktop/images/29092025/22/48/image_29092025_22_48_55_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796795","1386796791","1386796773","1386796779","1386796784","1386796787"],"photo_ids_order":["1386796773","1386796779","1386796784","1386796787","1386796791","1386796795"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c38b5909bb413ee009147ca8562deeed.jpg","text":"TemporaryFile(/tmp/multipartBody2030345314548772570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179048909,"filename":"image_29092025_22_48_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f3b5a75e5fdbbfd3da5358b291853625.jpg","text":"TemporaryFile(/tmp/multipartBody7732221522393040247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179048909,"filename":"image_29092025_22_49_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2322eb47b26d59080d32906940a09f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3981089050547434460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179048909,"filename":"image_29092025_22_49_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b6ed9b963f73b5ddf755dbbe068fdf0a.jpg","text":"TemporaryFile(/tmp/multipartBody2819016116535971518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179048909,"filename":"image_29092025_22_49_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/be2710dbcafb1391c8592611796a7d47.jpg","text":"TemporaryFile(/tmp/multipartBody1977240370256667870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179048909,"filename":"image_29092025_22_49_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/98d8b875d44b4f5abe8fee12db323ad7.jpg","text":"TemporaryFile(/tmp/multipartBody2658322000892889492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179048909,"filename":"image_29092025_22_49_14_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796784","file1":"1386796779","file0":"1386796773","file4":"1386796791","file5":"1386796795","file3":"1386796787"},"map_files_photo_id_array":[{"photo_id":"1386796795","filename":"file5"},{"photo_id":"1386796784","filename":"file2"},{"photo_id":"1386796791","filename":"file4"},{"photo_id":"1386796779","filename":"file1"},{"photo_id":"1386796773","filename":"file0"},{"photo_id":"1386796787","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796795":["hashtag1","hashtag2"]},{"1386796791":["hashtag1","hashtag2"]},{"1386796773":["hashtag1","hashtag2"]},{"1386796779":["hashtag1","hashtag2"]},{"1386796784":["hashtag1","hashtag2"]},{"1386796787":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796795, 1386796791, 1386796773, 1386796779, 1386796784, 1386796787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98871064186096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:50:32.132047
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_44_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_35_10679.jpg', 2), ('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_24_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_14_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_50_05_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_54_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_44_9668.jpg', '/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_35_10679.jpg', '/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_24_9668.jpg', '/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_14_9695.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_50_05_10683.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_54_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_44_9668.jpg
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_35_10679.jpg
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_24_9668.jpg
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_14_9695.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_50_05_10683.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_54_9674.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7333486080169678 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:50:47.135968
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_44_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_35_10679.jpg', 2), ('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_24_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_14_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_50_05_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_54_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_44_9668.jpg', '/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_35_10679.jpg', '/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_24_9668.jpg', '/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_14_9695.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_50_05_10683.jpg', '/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_54_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_44_9668.jpg
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_35_10679.jpg
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_24_9668.jpg
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_14_9695.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_50_05_10683.jpg
/home/nano/Desktop/images/29092025/22/49/image_29092025_22_49_54_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796855","1386796837","1386796846","1386796842","1386796851","1386796833"],"photo_ids_order":["1386796833","1386796837","1386796842","1386796846","1386796851","1386796855"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ece8b7933be1f0b36cf1c08af0a289a2.jpg","text":"TemporaryFile(/tmp/multipartBody1289155084977060963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179108920,"filename":"image_29092025_22_49_54_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0e2a32dfc15ac741353055a800b8dc74.jpg","text":"TemporaryFile(/tmp/multipartBody4347897633024053833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179108920,"filename":"image_29092025_22_50_35_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4a7e879e70285c48a443956c23ab9940.jpg","text":"TemporaryFile(/tmp/multipartBody1528191300829264039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179108920,"filename":"image_29092025_22_50_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/05f6a69f5ae7f6026f0bd1f96fc45788.jpg","text":"TemporaryFile(/tmp/multipartBody7139011383704982508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179108920,"filename":"image_29092025_22_50_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/72882a5c1af9fc6f8c43f0199ec0e347.jpg","text":"TemporaryFile(/tmp/multipartBody45781399799123282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179108920,"filename":"image_29092025_22_50_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6390839cdab1a9f4a1ff87584e81430c.jpg","text":"TemporaryFile(/tmp/multipartBody7737353972395856588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179108920,"filename":"image_29092025_22_50_44_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796842","file1":"1386796837","file0":"1386796833","file4":"1386796851","file5":"1386796855","file3":"1386796846"},"map_files_photo_id_array":[{"photo_id":"1386796855","filename":"file5"},{"photo_id":"1386796842","filename":"file2"},{"photo_id":"1386796851","filename":"file4"},{"photo_id":"1386796837","filename":"file1"},{"photo_id":"1386796833","filename":"file0"},{"photo_id":"1386796846","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796855":["hashtag1","hashtag2"]},{"1386796837":["hashtag1","hashtag2"]},{"1386796846":["hashtag1","hashtag2"]},{"1386796842":["hashtag1","hashtag2"]},{"1386796851":["hashtag1","hashtag2"]},{"1386796833":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796855, 1386796837, 1386796846, 1386796842, 1386796851, 1386796833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95984768867493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:51:32.247264
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_44_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_35_10680.jpg', 2), ('/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_24_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_14_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_51_05_10686.jpg', 2), ('/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_54_9671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_44_9658.jpg', '/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_35_10680.jpg', '/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_24_9672.jpg', '/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_14_9716.jpg', '/home/nano/Desktop/images/29092025/22/50/image_29092025_22_51_05_10686.jpg', '/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_54_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_44_9658.jpg
/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_35_10680.jpg
/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_24_9672.jpg
/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_14_9716.jpg
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_51_05_10686.jpg
/home/nano/Desktop/images/29092025/22/50/image_29092025_22_50_54_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796875","1386796878","1386796889","1386796883","1386796892","1386796886"],"photo_ids_order":["1386796875","1386796878","1386796883","1386796886","1386796889","1386796892"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/30e5ea974e123900f76bd35a14dd010b.jpg","text":"TemporaryFile(/tmp/multipartBody8069257296334098005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179154135,"filename":"image_29092025_22_51_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ae8386635a9181e9e35f78efd2590dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7695478134031495809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179154135,"filename":"image_29092025_22_51_35_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6eec00eb61935ed9e3de3be5c3d7cc05.jpg","text":"TemporaryFile(/tmp/multipartBody8725548057853046394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179154135,"filename":"image_29092025_22_51_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/01a5757aaf4440908c9cc5648ab31b8d.jpg","text":"TemporaryFile(/tmp/multipartBody7816786265974487905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179154135,"filename":"image_29092025_22_51_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/25f94c87b5349818c88f02eec2fc5fc7.jpg","text":"TemporaryFile(/tmp/multipartBody8837986999653160734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179154135,"filename":"image_29092025_22_50_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/43a8e2e64f55d321a57a153557a921c6.jpg","text":"TemporaryFile(/tmp/multipartBody3748957435890133604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179154135,"filename":"image_29092025_22_51_14_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796883","file1":"1386796878","file0":"1386796875","file4":"1386796889","file5":"1386796892","file3":"1386796886"},"map_files_photo_id_array":[{"photo_id":"1386796892","filename":"file5"},{"photo_id":"1386796883","filename":"file2"},{"photo_id":"1386796889","filename":"file4"},{"photo_id":"1386796878","filename":"file1"},{"photo_id":"1386796875","filename":"file0"},{"photo_id":"1386796886","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796875":["hashtag1","hashtag2"]},{"1386796878":["hashtag1","hashtag2"]},{"1386796889":["hashtag1","hashtag2"]},{"1386796883":["hashtag1","hashtag2"]},{"1386796892":["hashtag1","hashtag2"]},{"1386796886":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796875, 1386796878, 1386796889, 1386796883, 1386796892, 1386796886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25207543373108 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:52:17.367273
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_44_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_35_10671.jpg', 2), ('/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_24_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_14_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/22/51/image_29092025_22_52_05_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_54_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_44_9662.jpg', '/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_35_10671.jpg', '/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_24_9662.jpg', '/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_14_9674.jpg', '/home/nano/Desktop/images/29092025/22/51/image_29092025_22_52_05_10681.jpg', '/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_54_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_44_9662.jpg
/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_35_10671.jpg
/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_24_9662.jpg
/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_14_9674.jpg
/home/nano/Desktop/images/29092025/22/51/image_29092025_22_52_05_10681.jpg
/home/nano/Desktop/images/29092025/22/51/image_29092025_22_51_54_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":["1386796944","1386796917","1386796932","1386796911","1386796940","1386796937"],"photo_ids_order":["1386796911","1386796917","1386796932","1386796937","1386796940","1386796944"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/721f34e78510dad9264dee88efc428d4.jpg","text":"TemporaryFile(/tmp/multipartBody8088342182331376841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179199503,"filename":"image_29092025_22_51_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6050662efa91fc1ca5e70fe70b3324f2.jpg","text":"TemporaryFile(/tmp/multipartBody5829360100490187897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179199503,"filename":"image_29092025_22_52_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/089f24ff97ac1bbc9f7258a0c7f04550.jpg","text":"TemporaryFile(/tmp/multipartBody2985628258118778703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179199503,"filename":"image_29092025_22_52_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/9/29/96be3d0de641067b3e71e5c92822a94e.jpg","text":"TemporaryFile(/tmp/multipartBody6719490790070243326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179199503,"filename":"image_29092025_22_52_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/686b71ea290d8ac16c1e62b42f1ab2b3.jpg","text":"TemporaryFile(/tmp/multipartBody6261068192047619502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179199503,"filename":"image_29092025_22_52_05_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2b6e6ae3d14ac854cd43ced1d0caf0e6.jpg","text":"TemporaryFile(/tmp/multipartBody1284445499997970663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179199503,"filename":"image_29092025_22_52_14_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796932","file1":"1386796917","file0":"1386796911","file4":"1386796940","file5":"1386796944","file3":"1386796937"},"map_files_photo_id_array":[{"photo_id":"1386796944","filename":"file5"},{"photo_id":"1386796932","filename":"file2"},{"photo_id":"1386796940","filename":"file4"},{"photo_id":"1386796917","filename":"file1"},{"photo_id":"1386796911","filename":"file0"},{"photo_id":"1386796937","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796944":["hashtag1","hashtag2"]},{"1386796917":["hashtag1","hashtag2"]},{"1386796932":["hashtag1","hashtag2"]},{"1386796911":["hashtag1","hashtag2"]},{"1386796940":["hashtag1","hashtag2"]},{"1386796937":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796944, 1386796917, 1386796932, 1386796911, 1386796940, 1386796937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41440296173096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:53:03.243735
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_24_9739.jpg', 2), ('/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_15_10685.jpg', 2), ('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_31_04_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_54_9757.jpg', 2), ('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_45_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_35_10727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_24_9739.jpg', '/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_15_10685.jpg', '/home/nano/Desktop/images/29092025/19/30/image_29092025_19_31_04_9682.jpg', '/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_54_9757.jpg', '/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_45_9653.jpg', '/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_35_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_24_9739.jpg
/home/nano/Desktop/images/29092025/19/31/image_29092025_19_31_15_10685.jpg
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_31_04_9682.jpg
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_54_9757.jpg
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_45_9653.jpg
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_35_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386796972","1386796957","1386796965","1386796968","1386796977","1386796962"],"photo_ids_order":["1386796957","1386796962","1386796965","1386796968","1386796972","1386796977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1b4d7a3452f1d128aeb42e84506047e8.jpg","text":"TemporaryFile(/tmp/multipartBody5188907988533480782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179245151,"filename":"image_29092025_19_30_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a11714df407a7429615707ab487f882e.jpg","text":"TemporaryFile(/tmp/multipartBody6713897978455480994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179245151,"filename":"image_29092025_19_31_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c71fb0e559b9c341945461bb77b52260.jpg","text":"TemporaryFile(/tmp/multipartBody7428404024773126996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179245151,"filename":"image_29092025_19_31_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9f907e0519e5589e3d5c81a36f6138f0.jpg","text":"TemporaryFile(/tmp/multipartBody8328534012250378621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179245151,"filename":"image_29092025_19_30_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1f3b6c18bf891a0596eec17403f109a7.jpg","text":"TemporaryFile(/tmp/multipartBody3834384774095442141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179245151,"filename":"image_29092025_19_30_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fb882532738bdef31889557cd9e028c9.jpg","text":"TemporaryFile(/tmp/multipartBody5307555115261315855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179245151,"filename":"image_29092025_19_31_15_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796965","file1":"1386796962","file0":"1386796957","file4":"1386796972","file5":"1386796977","file3":"1386796968"},"map_files_photo_id_array":[{"photo_id":"1386796977","filename":"file5"},{"photo_id":"1386796965","filename":"file2"},{"photo_id":"1386796972","filename":"file4"},{"photo_id":"1386796962","filename":"file1"},{"photo_id":"1386796957","filename":"file0"},{"photo_id":"1386796968","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386796972":["hashtag1","hashtag2"]},{"1386796957":["hashtag1","hashtag2"]},{"1386796965":["hashtag1","hashtag2"]},{"1386796968":["hashtag1","hashtag2"]},{"1386796977":["hashtag1","hashtag2"]},{"1386796962":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386796972, 1386796957, 1386796965, 1386796968, 1386796977, 1386796962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.598777770996094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:53:47.462470
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_35_10687.jpg', 2), ('/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_24_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/22/52/image_29092025_22_53_05_10684.jpg', 2), ('/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_54_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_24_9734.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_35_10687.jpg', '/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_24_9658.jpg', '/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_14_9686.jpg', '/home/nano/Desktop/images/29092025/22/52/image_29092025_22_53_05_10684.jpg', '/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_54_9664.jpg', '/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_24_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_35_10687.jpg
/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_24_9658.jpg
/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_14_9686.jpg
/home/nano/Desktop/images/29092025/22/52/image_29092025_22_53_05_10684.jpg
/home/nano/Desktop/images/29092025/22/52/image_29092025_22_52_54_9664.jpg
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_24_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797050","1386797037","1386797022","1386797025","1386797019","1386797054"],"photo_ids_order":["1386797019","1386797022","1386797025","1386797037","1386797050","1386797054"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/95bb6aea0a9a644d40093d97e41d8797.jpg","text":"TemporaryFile(/tmp/multipartBody5063536561624799090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179289597,"filename":"image_29092025_22_52_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/376ee60e5a0151ecf86eafdad6bc8f57.jpg","text":"TemporaryFile(/tmp/multipartBody3750165397558988809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179289597,"filename":"image_29092025_22_53_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/79e6f560633667d48f64e3e28edfeceb.jpg","text":"TemporaryFile(/tmp/multipartBody7203776495769685906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179289597,"filename":"image_29092025_22_53_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/9/29/4d23ed9f123123fcc8cdd17e4baf15b1.jpg","text":"TemporaryFile(/tmp/multipartBody3221106587858854500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179289597,"filename":"image_29092025_22_53_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/9/29/d5f7576a78fd696eeac075ed0a344181.jpg","text":"TemporaryFile(/tmp/multipartBody3879797033649887904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179289597,"filename":"image_29092025_22_53_35_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/655ba4f47b12dc2f91333830101d3d10.jpg","text":"TemporaryFile(/tmp/multipartBody7207911373976972588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179289597,"filename":"image_29092025_19_30_24_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797025","file1":"1386797022","file0":"1386797019","file4":"1386797050","file5":"1386797054","file3":"1386797037"},"map_files_photo_id_array":[{"photo_id":"1386797054","filename":"file5"},{"photo_id":"1386797025","filename":"file2"},{"photo_id":"1386797050","filename":"file4"},{"photo_id":"1386797022","filename":"file1"},{"photo_id":"1386797019","filename":"file0"},{"photo_id":"1386797037","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797050":["hashtag1","hashtag2"]},{"1386797037":["hashtag1","hashtag2"]},{"1386797022":["hashtag1","hashtag2"]},{"1386797025":["hashtag1","hashtag2"]},{"1386797019":["hashtag1","hashtag2"]},{"1386797054":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797050, 1386797037, 1386797022, 1386797025, 1386797019, 1386797054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19403696060181 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:54:32.578529
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_45_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_35_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_24_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_15_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/22/53/image_29092025_22_54_05_10682.jpg', 2), ('/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_54_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_45_9661.jpg', '/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_35_10672.jpg', '/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_24_9663.jpg', '/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_15_9686.jpg', '/home/nano/Desktop/images/29092025/22/53/image_29092025_22_54_05_10682.jpg', '/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_54_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_45_9661.jpg
/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_35_10672.jpg
/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_24_9663.jpg
/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_15_9686.jpg
/home/nano/Desktop/images/29092025/22/53/image_29092025_22_54_05_10682.jpg
/home/nano/Desktop/images/29092025/22/53/image_29092025_22_53_54_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":["1386797122","1386797116","1386797131","1386797119","1386797126","1386797129"],"photo_ids_order":["1386797116","1386797119","1386797122","1386797126","1386797129","1386797131"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bacfb922a7d79372d1ac0b9778d38d85.jpg","text":"TemporaryFile(/tmp/multipartBody22700589712861481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179334437,"filename":"image_29092025_22_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/9/29/f76314b9e2cccf3625daa637e1575e88.jpg","text":"TemporaryFile(/tmp/multipartBody1112199856319530821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179334437,"filename":"image_29092025_22_54_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ec250bf09699134abd409ea1402a9866.jpg","text":"TemporaryFile(/tmp/multipartBody6647366620935081786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179334437,"filename":"image_29092025_22_53_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/baac74f217943cda56f65b5c416813b5.jpg","text":"TemporaryFile(/tmp/multipartBody1688646583651135174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179334437,"filename":"image_29092025_22_54_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d58a04fd90fdf25d5e6623e80acd6e9a.jpg","text":"TemporaryFile(/tmp/multipartBody6065433528347154480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179334437,"filename":"image_29092025_22_54_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8b7347ba7b4f11ba346f3810628746af.jpg","text":"TemporaryFile(/tmp/multipartBody4425043599356955032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179334437,"filename":"image_29092025_22_54_05_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797122","file1":"1386797119","file0":"1386797116","file4":"1386797129","file5":"1386797131","file3":"1386797126"},"map_files_photo_id_array":[{"photo_id":"1386797131","filename":"file5"},{"photo_id":"1386797122","filename":"file2"},{"photo_id":"1386797129","filename":"file4"},{"photo_id":"1386797119","filename":"file1"},{"photo_id":"1386797116","filename":"file0"},{"photo_id":"1386797126","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797122":["hashtag1","hashtag2"]},{"1386797116":["hashtag1","hashtag2"]},{"1386797131":["hashtag1","hashtag2"]},{"1386797119":["hashtag1","hashtag2"]},{"1386797126":["hashtag1","hashtag2"]},{"1386797129":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797122, 1386797116, 1386797131, 1386797119, 1386797126, 1386797129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38266444206238 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:55:17.680516
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_45_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_35_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_24_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_15_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/22/54/image_29092025_22_55_05_10691.jpg', 2), ('/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_54_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_45_9663.jpg', '/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_35_10674.jpg', '/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_24_9662.jpg', '/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_15_9689.jpg', '/home/nano/Desktop/images/29092025/22/54/image_29092025_22_55_05_10691.jpg', '/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_54_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_45_9663.jpg
/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_35_10674.jpg
/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_24_9662.jpg
/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_15_9689.jpg
/home/nano/Desktop/images/29092025/22/54/image_29092025_22_55_05_10691.jpg
/home/nano/Desktop/images/29092025/22/54/image_29092025_22_54_54_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797155","1386797149","1386797164","1386797172","1386797160","1386797168"],"photo_ids_order":["1386797149","1386797155","1386797160","1386797164","1386797168","1386797172"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e7c24892f058c72431076c0cae0a813b.jpg","text":"TemporaryFile(/tmp/multipartBody1325587907366754710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179379411,"filename":"image_29092025_22_55_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/be3c6aeb483eade42ddc7105cef45ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2300933196228934365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179379411,"filename":"image_29092025_22_55_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c98e2fa84673a7debebf664039191650.jpg","text":"TemporaryFile(/tmp/multipartBody2568090059960856258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179379411,"filename":"image_29092025_22_55_15_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bc8090ac190afeb1764b541beda80fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8015862064443082481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179379411,"filename":"image_29092025_22_54_54_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2cd41519e62e1716688057ef33f3aa36.jpg","text":"TemporaryFile(/tmp/multipartBody2796562319958506875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179379411,"filename":"image_29092025_22_55_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/9/29/18264d17af7594955f5f922f2640f681.jpg","text":"TemporaryFile(/tmp/multipartBody4761395434865849727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179379411,"filename":"image_29092025_22_55_05_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797160","file1":"1386797155","file0":"1386797149","file4":"1386797168","file5":"1386797172","file3":"1386797164"},"map_files_photo_id_array":[{"photo_id":"1386797172","filename":"file5"},{"photo_id":"1386797160","filename":"file2"},{"photo_id":"1386797168","filename":"file4"},{"photo_id":"1386797155","filename":"file1"},{"photo_id":"1386797149","filename":"file0"},{"photo_id":"1386797164","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797155":["hashtag1","hashtag2"]},{"1386797149":["hashtag1","hashtag2"]},{"1386797164":["hashtag1","hashtag2"]},{"1386797172":["hashtag1","hashtag2"]},{"1386797160":["hashtag1","hashtag2"]},{"1386797168":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797155, 1386797149, 1386797164, 1386797172, 1386797160, 1386797168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10317921638489 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:56:02.299463
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_14_9817.jpg', 2), ('/home/nano/Desktop/images/29092025/19/29/image_29092025_19_30_05_9797.jpg', 2), ('/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_55_10651.jpg', 2), ('/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_44_9731.jpg', 2), ('/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_34_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_25_10713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_14_9817.jpg', '/home/nano/Desktop/images/29092025/19/29/image_29092025_19_30_05_9797.jpg', '/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_55_10651.jpg', '/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_44_9731.jpg', '/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_34_9642.jpg', '/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_25_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/30/image_29092025_19_30_14_9817.jpg
/home/nano/Desktop/images/29092025/19/29/image_29092025_19_30_05_9797.jpg
/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_55_10651.jpg
/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_44_9731.jpg
/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_34_9642.jpg
/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_25_10713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797215","1386797196","1386797190","1386797208","1386797202","1386797186"],"photo_ids_order":["1386797186","1386797190","1386797196","1386797202","1386797208","1386797215"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fd2755a0ecb7196467822e3488f43c61.jpg","text":"TemporaryFile(/tmp/multipartBody1343271506761724189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179424289,"filename":"image_29092025_19_29_25_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/00e86bc0eab70cdf65964211d4729bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3895764771735583231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179424289,"filename":"image_29092025_19_29_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f01ff5703a2d212d748e8336cd56af1d.jpg","text":"TemporaryFile(/tmp/multipartBody4288218984505782981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179424289,"filename":"image_29092025_19_30_05_9797.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/15155ddcb8c795cf880c1b1e3b37b774.jpg","text":"TemporaryFile(/tmp/multipartBody4818273186803570422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179424289,"filename":"image_29092025_19_29_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/9/29/624e8e87acef7dd410e9e0f205442b7a.jpg","text":"TemporaryFile(/tmp/multipartBody885629641690270181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179424289,"filename":"image_29092025_19_29_44_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9664e8acfe21dad6c298413e90cd76ac.jpg","text":"TemporaryFile(/tmp/multipartBody4933315469699975859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179424289,"filename":"image_29092025_19_30_14_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797196","file1":"1386797190","file0":"1386797186","file4":"1386797208","file5":"1386797215","file3":"1386797202"},"map_files_photo_id_array":[{"photo_id":"1386797215","filename":"file5"},{"photo_id":"1386797196","filename":"file2"},{"photo_id":"1386797208","filename":"file4"},{"photo_id":"1386797190","filename":"file1"},{"photo_id":"1386797186","filename":"file0"},{"photo_id":"1386797202","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797215":["hashtag1","hashtag2"]},{"1386797196":["hashtag1","hashtag2"]},{"1386797190":["hashtag1","hashtag2"]},{"1386797208":["hashtag1","hashtag2"]},{"1386797202":["hashtag1","hashtag2"]},{"1386797186":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797215, 1386797196, 1386797190, 1386797208, 1386797202, 1386797186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.106882095336914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:56:46.778245
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_45_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_35_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_24_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_15_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/22/55/image_29092025_22_56_05_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_54_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_45_9660.jpg', '/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_35_10673.jpg', '/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_24_9665.jpg', '/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_15_9681.jpg', '/home/nano/Desktop/images/29092025/22/55/image_29092025_22_56_05_10676.jpg', '/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_45_9660.jpg
/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_35_10673.jpg
/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_24_9665.jpg
/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_15_9681.jpg
/home/nano/Desktop/images/29092025/22/55/image_29092025_22_56_05_10676.jpg
/home/nano/Desktop/images/29092025/22/55/image_29092025_22_55_54_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797281","1386797224","1386797286","1386797291","1386797273","1386797276"],"photo_ids_order":["1386797224","1386797273","1386797276","1386797281","1386797286","1386797291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a99a3a6c990422cb72c4fc9da308ed3b.jpg","text":"TemporaryFile(/tmp/multipartBody2692390628517589420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179468612,"filename":"image_29092025_22_56_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/00bede4fce3c883e1ddabcc5fff21027.jpg","text":"TemporaryFile(/tmp/multipartBody6998573425422106994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179468612,"filename":"image_29092025_22_56_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6b8c0ff23ee164e0fafcb34097295efd.jpg","text":"TemporaryFile(/tmp/multipartBody3586319344484948148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179468612,"filename":"image_29092025_22_56_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a996d91cbdd2e3e5a00fed747ef646c7.jpg","text":"TemporaryFile(/tmp/multipartBody7044627873141026564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179468612,"filename":"image_29092025_22_55_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/95f7af6d8ee4918824467debab7ef955.jpg","text":"TemporaryFile(/tmp/multipartBody6551013939809862580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179468612,"filename":"image_29092025_22_56_35_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b66c5f6157c0e87c86968411e85fdf8a.jpg","text":"TemporaryFile(/tmp/multipartBody6592163941961036976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179468612,"filename":"image_29092025_22_56_24_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797276","file1":"1386797273","file0":"1386797224","file4":"1386797286","file5":"1386797291","file3":"1386797281"},"map_files_photo_id_array":[{"photo_id":"1386797291","filename":"file5"},{"photo_id":"1386797276","filename":"file2"},{"photo_id":"1386797286","filename":"file4"},{"photo_id":"1386797273","filename":"file1"},{"photo_id":"1386797224","filename":"file0"},{"photo_id":"1386797281","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797281":["hashtag1","hashtag2"]},{"1386797224":["hashtag1","hashtag2"]},{"1386797286":["hashtag1","hashtag2"]},{"1386797291":["hashtag1","hashtag2"]},{"1386797273":["hashtag1","hashtag2"]},{"1386797276":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797281, 1386797224, 1386797286, 1386797291, 1386797273, 1386797276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22069430351257 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:57:31.884299
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_45_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_24_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_15_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/22/56/image_29092025_22_57_05_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_54_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_45_10668.jpg', '/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_34_9658.jpg', '/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_24_9677.jpg', '/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_15_9667.jpg', '/home/nano/Desktop/images/29092025/22/56/image_29092025_22_57_05_10678.jpg', '/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_54_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_45_10668.jpg
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_34_9658.jpg
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_24_9677.jpg
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_15_9667.jpg
/home/nano/Desktop/images/29092025/22/56/image_29092025_22_57_05_10678.jpg
/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_54_9662.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:58:02.492119
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_45_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_34_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_24_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_15_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/22/56/image_29092025_22_57_05_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_54_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_45_10668.jpg', '/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_34_9658.jpg', '/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_24_9677.jpg', '/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_15_9667.jpg', '/home/nano/Desktop/images/29092025/22/56/image_29092025_22_57_05_10678.jpg', '/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_54_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_45_10668.jpg
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_34_9658.jpg
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_24_9677.jpg
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_15_9667.jpg
/home/nano/Desktop/images/29092025/22/56/image_29092025_22_57_05_10678.jpg
/home/nano/Desktop/images/29092025/22/56/image_29092025_22_56_54_9662.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797374","1386797368","1386797376","1386797378","1386797371","1386797365"],"photo_ids_order":["1386797365","1386797368","1386797371","1386797374","1386797376","1386797378"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ac9a986e079ea563641c9dab96153730.jpg","text":"TemporaryFile(/tmp/multipartBody3938593493447649078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179544371,"filename":"image_29092025_22_57_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bbdc23222aef045f56f308c185c46086.jpg","text":"TemporaryFile(/tmp/multipartBody211351508774912441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179544371,"filename":"image_29092025_22_57_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/9/29/8eb5e693239e98605bdffc203a405488.jpg","text":"TemporaryFile(/tmp/multipartBody4354502477513273132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179544371,"filename":"image_29092025_22_57_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/090d740329f25905c6266a05bec6c622.jpg","text":"TemporaryFile(/tmp/multipartBody7625517436099453789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179544371,"filename":"image_29092025_22_56_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/26325d41f65c06ea0e9e1f494c21ca95.jpg","text":"TemporaryFile(/tmp/multipartBody3545165703909529566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179544371,"filename":"image_29092025_22_57_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/54fd5b2bc82a8550b7d29bb48bc6a418.jpg","text":"TemporaryFile(/tmp/multipartBody8798322663987466836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179544371,"filename":"image_29092025_22_57_45_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797371","file1":"1386797368","file0":"1386797365","file4":"1386797376","file5":"1386797378","file3":"1386797374"},"map_files_photo_id_array":[{"photo_id":"1386797378","filename":"file5"},{"photo_id":"1386797371","filename":"file2"},{"photo_id":"1386797376","filename":"file4"},{"photo_id":"1386797368","filename":"file1"},{"photo_id":"1386797365","filename":"file0"},{"photo_id":"1386797374","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797374":["hashtag1","hashtag2"]},{"1386797368":["hashtag1","hashtag2"]},{"1386797376":["hashtag1","hashtag2"]},{"1386797378":["hashtag1","hashtag2"]},{"1386797371":["hashtag1","hashtag2"]},{"1386797365":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797374, 1386797368, 1386797376, 1386797378, 1386797371, 1386797365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.351962089538574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:59:03.736980
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_45_10667.jpg', 2), ('/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_34_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_24_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_15_10695.jpg', 2), ('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_58_04_9689.jpg', 2), ('/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_54_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_45_10667.jpg', '/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_34_9660.jpg', '/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_24_9661.jpg', '/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_15_10695.jpg', '/home/nano/Desktop/images/29092025/22/57/image_29092025_22_58_04_9689.jpg', '/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_54_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_45_10667.jpg
/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_34_9660.jpg
/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_24_9661.jpg
/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_15_10695.jpg
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_58_04_9689.jpg
/home/nano/Desktop/images/29092025/22/57/image_29092025_22_57_54_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":["1386797422","1386797416","1386797429","1386797398","1386797392","1386797386"],"photo_ids_order":["1386797386","1386797392","1386797398","1386797416","1386797422","1386797429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/633d26d85eddd37547acb45755b96099.jpg","text":"TemporaryFile(/tmp/multipartBody743461205614741913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179605516,"filename":"image_29092025_22_58_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7041558ed1ce95480e7c0a3e89f02cc7.jpg","text":"TemporaryFile(/tmp/multipartBody2336328868630481672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179605516,"filename":"image_29092025_22_58_15_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/72f37114eaf7423d8437f50908a77af9.jpg","text":"TemporaryFile(/tmp/multipartBody9173389284950557337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179605516,"filename":"image_29092025_22_57_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bd72014a70bc1e5f0f984f0b805f647d.jpg","text":"TemporaryFile(/tmp/multipartBody80756712037426235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179605516,"filename":"image_29092025_22_58_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/9/29/e9b587e647e25008e8d41f8bdd41766f.jpg","text":"TemporaryFile(/tmp/multipartBody4405170883517690324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179605516,"filename":"image_29092025_22_58_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/9/29/a13d747b2d470c468122a00166f7b5a0.jpg","text":"TemporaryFile(/tmp/multipartBody8820492609785943123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179605516,"filename":"image_29092025_22_58_45_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797398","file1":"1386797392","file0":"1386797386","file4":"1386797422","file5":"1386797429","file3":"1386797416"},"map_files_photo_id_array":[{"photo_id":"1386797429","filename":"file5"},{"photo_id":"1386797398","filename":"file2"},{"photo_id":"1386797422","filename":"file4"},{"photo_id":"1386797392","filename":"file1"},{"photo_id":"1386797386","filename":"file0"},{"photo_id":"1386797416","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797422":["hashtag1","hashtag2"]},{"1386797416":["hashtag1","hashtag2"]},{"1386797429":["hashtag1","hashtag2"]},{"1386797398":["hashtag1","hashtag2"]},{"1386797392":["hashtag1","hashtag2"]},{"1386797386":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797422, 1386797416, 1386797429, 1386797398, 1386797392, 1386797386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79775023460388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 22:59:47.657089
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_45_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_34_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_24_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_15_10688.jpg', 2), ('/home/nano/Desktop/images/29092025/22/58/image_29092025_22_59_04_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_45_10669.jpg', '/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_34_9659.jpg', '/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_24_9660.jpg', '/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_15_10688.jpg', '/home/nano/Desktop/images/29092025/22/58/image_29092025_22_59_04_9679.jpg', '/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_45_10669.jpg
/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_34_9659.jpg
/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_24_9660.jpg
/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_15_10688.jpg
/home/nano/Desktop/images/29092025/22/58/image_29092025_22_59_04_9679.jpg
/home/nano/Desktop/images/29092025/22/58/image_29092025_22_58_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":["1386797481","1386797523","1386797520","1386797546","1386797528","1386797441"],"photo_ids_order":["1386797441","1386797481","1386797520","1386797523","1386797528","1386797546"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/09e641c9cc89a82e0505fe20c394e7c8.jpg","text":"TemporaryFile(/tmp/multipartBody6946096990763103205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179649605,"filename":"image_29092025_22_59_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1134981035252e7e9463675440879afa.jpg","text":"TemporaryFile(/tmp/multipartBody6600018780782227434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179649605,"filename":"image_29092025_22_59_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b822d52cdd147505060330e038e74744.jpg","text":"TemporaryFile(/tmp/multipartBody3990406721781373265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179649605,"filename":"image_29092025_22_59_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/9/29/55f9c9bb9b7cb9a4fc1d0b840be7f2b4.jpg","text":"TemporaryFile(/tmp/multipartBody8012533321559794648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179649605,"filename":"image_29092025_22_58_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/9/29/18d45fc77c710cafc86dd400925456b7.jpg","text":"TemporaryFile(/tmp/multipartBody6671582738678946153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179649605,"filename":"image_29092025_22_59_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f306309142924c8ade41e2b57cc88a9d.jpg","text":"TemporaryFile(/tmp/multipartBody8456672426032789442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179649605,"filename":"image_29092025_22_59_45_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797520","file1":"1386797481","file0":"1386797441","file4":"1386797528","file5":"1386797546","file3":"1386797523"},"map_files_photo_id_array":[{"photo_id":"1386797546","filename":"file5"},{"photo_id":"1386797520","filename":"file2"},{"photo_id":"1386797528","filename":"file4"},{"photo_id":"1386797481","filename":"file1"},{"photo_id":"1386797441","filename":"file0"},{"photo_id":"1386797523","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797481":["hashtag1","hashtag2"]},{"1386797523":["hashtag1","hashtag2"]},{"1386797520":["hashtag1","hashtag2"]},{"1386797546":["hashtag1","hashtag2"]},{"1386797528":["hashtag1","hashtag2"]},{"1386797441":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797481, 1386797523, 1386797520, 1386797546, 1386797528, 1386797441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.385902643203735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:00:32.739303
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_45_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_34_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_24_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_15_10696.jpg', 2), ('/home/nano/Desktop/images/29092025/22/59/image_29092025_23_00_04_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_54_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_45_10668.jpg', '/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_34_9657.jpg', '/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_24_9678.jpg', '/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_15_10696.jpg', '/home/nano/Desktop/images/29092025/22/59/image_29092025_23_00_04_9672.jpg', '/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_54_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_45_10668.jpg
/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_34_9657.jpg
/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_24_9678.jpg
/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_15_10696.jpg
/home/nano/Desktop/images/29092025/22/59/image_29092025_23_00_04_9672.jpg
/home/nano/Desktop/images/29092025/22/59/image_29092025_22_59_54_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":["1386797577","1386797562","1386797565","1386797570","1386797573","1386797569"],"photo_ids_order":["1386797562","1386797565","1386797569","1386797570","1386797573","1386797577"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2bc183240aae1c72cbd3891f98d1c8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3635745878278280321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179694556,"filename":"image_29092025_22_59_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6845ec1fa3b05a3e294cf08da2257867.jpg","text":"TemporaryFile(/tmp/multipartBody8777834503661557285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179694556,"filename":"image_29092025_23_00_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f692c7d5de0388b32a2526a68571cd25.jpg","text":"TemporaryFile(/tmp/multipartBody3798857701520065738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179694556,"filename":"image_29092025_23_00_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/9/29/f417e9b0e390d2024e9c5e890eebe7cc.jpg","text":"TemporaryFile(/tmp/multipartBody7885150821754397939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179694556,"filename":"image_29092025_23_00_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5d81071415b3263337b5362129312758.jpg","text":"TemporaryFile(/tmp/multipartBody9157776464716818104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179694556,"filename":"image_29092025_23_00_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1b912d58cb310bb4ef0bbd6e94ebd54b.jpg","text":"TemporaryFile(/tmp/multipartBody7229003862399374593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179694556,"filename":"image_29092025_23_00_24_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797569","file1":"1386797565","file0":"1386797562","file4":"1386797573","file5":"1386797577","file3":"1386797570"},"map_files_photo_id_array":[{"photo_id":"1386797577","filename":"file5"},{"photo_id":"1386797569","filename":"file2"},{"photo_id":"1386797573","filename":"file4"},{"photo_id":"1386797565","filename":"file1"},{"photo_id":"1386797562","filename":"file0"},{"photo_id":"1386797570","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797577":["hashtag1","hashtag2"]},{"1386797562":["hashtag1","hashtag2"]},{"1386797565":["hashtag1","hashtag2"]},{"1386797570":["hashtag1","hashtag2"]},{"1386797573":["hashtag1","hashtag2"]},{"1386797569":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797577, 1386797562, 1386797565, 1386797570, 1386797573, 1386797569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05419182777405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:01:16.933082
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_45_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_34_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_24_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_15_10689.jpg', 2), ('/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_54_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_14_9742.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_45_10666.jpg', '/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_34_9659.jpg', '/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_24_9660.jpg', '/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_15_10689.jpg', '/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_54_9661.jpg', '/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_14_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_45_10666.jpg
/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_34_9659.jpg
/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_24_9660.jpg
/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_15_10689.jpg
/home/nano/Desktop/images/29092025/23/00/image_29092025_23_00_54_9661.jpg
/home/nano/Desktop/images/29092025/19/29/image_29092025_19_29_14_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797614","1386797617","1386797592","1386797610","1386797596","1386797599"],"photo_ids_order":["1386797592","1386797596","1386797599","1386797610","1386797614","1386797617"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5b4af6cfb7a7ea76cb791d620f407052.jpg","text":"TemporaryFile(/tmp/multipartBody9184367372039123062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179738477,"filename":"image_29092025_23_00_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/37000d13d53c71afa0153a05ecebce7d.jpg","text":"TemporaryFile(/tmp/multipartBody5989749082797133575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179738477,"filename":"image_29092025_19_29_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b3129c17aa2a0c0c18f8181d645e97e0.jpg","text":"TemporaryFile(/tmp/multipartBody7639494623368173392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179738477,"filename":"image_29092025_23_01_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6604c472b6bf4ebfe441c7b5d18d3613.jpg","text":"TemporaryFile(/tmp/multipartBody4720415343341347844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179738477,"filename":"image_29092025_23_01_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9b3fcd3a48e3dfaca95850ebd7dd6b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3550138622878748230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179738477,"filename":"image_29092025_23_01_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/993529e4dc5e89d819a15c91975d294c.jpg","text":"TemporaryFile(/tmp/multipartBody8444345632594516028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179738477,"filename":"image_29092025_23_01_24_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797599","file1":"1386797596","file0":"1386797592","file4":"1386797614","file5":"1386797617","file3":"1386797610"},"map_files_photo_id_array":[{"photo_id":"1386797617","filename":"file5"},{"photo_id":"1386797599","filename":"file2"},{"photo_id":"1386797614","filename":"file4"},{"photo_id":"1386797596","filename":"file1"},{"photo_id":"1386797592","filename":"file0"},{"photo_id":"1386797610","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797614":["hashtag1","hashtag2"]},{"1386797617":["hashtag1","hashtag2"]},{"1386797592":["hashtag1","hashtag2"]},{"1386797610":["hashtag1","hashtag2"]},{"1386797596":["hashtag1","hashtag2"]},{"1386797599":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797614, 1386797617, 1386797592, 1386797610, 1386797596, 1386797599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62757873535156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:02:02.429782
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/28/image_29092025_19_29_04_9720.jpg', 2), ('/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_55_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_45_10784.jpg', 2), ('/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_34_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_24_9761.jpg', 2), ('/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_15_10684.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/28/image_29092025_19_29_04_9720.jpg', '/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_55_9670.jpg', '/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_45_10784.jpg', '/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_34_9690.jpg', '/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_24_9761.jpg', '/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_15_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/28/image_29092025_19_29_04_9720.jpg
/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_55_9670.jpg
/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_45_10784.jpg
/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_34_9690.jpg
/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_24_9761.jpg
/home/nano/Desktop/images/29092025/19/28/image_29092025_19_28_15_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797710","1386797673","1386797631","1386797700","1386797690","1386797669"],"photo_ids_order":["1386797631","1386797669","1386797673","1386797690","1386797700","1386797710"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/79dca2701064c42257cf7f72b99d05f7.jpg","text":"TemporaryFile(/tmp/multipartBody8581016504379833105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179784453,"filename":"image_29092025_19_28_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4e9ec2686f12dfa1c7c79680951d5480.jpg","text":"TemporaryFile(/tmp/multipartBody8387636011525360236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179784453,"filename":"image_29092025_19_28_45_10784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e65a966e348595af1a91069b41643b07.jpg","text":"TemporaryFile(/tmp/multipartBody7188876004125959330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179784453,"filename":"image_29092025_19_29_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/af8ba16804df8708da6b53de9ba3077b.jpg","text":"TemporaryFile(/tmp/multipartBody7079544776536365249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179784453,"filename":"image_29092025_19_28_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/34cbe41c7520253c0b38b1e34f954d8c.jpg","text":"TemporaryFile(/tmp/multipartBody5675036218277575576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179784453,"filename":"image_29092025_19_28_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5ed20ebc443242a2aa60fcfdaa9c9283.jpg","text":"TemporaryFile(/tmp/multipartBody6513873369632586991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179784453,"filename":"image_29092025_19_28_55_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797673","file1":"1386797669","file0":"1386797631","file4":"1386797700","file5":"1386797710","file3":"1386797690"},"map_files_photo_id_array":[{"photo_id":"1386797710","filename":"file5"},{"photo_id":"1386797673","filename":"file2"},{"photo_id":"1386797700","filename":"file4"},{"photo_id":"1386797669","filename":"file1"},{"photo_id":"1386797631","filename":"file0"},{"photo_id":"1386797690","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797710":["hashtag1","hashtag2"]},{"1386797673":["hashtag1","hashtag2"]},{"1386797631":["hashtag1","hashtag2"]},{"1386797700":["hashtag1","hashtag2"]},{"1386797690":["hashtag1","hashtag2"]},{"1386797669":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797710, 1386797673, 1386797631, 1386797700, 1386797690, 1386797669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92594075202942 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:02:46.949000
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_34_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_15_10696.jpg', 2), ('/home/nano/Desktop/images/29092025/23/01/image_29092025_23_02_04_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_54_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/19/27/image_29092025_19_28_04_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_54_9762.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_34_9659.jpg', '/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_15_10696.jpg', '/home/nano/Desktop/images/29092025/23/01/image_29092025_23_02_04_9669.jpg', '/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_54_9658.jpg', '/home/nano/Desktop/images/29092025/19/27/image_29092025_19_28_04_9655.jpg', '/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_54_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_34_9659.jpg
/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_15_10696.jpg
/home/nano/Desktop/images/29092025/23/01/image_29092025_23_02_04_9669.jpg
/home/nano/Desktop/images/29092025/23/01/image_29092025_23_01_54_9658.jpg
/home/nano/Desktop/images/29092025/19/27/image_29092025_19_28_04_9655.jpg
/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_54_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797784","1386797769","1386797763","1386797757","1386797780","1386797774"],"photo_ids_order":["1386797757","1386797763","1386797769","1386797774","1386797780","1386797784"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5e963f097c785bd08ccb107ff1075d00.jpg","text":"TemporaryFile(/tmp/multipartBody2653076841914480640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179828606,"filename":"image_29092025_19_27_54_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8451085cc8be12e17e1c84f04b86f0d1.jpg","text":"TemporaryFile(/tmp/multipartBody1656166198626898593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179828606,"filename":"image_29092025_23_02_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/9/29/6370924ddc0bfe7b3a7e039f35b7c479.jpg","text":"TemporaryFile(/tmp/multipartBody29272648365880329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179828606,"filename":"image_29092025_23_02_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/95831b19cefc40470a1776b5ec4b6fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3819576887940665624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179828606,"filename":"image_29092025_23_02_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/42c800cf4835caa4934728b4c9440872.jpg","text":"TemporaryFile(/tmp/multipartBody8542591635047329077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179828606,"filename":"image_29092025_19_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/9/29/67223277ce2dee57d61e6623a27ec460.jpg","text":"TemporaryFile(/tmp/multipartBody4533766084755742876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179828606,"filename":"image_29092025_23_01_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797769","file1":"1386797763","file0":"1386797757","file4":"1386797780","file5":"1386797784","file3":"1386797774"},"map_files_photo_id_array":[{"photo_id":"1386797784","filename":"file5"},{"photo_id":"1386797769","filename":"file2"},{"photo_id":"1386797780","filename":"file4"},{"photo_id":"1386797763","filename":"file1"},{"photo_id":"1386797757","filename":"file0"},{"photo_id":"1386797774","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797784":["hashtag1","hashtag2"]},{"1386797769":["hashtag1","hashtag2"]},{"1386797763":["hashtag1","hashtag2"]},{"1386797757":["hashtag1","hashtag2"]},{"1386797780":["hashtag1","hashtag2"]},{"1386797774":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797784, 1386797769, 1386797763, 1386797757, 1386797780, 1386797774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09729981422424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:03:32.080914
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_34_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_24_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_15_10698.jpg', 2), ('/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_54_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_45_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_35_10698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_34_9662.jpg', '/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_24_9676.jpg', '/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_15_10698.jpg', '/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_54_9662.jpg', '/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_45_9674.jpg', '/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_35_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_34_9662.jpg
/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_24_9676.jpg
/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_15_10698.jpg
/home/nano/Desktop/images/29092025/23/02/image_29092025_23_02_54_9662.jpg
/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_45_9674.jpg
/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_35_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797815","1386797865","1386797874","1386797873","1386797810","1386797869"],"photo_ids_order":["1386797810","1386797815","1386797865","1386797869","1386797873","1386797874"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/21e1e30d7117a4e0436bc7da94729e21.jpg","text":"TemporaryFile(/tmp/multipartBody6581938915618656733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179873947,"filename":"image_29092025_23_03_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/864d1771e46ab8df07e7fb5e135a30b2.jpg","text":"TemporaryFile(/tmp/multipartBody7673088094703045041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179873947,"filename":"image_29092025_23_03_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7ac937a8d37fc5b3effbf06e665af006.jpg","text":"TemporaryFile(/tmp/multipartBody2289341678995334059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179873947,"filename":"image_29092025_19_27_35_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1ecf549ac8b69955e370d1e0c5b60fce.jpg","text":"TemporaryFile(/tmp/multipartBody3819300294556089565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179873947,"filename":"image_29092025_19_27_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/20a183131a572f8bd5bc08d1b953c9d2.jpg","text":"TemporaryFile(/tmp/multipartBody6987630397416028754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179873947,"filename":"image_29092025_23_03_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d65b15194a182bda5e378d1af974c841.jpg","text":"TemporaryFile(/tmp/multipartBody3787866261261839546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179873947,"filename":"image_29092025_23_02_54_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797865","file1":"1386797815","file0":"1386797810","file4":"1386797873","file5":"1386797874","file3":"1386797869"},"map_files_photo_id_array":[{"photo_id":"1386797874","filename":"file5"},{"photo_id":"1386797865","filename":"file2"},{"photo_id":"1386797873","filename":"file4"},{"photo_id":"1386797815","filename":"file1"},{"photo_id":"1386797810","filename":"file0"},{"photo_id":"1386797869","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797815":["hashtag1","hashtag2"]},{"1386797865":["hashtag1","hashtag2"]},{"1386797874":["hashtag1","hashtag2"]},{"1386797873":["hashtag1","hashtag2"]},{"1386797810":["hashtag1","hashtag2"]},{"1386797869":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797815, 1386797865, 1386797874, 1386797873, 1386797810, 1386797869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.573739528656006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:04:17.169355
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_34_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_24_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_15_10701.jpg', 2), ('/home/nano/Desktop/images/29092025/23/03/image_29092025_23_04_04_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_54_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_24_9679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_34_9686.jpg', '/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_24_9679.jpg', '/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_15_10701.jpg', '/home/nano/Desktop/images/29092025/23/03/image_29092025_23_04_04_9674.jpg', '/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_54_9659.jpg', '/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_34_9686.jpg
/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_24_9679.jpg
/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_15_10701.jpg
/home/nano/Desktop/images/29092025/23/03/image_29092025_23_04_04_9674.jpg
/home/nano/Desktop/images/29092025/23/03/image_29092025_23_03_54_9659.jpg
/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_24_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797914","1386797892","1386797912","1386797906","1386797909","1386797903"],"photo_ids_order":["1386797892","1386797903","1386797906","1386797909","1386797912","1386797914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c2e97a81d34c1daea67bb78aefeaf225.jpg","text":"TemporaryFile(/tmp/multipartBody5065646408000492919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179919192,"filename":"image_29092025_19_27_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/01e65f5689d9f4f10f72b0e480b635c4.jpg","text":"TemporaryFile(/tmp/multipartBody7889852777348144346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179919192,"filename":"image_29092025_23_04_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/426bf9c7c9b5e3094d2c33fe7b07130a.jpg","text":"TemporaryFile(/tmp/multipartBody7930926574073851923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179919192,"filename":"image_29092025_23_03_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ca1792b11abfa4357a6b231417a15ab3.jpg","text":"TemporaryFile(/tmp/multipartBody1966736561478369309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179919192,"filename":"image_29092025_23_04_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4f632e6fcb35fe51ea24399e2e10545a.jpg","text":"TemporaryFile(/tmp/multipartBody1995356501189063889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179919192,"filename":"image_29092025_23_04_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f910517185352c5591b4106fbb9ad30f.jpg","text":"TemporaryFile(/tmp/multipartBody182964700515362842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179919192,"filename":"image_29092025_23_04_24_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797906","file1":"1386797903","file0":"1386797892","file4":"1386797912","file5":"1386797914","file3":"1386797909"},"map_files_photo_id_array":[{"photo_id":"1386797914","filename":"file5"},{"photo_id":"1386797906","filename":"file2"},{"photo_id":"1386797912","filename":"file4"},{"photo_id":"1386797903","filename":"file1"},{"photo_id":"1386797892","filename":"file0"},{"photo_id":"1386797909","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797914":["hashtag1","hashtag2"]},{"1386797892":["hashtag1","hashtag2"]},{"1386797912":["hashtag1","hashtag2"]},{"1386797906":["hashtag1","hashtag2"]},{"1386797909":["hashtag1","hashtag2"]},{"1386797903":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797914, 1386797892, 1386797912, 1386797906, 1386797909, 1386797903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92713785171509 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:05:02.923473
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_15_9709.jpg', 2), ('/home/nano/Desktop/images/29092025/19/26/image_29092025_19_27_05_10754.jpg', 2), ('/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_54_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_44_9715.jpg', 2), ('/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_35_10739.jpg', 2), ('/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_24_9730.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_15_9709.jpg', '/home/nano/Desktop/images/29092025/19/26/image_29092025_19_27_05_10754.jpg', '/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_54_9663.jpg', '/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_44_9715.jpg', '/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_35_10739.jpg', '/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_24_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/27/image_29092025_19_27_15_9709.jpg
/home/nano/Desktop/images/29092025/19/26/image_29092025_19_27_05_10754.jpg
/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_54_9663.jpg
/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_44_9715.jpg
/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_35_10739.jpg
/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_24_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386797956","1386797935","1386797943","1386797952","1386797939","1386797947"],"photo_ids_order":["1386797935","1386797939","1386797943","1386797947","1386797952","1386797956"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/df57145cc3ccde4c6e53c74c55d6b81a.jpg","text":"TemporaryFile(/tmp/multipartBody2230027378711497367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179965227,"filename":"image_29092025_19_26_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9d1ef698e39d34b8699f079910111685.jpg","text":"TemporaryFile(/tmp/multipartBody5930860549427668395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179965227,"filename":"image_29092025_19_27_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e3bd4af3e554a1046c799b0d274c9cc6.jpg","text":"TemporaryFile(/tmp/multipartBody4600936397069707221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179965227,"filename":"image_29092025_19_26_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/19d1a637de37c79616a8019830f97914.jpg","text":"TemporaryFile(/tmp/multipartBody7230465677931303637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179965227,"filename":"image_29092025_19_26_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e08aa33e5ac55031300ad004253c6c85.jpg","text":"TemporaryFile(/tmp/multipartBody396955865340717217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179965227,"filename":"image_29092025_19_27_05_10754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/114d628f4bf45cbe2a7fff0b58a0c0bc.jpg","text":"TemporaryFile(/tmp/multipartBody5801247350220802346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179965227,"filename":"image_29092025_19_26_44_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797943","file1":"1386797939","file0":"1386797935","file4":"1386797952","file5":"1386797956","file3":"1386797947"},"map_files_photo_id_array":[{"photo_id":"1386797956","filename":"file5"},{"photo_id":"1386797943","filename":"file2"},{"photo_id":"1386797952","filename":"file4"},{"photo_id":"1386797939","filename":"file1"},{"photo_id":"1386797935","filename":"file0"},{"photo_id":"1386797947","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797956":["hashtag1","hashtag2"]},{"1386797935":["hashtag1","hashtag2"]},{"1386797943":["hashtag1","hashtag2"]},{"1386797952":["hashtag1","hashtag2"]},{"1386797939":["hashtag1","hashtag2"]},{"1386797947":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797956, 1386797935, 1386797943, 1386797952, 1386797939, 1386797947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96999430656433 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:05:47.288380
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_45_10696.jpg', 2), ('/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_34_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_25_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_15_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/23/04/image_29092025_23_05_04_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_55_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_45_10696.jpg', '/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_34_9668.jpg', '/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_25_9668.jpg', '/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_15_10699.jpg', '/home/nano/Desktop/images/29092025/23/04/image_29092025_23_05_04_9677.jpg', '/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_55_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_45_10696.jpg
/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_34_9668.jpg
/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_25_9668.jpg
/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_15_10699.jpg
/home/nano/Desktop/images/29092025/23/04/image_29092025_23_05_04_9677.jpg
/home/nano/Desktop/images/29092025/23/04/image_29092025_23_04_55_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":["1386797976","1386797991","1386797985","1386797979","1386797970","1386797973"],"photo_ids_order":["1386797970","1386797973","1386797976","1386797979","1386797985","1386797991"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7b3e64cd25513ea8bc200cf67a11b09e.jpg","text":"TemporaryFile(/tmp/multipartBody2347337237011737326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180009431,"filename":"image_29092025_23_05_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4efe52ca14ae6f63271041b789beb505.jpg","text":"TemporaryFile(/tmp/multipartBody1445578868415680802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180009431,"filename":"image_29092025_23_04_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b13a876c4d819b835b2b6139a9f43168.jpg","text":"TemporaryFile(/tmp/multipartBody3918579512476718240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180009431,"filename":"image_29092025_23_05_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a5d620b304dcbba05d0b7da62bf231d6.jpg","text":"TemporaryFile(/tmp/multipartBody1222509381317710215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180009431,"filename":"image_29092025_23_05_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e5cd18dfc85ac69b5c454e0c34cce45a.jpg","text":"TemporaryFile(/tmp/multipartBody1240465022037111658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180009431,"filename":"image_29092025_23_05_45_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e236c5d69320bdbdf827ec1ff293feb8.jpg","text":"TemporaryFile(/tmp/multipartBody5449322227089064034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180009431,"filename":"image_29092025_23_05_34_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797976","file1":"1386797973","file0":"1386797970","file4":"1386797985","file5":"1386797991","file3":"1386797979"},"map_files_photo_id_array":[{"photo_id":"1386797991","filename":"file5"},{"photo_id":"1386797976","filename":"file2"},{"photo_id":"1386797985","filename":"file4"},{"photo_id":"1386797973","filename":"file1"},{"photo_id":"1386797970","filename":"file0"},{"photo_id":"1386797979","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386797976":["hashtag1","hashtag2"]},{"1386797991":["hashtag1","hashtag2"]},{"1386797985":["hashtag1","hashtag2"]},{"1386797979":["hashtag1","hashtag2"]},{"1386797970":["hashtag1","hashtag2"]},{"1386797973":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386797976, 1386797991, 1386797985, 1386797979, 1386797970, 1386797973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.785943269729614 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:06:32.422533
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_44_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_34_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_25_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_14_9713.jpg', 2), ('/home/nano/Desktop/images/29092025/23/05/image_29092025_23_06_04_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_55_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_44_9665.jpg', '/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_34_9668.jpg', '/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_25_10672.jpg', '/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_14_9713.jpg', '/home/nano/Desktop/images/29092025/23/05/image_29092025_23_06_04_9696.jpg', '/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_55_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_44_9665.jpg
/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_34_9668.jpg
/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_25_10672.jpg
/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_14_9713.jpg
/home/nano/Desktop/images/29092025/23/05/image_29092025_23_06_04_9696.jpg
/home/nano/Desktop/images/29092025/23/05/image_29092025_23_05_55_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":["1386798010","1386798013","1386798042","1386798039","1386798036","1386798032"],"photo_ids_order":["1386798010","1386798013","1386798032","1386798036","1386798039","1386798042"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ef0bb5064823b2b8dcd9dfcd32eb3b56.jpg","text":"TemporaryFile(/tmp/multipartBody157485769440833205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180054437,"filename":"image_29092025_23_06_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/850afe4f00c1f2959dc6b30ee85593c8.jpg","text":"TemporaryFile(/tmp/multipartBody3230746624553007760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180054437,"filename":"image_29092025_23_06_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bc3c50ef20e274399402adc88f014126.jpg","text":"TemporaryFile(/tmp/multipartBody221021249076601732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180054437,"filename":"image_29092025_23_05_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3b2ecfb197f001fb989326a8bc1f4ad8.jpg","text":"TemporaryFile(/tmp/multipartBody3519878576139725796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180054437,"filename":"image_29092025_23_06_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a1c19ea689543d987a01cd5574f53e29.jpg","text":"TemporaryFile(/tmp/multipartBody4934394048921700563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180054437,"filename":"image_29092025_23_06_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/117ff56034d4eb4e0b34f089d884c391.jpg","text":"TemporaryFile(/tmp/multipartBody567838523390827341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180054437,"filename":"image_29092025_23_06_25_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798032","file1":"1386798013","file0":"1386798010","file4":"1386798039","file5":"1386798042","file3":"1386798036"},"map_files_photo_id_array":[{"photo_id":"1386798042","filename":"file5"},{"photo_id":"1386798032","filename":"file2"},{"photo_id":"1386798039","filename":"file4"},{"photo_id":"1386798013","filename":"file1"},{"photo_id":"1386798010","filename":"file0"},{"photo_id":"1386798036","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798010":["hashtag1","hashtag2"]},{"1386798013":["hashtag1","hashtag2"]},{"1386798042":["hashtag1","hashtag2"]},{"1386798039":["hashtag1","hashtag2"]},{"1386798036":["hashtag1","hashtag2"]},{"1386798032":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798010, 1386798013, 1386798042, 1386798039, 1386798036, 1386798032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26791739463806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:07:17.539507
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_44_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_34_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_25_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_14_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/23/06/image_29092025_23_07_04_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_55_10677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_44_9666.jpg', '/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_34_9668.jpg', '/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_25_10670.jpg', '/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_14_9691.jpg', '/home/nano/Desktop/images/29092025/23/06/image_29092025_23_07_04_9688.jpg', '/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_55_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_44_9666.jpg
/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_34_9668.jpg
/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_25_10670.jpg
/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_14_9691.jpg
/home/nano/Desktop/images/29092025/23/06/image_29092025_23_07_04_9688.jpg
/home/nano/Desktop/images/29092025/23/06/image_29092025_23_06_55_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798118","1386798135","1386798129","1386798122","1386798125","1386798142"],"photo_ids_order":["1386798118","1386798122","1386798125","1386798129","1386798135","1386798142"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4e2aa04e6864de351ca412f9aba6c44e.jpg","text":"TemporaryFile(/tmp/multipartBody8853587938227622761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180099397,"filename":"image_29092025_23_07_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a2ba40b4a2e46082b1d370d0c56d7e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7478145761108365826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180099397,"filename":"image_29092025_23_07_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c76db26a00d0476e46d336b2af76a696.jpg","text":"TemporaryFile(/tmp/multipartBody8904056566554245322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180099397,"filename":"image_29092025_23_07_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5d1ebb9480f86d4bd22739026ce314a4.jpg","text":"TemporaryFile(/tmp/multipartBody481660864834184575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180099397,"filename":"image_29092025_23_07_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/18805f64137a1c94303d2f513ce7f496.jpg","text":"TemporaryFile(/tmp/multipartBody4718745619038580157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180099397,"filename":"image_29092025_23_07_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c4ce90ed7ddbd55c17993e9bb19a97d2.jpg","text":"TemporaryFile(/tmp/multipartBody1975319260945982601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180099397,"filename":"image_29092025_23_06_55_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798125","file1":"1386798122","file0":"1386798118","file4":"1386798135","file5":"1386798142","file3":"1386798129"},"map_files_photo_id_array":[{"photo_id":"1386798142","filename":"file5"},{"photo_id":"1386798125","filename":"file2"},{"photo_id":"1386798135","filename":"file4"},{"photo_id":"1386798122","filename":"file1"},{"photo_id":"1386798118","filename":"file0"},{"photo_id":"1386798129","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798118":["hashtag1","hashtag2"]},{"1386798135":["hashtag1","hashtag2"]},{"1386798129":["hashtag1","hashtag2"]},{"1386798122":["hashtag1","hashtag2"]},{"1386798125":["hashtag1","hashtag2"]},{"1386798142":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798118, 1386798135, 1386798129, 1386798122, 1386798125, 1386798142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69675588607788 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:08:03.094172
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_14_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_26_05_9729.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_55_10716.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_44_9728.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_34_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_25_10715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_14_9668.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_26_05_9729.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_55_10716.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_44_9728.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_34_9688.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_25_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/26/image_29092025_19_26_14_9668.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_26_05_9729.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_55_10716.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_44_9728.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_34_9688.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_25_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798186","1386798167","1386798161","1386798181","1386798175","1386798172"],"photo_ids_order":["1386798161","1386798167","1386798172","1386798175","1386798181","1386798186"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/67017a1af313fc505c7ddd0a3574fdc1.jpg","text":"TemporaryFile(/tmp/multipartBody1838029865801404430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180145018,"filename":"image_29092025_19_25_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b1b0fc1839fa3d27142921dfa0758712.jpg","text":"TemporaryFile(/tmp/multipartBody1174061521487389876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180145018,"filename":"image_29092025_19_26_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/219ff68af68b83137b4a47aebf4b0969.jpg","text":"TemporaryFile(/tmp/multipartBody4729871456032088391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180145018,"filename":"image_29092025_19_26_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/9/29/86d064e5e752e5b306140e062646df6e.jpg","text":"TemporaryFile(/tmp/multipartBody7965938828580778719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180145018,"filename":"image_29092025_19_25_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2513c0c20a3f1955a24bbdb8d8076a00.jpg","text":"TemporaryFile(/tmp/multipartBody1899548785979244754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180145018,"filename":"image_29092025_19_25_44_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/01bb3905ea915045af6373b4764b964d.jpg","text":"TemporaryFile(/tmp/multipartBody4595577829362647079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180145018,"filename":"image_29092025_19_25_55_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798172","file1":"1386798167","file0":"1386798161","file4":"1386798181","file5":"1386798186","file3":"1386798175"},"map_files_photo_id_array":[{"photo_id":"1386798186","filename":"file5"},{"photo_id":"1386798172","filename":"file2"},{"photo_id":"1386798181","filename":"file4"},{"photo_id":"1386798167","filename":"file1"},{"photo_id":"1386798161","filename":"file0"},{"photo_id":"1386798175","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798186":["hashtag1","hashtag2"]},{"1386798167":["hashtag1","hashtag2"]},{"1386798161":["hashtag1","hashtag2"]},{"1386798181":["hashtag1","hashtag2"]},{"1386798175":["hashtag1","hashtag2"]},{"1386798172":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798186, 1386798167, 1386798161, 1386798181, 1386798175, 1386798172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.936542987823486 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:08:47.545227
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_44_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_25_10691.jpg', 2), ('/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_14_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/23/07/image_29092025_23_08_04_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_55_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_14_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_44_9683.jpg', '/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_25_10691.jpg', '/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_14_9698.jpg', '/home/nano/Desktop/images/29092025/23/07/image_29092025_23_08_04_9686.jpg', '/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_55_10675.jpg', '/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_14_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_44_9683.jpg
/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_25_10691.jpg
/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_14_9698.jpg
/home/nano/Desktop/images/29092025/23/07/image_29092025_23_08_04_9686.jpg
/home/nano/Desktop/images/29092025/23/07/image_29092025_23_07_55_10675.jpg
/home/nano/Desktop/images/29092025/19/25/image_29092025_19_25_14_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798223","1386798219","1386798239","1386798230","1386798226","1386798235"],"photo_ids_order":["1386798219","1386798223","1386798226","1386798230","1386798235","1386798239"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a0175fe90553e800062feb7e75620f02.jpg","text":"TemporaryFile(/tmp/multipartBody3699621291789268897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180189516,"filename":"image_29092025_23_08_25_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4eb63fd57a37b92af5997e6ed9c17e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1670721930225486796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180189516,"filename":"image_29092025_23_08_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b76d026673a47dd1bb47963d65eb2b87.jpg","text":"TemporaryFile(/tmp/multipartBody4909862589521191902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180189516,"filename":"image_29092025_19_25_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/70d51cbafd820d3d4b06e56af7a3a9b8.jpg","text":"TemporaryFile(/tmp/multipartBody8657051394196957159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180189516,"filename":"image_29092025_23_08_04_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0aff6562fe7550dfe48e562a8598af28.jpg","text":"TemporaryFile(/tmp/multipartBody4414619307280216851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180189516,"filename":"image_29092025_23_08_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6f64f523100b03757aad6d1705f01698.jpg","text":"TemporaryFile(/tmp/multipartBody5777898506873418755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180189516,"filename":"image_29092025_23_07_55_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798226","file1":"1386798223","file0":"1386798219","file4":"1386798235","file5":"1386798239","file3":"1386798230"},"map_files_photo_id_array":[{"photo_id":"1386798239","filename":"file5"},{"photo_id":"1386798226","filename":"file2"},{"photo_id":"1386798235","filename":"file4"},{"photo_id":"1386798223","filename":"file1"},{"photo_id":"1386798219","filename":"file0"},{"photo_id":"1386798230","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798223":["hashtag1","hashtag2"]},{"1386798219":["hashtag1","hashtag2"]},{"1386798239":["hashtag1","hashtag2"]},{"1386798230":["hashtag1","hashtag2"]},{"1386798226":["hashtag1","hashtag2"]},{"1386798235":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798223, 1386798219, 1386798239, 1386798230, 1386798226, 1386798235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12564420700073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:09:32.665402
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_35_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_25_10686.jpg', 2), ('/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_14_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/23/08/image_29092025_23_09_05_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_55_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/19/24/image_29092025_19_25_04_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_35_9659.jpg', '/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_25_10686.jpg', '/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_14_9691.jpg', '/home/nano/Desktop/images/29092025/23/08/image_29092025_23_09_05_9671.jpg', '/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_55_10668.jpg', '/home/nano/Desktop/images/29092025/19/24/image_29092025_19_25_04_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_35_9659.jpg
/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_25_10686.jpg
/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_14_9691.jpg
/home/nano/Desktop/images/29092025/23/08/image_29092025_23_09_05_9671.jpg
/home/nano/Desktop/images/29092025/23/08/image_29092025_23_08_55_10668.jpg
/home/nano/Desktop/images/29092025/19/24/image_29092025_19_25_04_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798261","1386798270","1386798264","1386798254","1386798257","1386798268"],"photo_ids_order":["1386798254","1386798257","1386798261","1386798264","1386798268","1386798270"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a0e8397d3028f49ad0fa5e0058a85230.jpg","text":"TemporaryFile(/tmp/multipartBody6845976512419556643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180234298,"filename":"image_29092025_23_09_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0dcd1c1b8aadce3bde760bba2355d24d.jpg","text":"TemporaryFile(/tmp/multipartBody9089859298079280423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180234298,"filename":"image_29092025_19_25_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5a7702183bd9a4038f022fe56d6f9c93.jpg","text":"TemporaryFile(/tmp/multipartBody3041833742042328705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180234298,"filename":"image_29092025_23_09_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/53c48637c04b32723cdc77db9e58ffa9.jpg","text":"TemporaryFile(/tmp/multipartBody8706566235725975841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180234298,"filename":"image_29092025_23_09_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/698fd19339d9249551e4e579fd34022a.jpg","text":"TemporaryFile(/tmp/multipartBody5213109156321687826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180234298,"filename":"image_29092025_23_09_25_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/643d8303c35021cd496aba272fe13b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2227160998042825540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180234298,"filename":"image_29092025_23_08_55_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798261","file1":"1386798257","file0":"1386798254","file4":"1386798268","file5":"1386798270","file3":"1386798264"},"map_files_photo_id_array":[{"photo_id":"1386798270","filename":"file5"},{"photo_id":"1386798261","filename":"file2"},{"photo_id":"1386798268","filename":"file4"},{"photo_id":"1386798257","filename":"file1"},{"photo_id":"1386798254","filename":"file0"},{"photo_id":"1386798264","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798261":["hashtag1","hashtag2"]},{"1386798270":["hashtag1","hashtag2"]},{"1386798264":["hashtag1","hashtag2"]},{"1386798254":["hashtag1","hashtag2"]},{"1386798257":["hashtag1","hashtag2"]},{"1386798268":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798261, 1386798270, 1386798264, 1386798254, 1386798257, 1386798268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.886319398880005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:10:16.796531
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_35_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_25_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/23/09/image_29092025_23_10_05_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_55_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_44_9660.jpg', '/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_35_9663.jpg', '/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_25_10681.jpg', '/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_14_9686.jpg', '/home/nano/Desktop/images/29092025/23/09/image_29092025_23_10_05_9670.jpg', '/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_55_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_44_9660.jpg
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_35_9663.jpg
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_25_10681.jpg
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_14_9686.jpg
/home/nano/Desktop/images/29092025/23/09/image_29092025_23_10_05_9670.jpg
/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_55_10671.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4011199474334717 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:10:31.759533
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_35_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_25_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/23/09/image_29092025_23_10_05_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_55_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_44_9660.jpg', '/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_35_9663.jpg', '/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_25_10681.jpg', '/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_14_9686.jpg', '/home/nano/Desktop/images/29092025/23/09/image_29092025_23_10_05_9670.jpg', '/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_55_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_44_9660.jpg
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_35_9663.jpg
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_25_10681.jpg
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_14_9686.jpg
/home/nano/Desktop/images/29092025/23/09/image_29092025_23_10_05_9670.jpg
/home/nano/Desktop/images/29092025/23/09/image_29092025_23_09_55_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798322","1386798316","1386798304","1386798309","1386798300","1386798328"],"photo_ids_order":["1386798300","1386798304","1386798309","1386798316","1386798322","1386798328"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5eddbc945f863ab8fd3f9d3fc599fa46.jpg","text":"TemporaryFile(/tmp/multipartBody2464619728976733068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180293388,"filename":"image_29092025_23_10_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8324ab3c6d749cb50a8827f610fd4ba8.jpg","text":"TemporaryFile(/tmp/multipartBody6626612023244060483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180293388,"filename":"image_29092025_23_10_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/9/29/730e3d34925f01caa70253e69146997f.jpg","text":"TemporaryFile(/tmp/multipartBody6379144121500377865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180293388,"filename":"image_29092025_23_10_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/251370dfcb7e27ff510369661c3417b2.jpg","text":"TemporaryFile(/tmp/multipartBody604656112274724738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180293388,"filename":"image_29092025_23_10_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4d6d68587cfc0faca1f3003e0e523021.jpg","text":"TemporaryFile(/tmp/multipartBody7298152744615468385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180293388,"filename":"image_29092025_23_10_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/74f17a787b59d3c974f44eba44d19fa6.jpg","text":"TemporaryFile(/tmp/multipartBody1926080771060346612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180293388,"filename":"image_29092025_23_09_55_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798309","file1":"1386798304","file0":"1386798300","file4":"1386798322","file5":"1386798328","file3":"1386798316"},"map_files_photo_id_array":[{"photo_id":"1386798328","filename":"file5"},{"photo_id":"1386798309","filename":"file2"},{"photo_id":"1386798322","filename":"file4"},{"photo_id":"1386798304","filename":"file1"},{"photo_id":"1386798300","filename":"file0"},{"photo_id":"1386798316","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798322":["hashtag1","hashtag2"]},{"1386798316":["hashtag1","hashtag2"]},{"1386798304":["hashtag1","hashtag2"]},{"1386798309":["hashtag1","hashtag2"]},{"1386798300":["hashtag1","hashtag2"]},{"1386798328":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798322, 1386798316, 1386798304, 1386798309, 1386798300, 1386798328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36685490608215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:11:16.954405
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_44_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_35_10655.jpg', 2), ('/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_14_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_11_05_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_44_9648.jpg', '/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_35_10655.jpg', '/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_24_9645.jpg', '/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_14_9657.jpg', '/home/nano/Desktop/images/29092025/23/10/image_29092025_23_11_05_9699.jpg', '/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_44_9648.jpg
/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_35_10655.jpg
/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_24_9645.jpg
/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_14_9657.jpg
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_11_05_9699.jpg
/home/nano/Desktop/images/29092025/23/10/image_29092025_23_10_55_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":["1386798345","1386798362","1386798359","1386798350","1386798341","1386798355"],"photo_ids_order":["1386798341","1386798345","1386798350","1386798355","1386798359","1386798362"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6d19368bfd51a960e391e7a2ef6df476.jpg","text":"TemporaryFile(/tmp/multipartBody4446453520936430997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180338678,"filename":"image_29092025_23_11_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fef36bf094421da990a2ad79831ab7db.jpg","text":"TemporaryFile(/tmp/multipartBody2133088129054182502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180338678,"filename":"image_29092025_23_10_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fa5d47dc3f060bc8141a3b30b36374dd.jpg","text":"TemporaryFile(/tmp/multipartBody8590008700393264442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180338678,"filename":"image_29092025_23_11_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/47617e1c580d0b5d8ebc611e46161faf.jpg","text":"TemporaryFile(/tmp/multipartBody4868567188381877993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180338678,"filename":"image_29092025_23_11_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/9/29/c1bb393d613c2b1a9693f525abb26e3c.jpg","text":"TemporaryFile(/tmp/multipartBody7564366319677528045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180338678,"filename":"image_29092025_23_11_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/87b1d0bd5eb7cacc0ee5cb0bd8b90567.jpg","text":"TemporaryFile(/tmp/multipartBody2207206804486366684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180338678,"filename":"image_29092025_23_11_14_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798350","file1":"1386798345","file0":"1386798341","file4":"1386798359","file5":"1386798362","file3":"1386798355"},"map_files_photo_id_array":[{"photo_id":"1386798362","filename":"file5"},{"photo_id":"1386798350","filename":"file2"},{"photo_id":"1386798359","filename":"file4"},{"photo_id":"1386798345","filename":"file1"},{"photo_id":"1386798341","filename":"file0"},{"photo_id":"1386798355","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798345":["hashtag1","hashtag2"]},{"1386798362":["hashtag1","hashtag2"]},{"1386798359":["hashtag1","hashtag2"]},{"1386798350":["hashtag1","hashtag2"]},{"1386798341":["hashtag1","hashtag2"]},{"1386798355":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798345, 1386798362, 1386798359, 1386798350, 1386798341, 1386798355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28762149810791 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:12:02.484501
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_55_9757.jpg', 2), ('/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_45_10729.jpg', 2), ('/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_34_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_24_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_15_10796.jpg', 2), ('/home/nano/Desktop/images/29092025/19/23/image_29092025_19_24_04_9770.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_55_9757.jpg', '/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_45_10729.jpg', '/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_34_9657.jpg', '/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_24_9688.jpg', '/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_15_10796.jpg', '/home/nano/Desktop/images/29092025/19/23/image_29092025_19_24_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_55_9757.jpg
/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_45_10729.jpg
/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_34_9657.jpg
/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_24_9688.jpg
/home/nano/Desktop/images/29092025/19/24/image_29092025_19_24_15_10796.jpg
/home/nano/Desktop/images/29092025/19/23/image_29092025_19_24_04_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798435","1386798405","1386798398","1386798431","1386798440","1386798412"],"photo_ids_order":["1386798398","1386798405","1386798412","1386798431","1386798435","1386798440"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/79da30b7d54ecc88f820cca0de50d258.jpg","text":"TemporaryFile(/tmp/multipartBody6053470913273700791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180384407,"filename":"image_29092025_19_24_15_10796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/af7191baaef740f26abceae05b611e96.jpg","text":"TemporaryFile(/tmp/multipartBody415962600322969865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180384407,"filename":"image_29092025_19_24_45_10729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1cd1f2fa2f46390d5c9750f6904712f9.jpg","text":"TemporaryFile(/tmp/multipartBody8742767207005122344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180384407,"filename":"image_29092025_19_24_55_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/12fba989754ad9283d3d1be065f991cd.jpg","text":"TemporaryFile(/tmp/multipartBody4997850660521445571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180384407,"filename":"image_29092025_19_24_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e6d5b8186549ad9969066e0cc9ea8e53.jpg","text":"TemporaryFile(/tmp/multipartBody1014288715928546364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180384407,"filename":"image_29092025_19_24_04_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fb3683f6e87e23bbf7425f783469bbb6.jpg","text":"TemporaryFile(/tmp/multipartBody4909714957682047544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180384407,"filename":"image_29092025_19_24_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798412","file1":"1386798405","file0":"1386798398","file4":"1386798435","file5":"1386798440","file3":"1386798431"},"map_files_photo_id_array":[{"photo_id":"1386798440","filename":"file5"},{"photo_id":"1386798412","filename":"file2"},{"photo_id":"1386798435","filename":"file4"},{"photo_id":"1386798405","filename":"file1"},{"photo_id":"1386798398","filename":"file0"},{"photo_id":"1386798431","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798435":["hashtag1","hashtag2"]},{"1386798405":["hashtag1","hashtag2"]},{"1386798398":["hashtag1","hashtag2"]},{"1386798431":["hashtag1","hashtag2"]},{"1386798440":["hashtag1","hashtag2"]},{"1386798412":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798435, 1386798405, 1386798398, 1386798431, 1386798440, 1386798412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34815526008606 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:12:46.974745
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_35_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_14_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/23/11/image_29092025_23_12_05_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_55_10654.jpg', 2), ('/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_44_9646.jpg', '/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_35_9648.jpg', '/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_14_9677.jpg', '/home/nano/Desktop/images/29092025/23/11/image_29092025_23_12_05_9661.jpg', '/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_55_10654.jpg', '/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_44_9646.jpg
/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_35_9648.jpg
/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_14_9677.jpg
/home/nano/Desktop/images/29092025/23/11/image_29092025_23_12_05_9661.jpg
/home/nano/Desktop/images/29092025/23/11/image_29092025_23_11_55_10654.jpg
/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_54_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":["1386798453","1386798461","1386798472","1386798478","1386798457","1386798466"],"photo_ids_order":["1386798453","1386798457","1386798461","1386798466","1386798472","1386798478"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9fa93a330a5ae29b4a65c42da766c43d.jpg","text":"TemporaryFile(/tmp/multipartBody3852697254444932567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180428847,"filename":"image_29092025_23_12_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e4acc3e7ec2dc619e525e1d6e5abf9b9.jpg","text":"TemporaryFile(/tmp/multipartBody2852465495686245398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180428847,"filename":"image_29092025_23_12_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/9/29/749d22762bb1f242974084ea5d7959cc.jpg","text":"TemporaryFile(/tmp/multipartBody5730351197857147502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180428847,"filename":"image_29092025_23_11_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d7afeca7053bf9528b3d362adefb877c.jpg","text":"TemporaryFile(/tmp/multipartBody7843812826853555241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180428847,"filename":"image_29092025_19_23_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4aa0d67e1391df19ab86ea65cf866f78.jpg","text":"TemporaryFile(/tmp/multipartBody3192709364999600910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180428847,"filename":"image_29092025_23_12_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a8905f0ee81a6594fe4fb3b1e9cf1e24.jpg","text":"TemporaryFile(/tmp/multipartBody3375064139546616061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180428847,"filename":"image_29092025_23_12_05_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798461","file1":"1386798457","file0":"1386798453","file4":"1386798472","file5":"1386798478","file3":"1386798466"},"map_files_photo_id_array":[{"photo_id":"1386798478","filename":"file5"},{"photo_id":"1386798461","filename":"file2"},{"photo_id":"1386798472","filename":"file4"},{"photo_id":"1386798457","filename":"file1"},{"photo_id":"1386798453","filename":"file0"},{"photo_id":"1386798466","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798453":["hashtag1","hashtag2"]},{"1386798461":["hashtag1","hashtag2"]},{"1386798472":["hashtag1","hashtag2"]},{"1386798478":["hashtag1","hashtag2"]},{"1386798457":["hashtag1","hashtag2"]},{"1386798466":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798453, 1386798461, 1386798472, 1386798478, 1386798457, 1386798466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46116805076599 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:13:32.088487
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_44_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_25_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/23/12/image_29092025_23_13_05_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_55_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_45_9740.jpg', 2), ('/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_35_10707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_44_9645.jpg', '/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_25_10657.jpg', '/home/nano/Desktop/images/29092025/23/12/image_29092025_23_13_05_9654.jpg', '/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_55_10659.jpg', '/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_45_9740.jpg', '/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_35_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_44_9645.jpg
/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_25_10657.jpg
/home/nano/Desktop/images/29092025/23/12/image_29092025_23_13_05_9654.jpg
/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_55_10659.jpg
/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_45_9740.jpg
/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_35_10707.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5479085445404053 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:13:47.066931
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_44_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_25_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/23/12/image_29092025_23_13_05_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_55_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_45_9740.jpg', 2), ('/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_35_10707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_44_9645.jpg', '/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_25_10657.jpg', '/home/nano/Desktop/images/29092025/23/12/image_29092025_23_13_05_9654.jpg', '/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_55_10659.jpg', '/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_45_9740.jpg', '/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_35_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_44_9645.jpg
/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_25_10657.jpg
/home/nano/Desktop/images/29092025/23/12/image_29092025_23_13_05_9654.jpg
/home/nano/Desktop/images/29092025/23/12/image_29092025_23_12_55_10659.jpg
/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_45_9740.jpg
/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_35_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798508","1386798533","1386798527","1386798512","1386798521","1386798517"],"photo_ids_order":["1386798508","1386798512","1386798517","1386798521","1386798527","1386798533"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/382e3ea840d44658146df3118791ebc2.jpg","text":"TemporaryFile(/tmp/multipartBody2545873668099157094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180488683,"filename":"image_29092025_23_13_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8eb4ff26f155f8bb23efd91b3b591602.jpg","text":"TemporaryFile(/tmp/multipartBody1605316879040058680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180488683,"filename":"image_29092025_19_23_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/52b9b5a56b59632f06299308513401a1.jpg","text":"TemporaryFile(/tmp/multipartBody473165047900452822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180488683,"filename":"image_29092025_19_23_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/106ba21b30e5d42dd814a7a0dddab9b9.jpg","text":"TemporaryFile(/tmp/multipartBody3628842541455726869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180488683,"filename":"image_29092025_23_13_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3d2a8d88386e309698ef028d051f1c92.jpg","text":"TemporaryFile(/tmp/multipartBody5608781890995725125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180488683,"filename":"image_29092025_23_12_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/62bb042160275d63e46e06942b2b9823.jpg","text":"TemporaryFile(/tmp/multipartBody8002340654453005442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180488683,"filename":"image_29092025_23_13_05_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798517","file1":"1386798512","file0":"1386798508","file4":"1386798527","file5":"1386798533","file3":"1386798521"},"map_files_photo_id_array":[{"photo_id":"1386798533","filename":"file5"},{"photo_id":"1386798517","filename":"file2"},{"photo_id":"1386798527","filename":"file4"},{"photo_id":"1386798512","filename":"file1"},{"photo_id":"1386798508","filename":"file0"},{"photo_id":"1386798521","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798508":["hashtag1","hashtag2"]},{"1386798533":["hashtag1","hashtag2"]},{"1386798527":["hashtag1","hashtag2"]},{"1386798512":["hashtag1","hashtag2"]},{"1386798521":["hashtag1","hashtag2"]},{"1386798517":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798508, 1386798533, 1386798527, 1386798512, 1386798521, 1386798517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.990724325180054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:14:32.172294
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_44_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_34_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_25_10679.jpg', 2), ('/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_14_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/23/13/image_29092025_23_14_04_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_55_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_44_9665.jpg', '/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_34_9667.jpg', '/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_25_10679.jpg', '/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_14_9674.jpg', '/home/nano/Desktop/images/29092025/23/13/image_29092025_23_14_04_9664.jpg', '/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_55_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_44_9665.jpg
/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_34_9667.jpg
/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_25_10679.jpg
/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_14_9674.jpg
/home/nano/Desktop/images/29092025/23/13/image_29092025_23_14_04_9664.jpg
/home/nano/Desktop/images/29092025/23/13/image_29092025_23_13_55_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":["1386798575","1386798560","1386798563","1386798580","1386798583","1386798556"],"photo_ids_order":["1386798556","1386798560","1386798563","1386798575","1386798580","1386798583"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/38448491f5144c81842c5090b38ee70b.jpg","text":"TemporaryFile(/tmp/multipartBody3641193620738317594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180533985,"filename":"image_29092025_23_14_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/9/29/7f8f69b1a3a4109c0b8b2d11de551142.jpg","text":"TemporaryFile(/tmp/multipartBody5326427303697360622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180533985,"filename":"image_29092025_23_14_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e1f709c889b250754af7801b863fee5d.jpg","text":"TemporaryFile(/tmp/multipartBody5817447747356415140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180533985,"filename":"image_29092025_23_14_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1f012f26e3ca4af6a6e34aca33b40c54.jpg","text":"TemporaryFile(/tmp/multipartBody1472515083196333750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180533985,"filename":"image_29092025_23_14_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/9/29/d35d6a0f184ff821d67b0a63408e2c33.jpg","text":"TemporaryFile(/tmp/multipartBody8028176490604726352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180533985,"filename":"image_29092025_23_13_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5a839a17d7175f37b92d9af044d51ba6.jpg","text":"TemporaryFile(/tmp/multipartBody3003125772770137187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180533985,"filename":"image_29092025_23_14_44_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798563","file1":"1386798560","file0":"1386798556","file4":"1386798580","file5":"1386798583","file3":"1386798575"},"map_files_photo_id_array":[{"photo_id":"1386798583","filename":"file5"},{"photo_id":"1386798563","filename":"file2"},{"photo_id":"1386798580","filename":"file4"},{"photo_id":"1386798560","filename":"file1"},{"photo_id":"1386798556","filename":"file0"},{"photo_id":"1386798575","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798575":["hashtag1","hashtag2"]},{"1386798560":["hashtag1","hashtag2"]},{"1386798563":["hashtag1","hashtag2"]},{"1386798580":["hashtag1","hashtag2"]},{"1386798583":["hashtag1","hashtag2"]},{"1386798556":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798575, 1386798560, 1386798563, 1386798580, 1386798583, 1386798556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75755214691162 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:15:17.315151
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_44_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_25_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_14_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/23/14/image_29092025_23_15_05_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_55_10678.jpg', 2), ('/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_24_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_44_9665.jpg', '/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_25_10675.jpg', '/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_14_9702.jpg', '/home/nano/Desktop/images/29092025/23/14/image_29092025_23_15_05_9698.jpg', '/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_55_10678.jpg', '/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_24_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_44_9665.jpg
/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_25_10675.jpg
/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_14_9702.jpg
/home/nano/Desktop/images/29092025/23/14/image_29092025_23_15_05_9698.jpg
/home/nano/Desktop/images/29092025/23/14/image_29092025_23_14_55_10678.jpg
/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_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":["1386798615","1386798609","1386798624","1386798603","1386798623","1386798620"],"photo_ids_order":["1386798603","1386798609","1386798615","1386798620","1386798623","1386798624"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/645c58cd46d6f20f4ffbfb4757073f03.jpg","text":"TemporaryFile(/tmp/multipartBody5769833796688058852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180579145,"filename":"image_29092025_23_15_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/9/29/c9924dc8f63358b75a568db445ee893b.jpg","text":"TemporaryFile(/tmp/multipartBody6656454346806583316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180579145,"filename":"image_29092025_23_15_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6ad59c816267383c30864b818770a39f.jpg","text":"TemporaryFile(/tmp/multipartBody3708934174272322369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180579145,"filename":"image_29092025_19_23_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/9/29/d13a21f95e3e31b3cb172ca4c540c1dd.jpg","text":"TemporaryFile(/tmp/multipartBody3353337120946329802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180579145,"filename":"image_29092025_23_15_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3d2cf1601cd0a0cf592cb86e2e49cd15.jpg","text":"TemporaryFile(/tmp/multipartBody6662029413285885366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180579145,"filename":"image_29092025_23_14_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eaa4f9a7c95e14f35d31ccd2bffb85da.jpg","text":"TemporaryFile(/tmp/multipartBody8413439728849577759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180579145,"filename":"image_29092025_23_15_05_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798615","file1":"1386798609","file0":"1386798603","file4":"1386798623","file5":"1386798624","file3":"1386798620"},"map_files_photo_id_array":[{"photo_id":"1386798624","filename":"file5"},{"photo_id":"1386798615","filename":"file2"},{"photo_id":"1386798623","filename":"file4"},{"photo_id":"1386798609","filename":"file1"},{"photo_id":"1386798603","filename":"file0"},{"photo_id":"1386798620","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798615":["hashtag1","hashtag2"]},{"1386798609":["hashtag1","hashtag2"]},{"1386798624":["hashtag1","hashtag2"]},{"1386798603":["hashtag1","hashtag2"]},{"1386798623":["hashtag1","hashtag2"]},{"1386798620":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798615, 1386798609, 1386798624, 1386798603, 1386798623, 1386798620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67040491104126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:16:02.873633
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_14_9747.jpg', 2), ('/home/nano/Desktop/images/29092025/19/22/image_29092025_19_23_05_10767.jpg', 2), ('/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_54_9718.jpg', 2), ('/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_44_9757.jpg', 2), ('/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_34_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_25_10690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_14_9747.jpg', '/home/nano/Desktop/images/29092025/19/22/image_29092025_19_23_05_10767.jpg', '/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_54_9718.jpg', '/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_44_9757.jpg', '/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_34_9656.jpg', '/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_25_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/23/image_29092025_19_23_14_9747.jpg
/home/nano/Desktop/images/29092025/19/22/image_29092025_19_23_05_10767.jpg
/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_54_9718.jpg
/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_44_9757.jpg
/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_34_9656.jpg
/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_25_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798648","1386798642","1386798671","1386798665","1386798659","1386798653"],"photo_ids_order":["1386798642","1386798648","1386798653","1386798659","1386798665","1386798671"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8362a0daf9333542b893a7c1192ee06c.jpg","text":"TemporaryFile(/tmp/multipartBody5672246125226063680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180624890,"filename":"image_29092025_19_23_05_10767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b20566f21fcdf8acab7f7c4d95a74cdb.jpg","text":"TemporaryFile(/tmp/multipartBody2856241910422689753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180624890,"filename":"image_29092025_19_23_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1ec737632292b44060500ef1e09bb38c.jpg","text":"TemporaryFile(/tmp/multipartBody7438051345054219733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180624890,"filename":"image_29092025_19_22_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/63eb80de38bebd775314682ed53e7ef5.jpg","text":"TemporaryFile(/tmp/multipartBody2419060938167476043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180624890,"filename":"image_29092025_19_22_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/9/29/9abab8b14b51f27531bf18d226c3457e.jpg","text":"TemporaryFile(/tmp/multipartBody7990376820111930837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180624890,"filename":"image_29092025_19_22_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f38fd653e907de9654e649bfba454bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8438075711923639415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180624890,"filename":"image_29092025_19_22_54_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798653","file1":"1386798648","file0":"1386798642","file4":"1386798665","file5":"1386798671","file3":"1386798659"},"map_files_photo_id_array":[{"photo_id":"1386798671","filename":"file5"},{"photo_id":"1386798653","filename":"file2"},{"photo_id":"1386798665","filename":"file4"},{"photo_id":"1386798648","filename":"file1"},{"photo_id":"1386798642","filename":"file0"},{"photo_id":"1386798659","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798648":["hashtag1","hashtag2"]},{"1386798642":["hashtag1","hashtag2"]},{"1386798671":["hashtag1","hashtag2"]},{"1386798665":["hashtag1","hashtag2"]},{"1386798659":["hashtag1","hashtag2"]},{"1386798653":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798648, 1386798642, 1386798671, 1386798665, 1386798659, 1386798653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47679114341736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:16:47.398848
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_35_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_24_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_14_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/23/15/image_29092025_23_16_05_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_55_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_14_9769.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_35_10677.jpg', '/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_24_9670.jpg', '/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_14_9692.jpg', '/home/nano/Desktop/images/29092025/23/15/image_29092025_23_16_05_9674.jpg', '/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_55_10676.jpg', '/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_14_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_35_10677.jpg
/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_24_9670.jpg
/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_14_9692.jpg
/home/nano/Desktop/images/29092025/23/15/image_29092025_23_16_05_9674.jpg
/home/nano/Desktop/images/29092025/23/15/image_29092025_23_15_55_10676.jpg
/home/nano/Desktop/images/29092025/19/22/image_29092025_19_22_14_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798690","1386798702","1386798686","1386798698","1386798694","1386798682"],"photo_ids_order":["1386798682","1386798686","1386798690","1386798694","1386798698","1386798702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4ea4d6a8889f20165e4f12c933d48ec6.jpg","text":"TemporaryFile(/tmp/multipartBody1978708052206701900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180669285,"filename":"image_29092025_23_16_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/74064df7f4c13c191a4b5b30441ee3c8.jpg","text":"TemporaryFile(/tmp/multipartBody135895320141055081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180669285,"filename":"image_29092025_19_22_14_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ca1d750e91384909ff800542ffdda20a.jpg","text":"TemporaryFile(/tmp/multipartBody6601708673137767122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180669285,"filename":"image_29092025_23_16_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d118a2883a14190179f875d36a62a8cc.jpg","text":"TemporaryFile(/tmp/multipartBody204308578339198322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180669285,"filename":"image_29092025_23_15_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d690f93211c134d31ad6dae3339456bb.jpg","text":"TemporaryFile(/tmp/multipartBody6326716703028725411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180669285,"filename":"image_29092025_23_16_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/aec7af72d165daaa76a111b71977d589.jpg","text":"TemporaryFile(/tmp/multipartBody6660815067900081810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180669285,"filename":"image_29092025_23_16_35_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798690","file1":"1386798686","file0":"1386798682","file4":"1386798698","file5":"1386798702","file3":"1386798694"},"map_files_photo_id_array":[{"photo_id":"1386798702","filename":"file5"},{"photo_id":"1386798690","filename":"file2"},{"photo_id":"1386798698","filename":"file4"},{"photo_id":"1386798686","filename":"file1"},{"photo_id":"1386798682","filename":"file0"},{"photo_id":"1386798694","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798690":["hashtag1","hashtag2"]},{"1386798702":["hashtag1","hashtag2"]},{"1386798686":["hashtag1","hashtag2"]},{"1386798698":["hashtag1","hashtag2"]},{"1386798694":["hashtag1","hashtag2"]},{"1386798682":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798690, 1386798702, 1386798686, 1386798698, 1386798694, 1386798682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73035717010498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:17:32.520187
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_44_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_35_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_24_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_14_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/23/16/image_29092025_23_17_05_10687.jpg', 2), ('/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_44_9678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_44_9663.jpg', '/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_35_10676.jpg', '/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_24_9683.jpg', '/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_14_9716.jpg', '/home/nano/Desktop/images/29092025/23/16/image_29092025_23_17_05_10687.jpg', '/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_44_9663.jpg
/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_35_10676.jpg
/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_24_9683.jpg
/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_14_9716.jpg
/home/nano/Desktop/images/29092025/23/16/image_29092025_23_17_05_10687.jpg
/home/nano/Desktop/images/29092025/23/16/image_29092025_23_16_44_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798749","1386798740","1386798743","1386798727","1386798721","1386798724"],"photo_ids_order":["1386798721","1386798724","1386798727","1386798740","1386798743","1386798749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d6633868a3f553799c9df0ea7e5c8ca9.jpg","text":"TemporaryFile(/tmp/multipartBody1275839989910916112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180714430,"filename":"image_29092025_23_16_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8f0a5e0e523957c19628d5c7ccf0922c.jpg","text":"TemporaryFile(/tmp/multipartBody1111411294923078397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180714430,"filename":"image_29092025_23_17_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/75f533f27fedc8e697b1d4cc464afafb.jpg","text":"TemporaryFile(/tmp/multipartBody2218158865405779173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180714430,"filename":"image_29092025_23_17_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/edfbe5529524988fb4a62d4f89798bca.jpg","text":"TemporaryFile(/tmp/multipartBody7478441663007838853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180714430,"filename":"image_29092025_23_17_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/01a9a8eb5c1048b404dd9e4c7f6a59ec.jpg","text":"TemporaryFile(/tmp/multipartBody5157971085918794004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180714430,"filename":"image_29092025_23_17_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/49285675f8b98aff5d6087be6d3c6a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4860670212446393610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180714430,"filename":"image_29092025_23_17_35_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798727","file1":"1386798724","file0":"1386798721","file4":"1386798743","file5":"1386798749","file3":"1386798740"},"map_files_photo_id_array":[{"photo_id":"1386798749","filename":"file5"},{"photo_id":"1386798727","filename":"file2"},{"photo_id":"1386798743","filename":"file4"},{"photo_id":"1386798724","filename":"file1"},{"photo_id":"1386798721","filename":"file0"},{"photo_id":"1386798740","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798749":["hashtag1","hashtag2"]},{"1386798740":["hashtag1","hashtag2"]},{"1386798743":["hashtag1","hashtag2"]},{"1386798727":["hashtag1","hashtag2"]},{"1386798721":["hashtag1","hashtag2"]},{"1386798724":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798749, 1386798740, 1386798743, 1386798727, 1386798721, 1386798724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99113917350769 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:18:17.627599
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/18/image_29092025_23_18_14_9604.jpg', 2), ('/home/nano/Desktop/images/29092025/23/17/image_29092025_23_18_05_10590.jpg', 2), ('/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_54_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/19/21/image_29092025_19_22_04_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_55_10757.jpg', 2), ('/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_44_9743.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/18/image_29092025_23_18_14_9604.jpg', '/home/nano/Desktop/images/29092025/23/17/image_29092025_23_18_05_10590.jpg', '/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_54_9665.jpg', '/home/nano/Desktop/images/29092025/19/21/image_29092025_19_22_04_9679.jpg', '/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_55_10757.jpg', '/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_44_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/18/image_29092025_23_18_14_9604.jpg
/home/nano/Desktop/images/29092025/23/17/image_29092025_23_18_05_10590.jpg
/home/nano/Desktop/images/29092025/23/17/image_29092025_23_17_54_9665.jpg
/home/nano/Desktop/images/29092025/19/21/image_29092025_19_22_04_9679.jpg
/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_55_10757.jpg
/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_44_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798785","1386798779","1386798788","1386798782","1386798770","1386798775"],"photo_ids_order":["1386798770","1386798775","1386798779","1386798782","1386798785","1386798788"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d8e40ba700d5e2030703ac611233ca4b.jpg","text":"TemporaryFile(/tmp/multipartBody4284832307265054444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180759285,"filename":"image_29092025_19_21_55_10757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9b9cb392d8db7c0c4a972ef25318d1c8.jpg","text":"TemporaryFile(/tmp/multipartBody106243887202327569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180759285,"filename":"image_29092025_23_17_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a13403c3d582a732c90d7942a5ecff38.jpg","text":"TemporaryFile(/tmp/multipartBody6919566868196923324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180759285,"filename":"image_29092025_19_21_44_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b1757f9375201ca14c437bb0d48977a5.jpg","text":"TemporaryFile(/tmp/multipartBody1745750301605098870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180759285,"filename":"image_29092025_19_22_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8663b7d8cf508d61884c1b30efc5d035.jpg","text":"TemporaryFile(/tmp/multipartBody9130224024071295487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180759285,"filename":"image_29092025_23_18_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/49e8c4c4102e4a10785303bf0a176a11.jpg","text":"TemporaryFile(/tmp/multipartBody7815414242151130824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180759285,"filename":"image_29092025_23_18_05_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798779","file1":"1386798775","file0":"1386798770","file4":"1386798785","file5":"1386798788","file3":"1386798782"},"map_files_photo_id_array":[{"photo_id":"1386798788","filename":"file5"},{"photo_id":"1386798779","filename":"file2"},{"photo_id":"1386798785","filename":"file4"},{"photo_id":"1386798775","filename":"file1"},{"photo_id":"1386798770","filename":"file0"},{"photo_id":"1386798782","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798785":["hashtag1","hashtag2"]},{"1386798779":["hashtag1","hashtag2"]},{"1386798788":["hashtag1","hashtag2"]},{"1386798782":["hashtag1","hashtag2"]},{"1386798770":["hashtag1","hashtag2"]},{"1386798775":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798785, 1386798779, 1386798788, 1386798782, 1386798770, 1386798775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.860018253326416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:19:03.896360
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_34_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_25_9786.jpg', 2), ('/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_15_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/19/20/image_29092025_19_21_04_9650.jpg', 2), ('/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_54_9624.jpg', 2), ('/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_45_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_34_9660.jpg', '/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_25_9786.jpg', '/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_15_10699.jpg', '/home/nano/Desktop/images/29092025/19/20/image_29092025_19_21_04_9650.jpg', '/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_54_9624.jpg', '/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_45_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_34_9660.jpg
/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_25_9786.jpg
/home/nano/Desktop/images/29092025/19/21/image_29092025_19_21_15_10699.jpg
/home/nano/Desktop/images/29092025/19/20/image_29092025_19_21_04_9650.jpg
/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_54_9624.jpg
/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_45_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798811","1386798805","1386798816","1386798824","1386798827","1386798820"],"photo_ids_order":["1386798805","1386798811","1386798816","1386798820","1386798824","1386798827"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/512a3e9318d76c2bb308a7ca860e0ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6837851855090531395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180805631,"filename":"image_29092025_19_21_25_9786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7efeb4e77cf2053063699b8f09af6b4b.jpg","text":"TemporaryFile(/tmp/multipartBody4164452913020732411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180805631,"filename":"image_29092025_19_21_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/9/29/1cfe1c4167ec81843d89fab8a324a48d.jpg","text":"TemporaryFile(/tmp/multipartBody8333252391087294816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180805631,"filename":"image_29092025_19_21_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/18220c8ff25b0de5d5fdf84190e64baa.jpg","text":"TemporaryFile(/tmp/multipartBody3760750427908705592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180805631,"filename":"image_29092025_19_20_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b594d1ae74932dd3c9df581379e80133.jpg","text":"TemporaryFile(/tmp/multipartBody6557819065057519557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180805631,"filename":"image_29092025_19_20_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d0f0b344d9246b2fd51651f89fbb16e0.jpg","text":"TemporaryFile(/tmp/multipartBody2652477460537688509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180805631,"filename":"image_29092025_19_21_04_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798816","file1":"1386798811","file0":"1386798805","file4":"1386798824","file5":"1386798827","file3":"1386798820"},"map_files_photo_id_array":[{"photo_id":"1386798827","filename":"file5"},{"photo_id":"1386798816","filename":"file2"},{"photo_id":"1386798824","filename":"file4"},{"photo_id":"1386798811","filename":"file1"},{"photo_id":"1386798805","filename":"file0"},{"photo_id":"1386798820","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798811":["hashtag1","hashtag2"]},{"1386798805":["hashtag1","hashtag2"]},{"1386798816":["hashtag1","hashtag2"]},{"1386798824":["hashtag1","hashtag2"]},{"1386798827":["hashtag1","hashtag2"]},{"1386798820":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798811, 1386798805, 1386798816, 1386798824, 1386798827, 1386798820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60812950134277 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:19:47.850361
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_25_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_14_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/23/18/image_29092025_23_18_55_10588.jpg', 2), ('/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_34_9623.jpg', 2), ('/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_25_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_15_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_25_10675.jpg', '/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_14_9695.jpg', '/home/nano/Desktop/images/29092025/23/18/image_29092025_23_18_55_10588.jpg', '/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_34_9623.jpg', '/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_25_9647.jpg', '/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_15_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_25_10675.jpg
/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_14_9695.jpg
/home/nano/Desktop/images/29092025/23/18/image_29092025_23_18_55_10588.jpg
/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_34_9623.jpg
/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_25_9647.jpg
/home/nano/Desktop/images/29092025/19/20/image_29092025_19_20_15_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386798864","1386798858","1386798852","1386798846","1386798871","1386798868"],"photo_ids_order":["1386798846","1386798852","1386798858","1386798864","1386798868","1386798871"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4e15e13c38e374dc5ca7a0ad9c5ce7c1.jpg","text":"TemporaryFile(/tmp/multipartBody7253738583750022742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180849692,"filename":"image_29092025_19_20_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f13c72be3f0c51a8619363431c063ba3.jpg","text":"TemporaryFile(/tmp/multipartBody5889824640177472816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180849692,"filename":"image_29092025_23_18_55_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/74a0254d9345c7950e9aca2dc42d1f74.jpg","text":"TemporaryFile(/tmp/multipartBody3513298005498041381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180849692,"filename":"image_29092025_23_19_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5c03659a39b1d790482b798c2d172c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8368411410193314987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180849692,"filename":"image_29092025_23_19_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/71530818906b0ca464a54dd241b46cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7073511289387987830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180849692,"filename":"image_29092025_19_20_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fdc7d827b14fda1fb2696e60af449980.jpg","text":"TemporaryFile(/tmp/multipartBody6257231644457550568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180849692,"filename":"image_29092025_19_20_25_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798858","file1":"1386798852","file0":"1386798846","file4":"1386798868","file5":"1386798871","file3":"1386798864"},"map_files_photo_id_array":[{"photo_id":"1386798871","filename":"file5"},{"photo_id":"1386798858","filename":"file2"},{"photo_id":"1386798868","filename":"file4"},{"photo_id":"1386798852","filename":"file1"},{"photo_id":"1386798846","filename":"file0"},{"photo_id":"1386798864","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798864":["hashtag1","hashtag2"]},{"1386798858":["hashtag1","hashtag2"]},{"1386798852":["hashtag1","hashtag2"]},{"1386798846":["hashtag1","hashtag2"]},{"1386798871":["hashtag1","hashtag2"]},{"1386798868":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798864, 1386798858, 1386798852, 1386798846, 1386798871, 1386798868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.301414489746094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:20:32.031905
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_44_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_34_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_14_9694.jpg', 2), ('/home/nano/Desktop/images/29092025/23/19/image_29092025_23_20_04_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_44_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/19/19/image_29092025_19_20_04_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_44_9668.jpg', '/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_34_9682.jpg', '/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_14_9694.jpg', '/home/nano/Desktop/images/29092025/23/19/image_29092025_23_20_04_9664.jpg', '/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_44_9684.jpg', '/home/nano/Desktop/images/29092025/19/19/image_29092025_19_20_04_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_44_9668.jpg
/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_34_9682.jpg
/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_14_9694.jpg
/home/nano/Desktop/images/29092025/23/19/image_29092025_23_20_04_9664.jpg
/home/nano/Desktop/images/29092025/23/19/image_29092025_23_19_44_9684.jpg
/home/nano/Desktop/images/29092025/19/19/image_29092025_19_20_04_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":["1386798912","1386798896","1386798887","1386798914","1386798916","1386798891"],"photo_ids_order":["1386798887","1386798891","1386798896","1386798912","1386798914","1386798916"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/db75ae5fe6b9456021de12db2c0fb5a2.jpg","text":"TemporaryFile(/tmp/multipartBody4762283933968670337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180893550,"filename":"image_29092025_23_20_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/9/29/d8428654645e2b99867ad392472a416d.jpg","text":"TemporaryFile(/tmp/multipartBody864697636208801427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180893550,"filename":"image_29092025_23_20_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/921ae848a35bc765ad744d1f0e86fc06.jpg","text":"TemporaryFile(/tmp/multipartBody7698535093241785782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180893550,"filename":"image_29092025_23_20_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/467a5906dc066db2bfc158a3be4baed3.jpg","text":"TemporaryFile(/tmp/multipartBody2073017086803680981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180893550,"filename":"image_29092025_23_19_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e402507b4e0ad367d9e66e06196609f3.jpg","text":"TemporaryFile(/tmp/multipartBody3956992970350832136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180893550,"filename":"image_29092025_19_20_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/9/29/1be50633f35bf778b8de6b3e34704208.jpg","text":"TemporaryFile(/tmp/multipartBody4156356387717527828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180893550,"filename":"image_29092025_23_20_34_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798896","file1":"1386798891","file0":"1386798887","file4":"1386798914","file5":"1386798916","file3":"1386798912"},"map_files_photo_id_array":[{"photo_id":"1386798916","filename":"file5"},{"photo_id":"1386798896","filename":"file2"},{"photo_id":"1386798914","filename":"file4"},{"photo_id":"1386798891","filename":"file1"},{"photo_id":"1386798887","filename":"file0"},{"photo_id":"1386798912","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798912":["hashtag1","hashtag2"]},{"1386798896":["hashtag1","hashtag2"]},{"1386798887":["hashtag1","hashtag2"]},{"1386798914":["hashtag1","hashtag2"]},{"1386798916":["hashtag1","hashtag2"]},{"1386798891":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798912, 1386798896, 1386798887, 1386798914, 1386798916, 1386798891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00951433181763 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:21:17.153217
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_44_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_34_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_14_9690.jpg', 2), ('/home/nano/Desktop/images/29092025/23/20/image_29092025_23_21_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_55_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_55_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_44_9663.jpg', '/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_34_9665.jpg', '/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_14_9690.jpg', '/home/nano/Desktop/images/29092025/23/20/image_29092025_23_21_04_9673.jpg', '/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_55_10673.jpg', '/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_44_9663.jpg
/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_34_9665.jpg
/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_14_9690.jpg
/home/nano/Desktop/images/29092025/23/20/image_29092025_23_21_04_9673.jpg
/home/nano/Desktop/images/29092025/23/20/image_29092025_23_20_55_10673.jpg
/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_55_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":["1386798957","1386798942","1386798936","1386798948","1386798952","1386798931"],"photo_ids_order":["1386798931","1386798936","1386798942","1386798948","1386798952","1386798957"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4a833f8bb2c6ef181e9eeb4a22143040.jpg","text":"TemporaryFile(/tmp/multipartBody1277914396076795806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180938784,"filename":"image_29092025_19_19_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9731de9e89011fd5d9dd8b4e62f91c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1024311620326963456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180938784,"filename":"image_29092025_23_21_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e18441cd064523d98c754fe9fdb8b196.jpg","text":"TemporaryFile(/tmp/multipartBody1334140304574543113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180938784,"filename":"image_29092025_23_21_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4811437cb9d4820b42ed0c2c3dc5b4a0.jpg","text":"TemporaryFile(/tmp/multipartBody8572991901058695882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180938784,"filename":"image_29092025_23_21_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/9/29/881363f4f5d4121de304fd9c756c60d0.jpg","text":"TemporaryFile(/tmp/multipartBody5793473912130310359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180938784,"filename":"image_29092025_23_20_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bbd470a631732a649d148bbcd80e0b17.jpg","text":"TemporaryFile(/tmp/multipartBody7361900050023714626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180938784,"filename":"image_29092025_23_21_44_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798942","file1":"1386798936","file0":"1386798931","file4":"1386798952","file5":"1386798957","file3":"1386798948"},"map_files_photo_id_array":[{"photo_id":"1386798957","filename":"file5"},{"photo_id":"1386798942","filename":"file2"},{"photo_id":"1386798952","filename":"file4"},{"photo_id":"1386798936","filename":"file1"},{"photo_id":"1386798931","filename":"file0"},{"photo_id":"1386798948","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798957":["hashtag1","hashtag2"]},{"1386798942":["hashtag1","hashtag2"]},{"1386798936":["hashtag1","hashtag2"]},{"1386798948":["hashtag1","hashtag2"]},{"1386798952":["hashtag1","hashtag2"]},{"1386798931":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798957, 1386798942, 1386798936, 1386798948, 1386798952, 1386798931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22707748413086 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:22:02.729680
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_45_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_15_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_19_04_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_55_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_45_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_45_10675.jpg', '/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_34_9647.jpg', '/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_15_10683.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_19_04_9677.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_55_9645.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_45_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_45_10675.jpg
/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_34_9647.jpg
/home/nano/Desktop/images/29092025/19/19/image_29092025_19_19_15_10683.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_19_04_9677.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_55_9645.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_45_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":["1386798978","1386798995","1386798983","1386798988","1386798991","1386799000"],"photo_ids_order":["1386798978","1386798983","1386798988","1386798991","1386798995","1386799000"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/482b5d38c78fac7ded475e3ee4dc6ed8.jpg","text":"TemporaryFile(/tmp/multipartBody263624470111003353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180984342,"filename":"image_29092025_19_19_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c68dd434004d2b522f185163af1ca1fd.jpg","text":"TemporaryFile(/tmp/multipartBody3148891647205717666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180984342,"filename":"image_29092025_19_18_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2c315930dc294810d3eb86d0f74eebf5.jpg","text":"TemporaryFile(/tmp/multipartBody6594087862755496136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180984342,"filename":"image_29092025_19_19_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/9/29/749f0a07022391ac6f9776b61bd59d26.jpg","text":"TemporaryFile(/tmp/multipartBody1386134439998222172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180984342,"filename":"image_29092025_19_19_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/9/29/6ab44513e5397774f8665fd0e00c0352.jpg","text":"TemporaryFile(/tmp/multipartBody289001663372963042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180984342,"filename":"image_29092025_19_19_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/428fb0d822aa504434694af6778cf042.jpg","text":"TemporaryFile(/tmp/multipartBody2908657418641120343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180984342,"filename":"image_29092025_19_18_45_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798988","file1":"1386798983","file0":"1386798978","file4":"1386798995","file5":"1386799000","file3":"1386798991"},"map_files_photo_id_array":[{"photo_id":"1386799000","filename":"file5"},{"photo_id":"1386798988","filename":"file2"},{"photo_id":"1386798995","filename":"file4"},{"photo_id":"1386798983","filename":"file1"},{"photo_id":"1386798978","filename":"file0"},{"photo_id":"1386798991","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386798978":["hashtag1","hashtag2"]},{"1386798995":["hashtag1","hashtag2"]},{"1386798983":["hashtag1","hashtag2"]},{"1386798988":["hashtag1","hashtag2"]},{"1386798991":["hashtag1","hashtag2"]},{"1386799000":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386798978, 1386798995, 1386798983, 1386798988, 1386798991, 1386799000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38269662857056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:22:47.263106
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_35_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_25_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_14_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/23/21/image_29092025_23_22_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_55_10690.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_34_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_35_9663.jpg', '/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_25_10672.jpg', '/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_14_9695.jpg', '/home/nano/Desktop/images/29092025/23/21/image_29092025_23_22_04_9673.jpg', '/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_55_10690.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_34_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_35_9663.jpg
/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_25_10672.jpg
/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_14_9695.jpg
/home/nano/Desktop/images/29092025/23/21/image_29092025_23_22_04_9673.jpg
/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_55_10690.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_34_9631.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3904709815979004 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:23:03.097605
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_35_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_25_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_14_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/23/21/image_29092025_23_22_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_55_10690.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_34_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_35_9663.jpg', '/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_25_10672.jpg', '/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_14_9695.jpg', '/home/nano/Desktop/images/29092025/23/21/image_29092025_23_22_04_9673.jpg', '/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_55_10690.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_34_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_35_9663.jpg
/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_25_10672.jpg
/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_14_9695.jpg
/home/nano/Desktop/images/29092025/23/21/image_29092025_23_22_04_9673.jpg
/home/nano/Desktop/images/29092025/23/21/image_29092025_23_21_55_10690.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_34_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799041","1386799050","1386799029","1386799046","1386799034","1386799037"],"photo_ids_order":["1386799029","1386799034","1386799037","1386799041","1386799046","1386799050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f82b06f05f5a100798081d4d8617960f.jpg","text":"TemporaryFile(/tmp/multipartBody1891652562714819922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181044914,"filename":"image_29092025_23_22_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/9/29/d6adf87eddc57c21b11f5bff649dcd21.jpg","text":"TemporaryFile(/tmp/multipartBody903742969495708824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181044914,"filename":"image_29092025_19_18_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/90a7e6ea09671ec47212009cd607137c.jpg","text":"TemporaryFile(/tmp/multipartBody6947581475295677937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181044914,"filename":"image_29092025_23_22_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0e3ab5a2de3d20db05820f1a239ba3d2.jpg","text":"TemporaryFile(/tmp/multipartBody6635322847841653431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181044914,"filename":"image_29092025_23_21_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e8d2881b1fae80524cc89b66580e2b41.jpg","text":"TemporaryFile(/tmp/multipartBody8123232646750575047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181044914,"filename":"image_29092025_23_22_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2a36b8f68b462621538a42361e2b7526.jpg","text":"TemporaryFile(/tmp/multipartBody6943570797612661784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181044914,"filename":"image_29092025_23_22_14_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799037","file1":"1386799034","file0":"1386799029","file4":"1386799046","file5":"1386799050","file3":"1386799041"},"map_files_photo_id_array":[{"photo_id":"1386799050","filename":"file5"},{"photo_id":"1386799037","filename":"file2"},{"photo_id":"1386799046","filename":"file4"},{"photo_id":"1386799034","filename":"file1"},{"photo_id":"1386799029","filename":"file0"},{"photo_id":"1386799041","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799041":["hashtag1","hashtag2"]},{"1386799050":["hashtag1","hashtag2"]},{"1386799029":["hashtag1","hashtag2"]},{"1386799046":["hashtag1","hashtag2"]},{"1386799034":["hashtag1","hashtag2"]},{"1386799037":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799041, 1386799050, 1386799029, 1386799046, 1386799034, 1386799037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73245882987976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:23:47.374828
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_44_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_35_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_14_9704.jpg', 2), ('/home/nano/Desktop/images/29092025/23/22/image_29092025_23_23_05_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_55_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_25_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_44_9668.jpg', '/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_35_9665.jpg', '/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_14_9704.jpg', '/home/nano/Desktop/images/29092025/23/22/image_29092025_23_23_05_9668.jpg', '/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_55_10674.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_25_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_44_9668.jpg
/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_35_9665.jpg
/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_14_9704.jpg
/home/nano/Desktop/images/29092025/23/22/image_29092025_23_23_05_9668.jpg
/home/nano/Desktop/images/29092025/23/22/image_29092025_23_22_55_10674.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_25_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799094","1386799082","1386799085","1386799103","1386799108","1386799080"],"photo_ids_order":["1386799080","1386799082","1386799085","1386799094","1386799103","1386799108"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3d81f48c29da3672dd7851c53ca563ca.jpg","text":"TemporaryFile(/tmp/multipartBody364896282834119824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181089334,"filename":"image_29092025_23_23_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6ad611a13715eed25b4352055efd3063.jpg","text":"TemporaryFile(/tmp/multipartBody7525414218433087078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181089334,"filename":"image_29092025_23_23_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a6852eb4b39385ce9dc6ef3022b547ff.jpg","text":"TemporaryFile(/tmp/multipartBody7936724582115136438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181089334,"filename":"image_29092025_23_23_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/171e9fe306d977deaec6741c0c8b110a.jpg","text":"TemporaryFile(/tmp/multipartBody1399106940862522620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181089334,"filename":"image_29092025_23_22_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6231cad73cd39c9bd9b13cd971783b06.jpg","text":"TemporaryFile(/tmp/multipartBody4378107629560860466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181089334,"filename":"image_29092025_19_18_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/34516a572d5eed7c68d0fcd33c463985.jpg","text":"TemporaryFile(/tmp/multipartBody8429665649720488714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181089334,"filename":"image_29092025_23_23_44_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799085","file1":"1386799082","file0":"1386799080","file4":"1386799103","file5":"1386799108","file3":"1386799094"},"map_files_photo_id_array":[{"photo_id":"1386799108","filename":"file5"},{"photo_id":"1386799085","filename":"file2"},{"photo_id":"1386799103","filename":"file4"},{"photo_id":"1386799082","filename":"file1"},{"photo_id":"1386799080","filename":"file0"},{"photo_id":"1386799094","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799094":["hashtag1","hashtag2"]},{"1386799082":["hashtag1","hashtag2"]},{"1386799085":["hashtag1","hashtag2"]},{"1386799103":["hashtag1","hashtag2"]},{"1386799108":["hashtag1","hashtag2"]},{"1386799080":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799094, 1386799082, 1386799085, 1386799103, 1386799108, 1386799080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32979488372803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:24:32.476293
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_44_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_35_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_24_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_14_9687.jpg', 2), ('/home/nano/Desktop/images/29092025/23/23/image_29092025_23_24_05_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_55_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_44_9667.jpg', '/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_35_10677.jpg', '/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_24_9667.jpg', '/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_14_9687.jpg', '/home/nano/Desktop/images/29092025/23/23/image_29092025_23_24_05_9668.jpg', '/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_55_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_44_9667.jpg
/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_35_10677.jpg
/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_24_9667.jpg
/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_14_9687.jpg
/home/nano/Desktop/images/29092025/23/23/image_29092025_23_24_05_9668.jpg
/home/nano/Desktop/images/29092025/23/23/image_29092025_23_23_55_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799125","1386799139","1386799136","1386799138","1386799132","1386799129"],"photo_ids_order":["1386799125","1386799129","1386799132","1386799136","1386799138","1386799139"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5fc54dc9ffd3e31812326831400b0814.jpg","text":"TemporaryFile(/tmp/multipartBody577492838468925669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181134123,"filename":"image_29092025_23_24_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6d0eae7ccf83163db7a8a09fe9549cd3.jpg","text":"TemporaryFile(/tmp/multipartBody630614688176421753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181134123,"filename":"image_29092025_23_23_55_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5162de7ad1c3a1274d187fb722cc40de.jpg","text":"TemporaryFile(/tmp/multipartBody1568768008434518786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181134123,"filename":"image_29092025_23_24_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/9/29/c09d332530b8b7c1e81f1beab0c61519.jpg","text":"TemporaryFile(/tmp/multipartBody1679778009428538971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181134123,"filename":"image_29092025_23_24_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/361817db332d6e561de0b02c18a895bb.jpg","text":"TemporaryFile(/tmp/multipartBody4452209242098598384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181134123,"filename":"image_29092025_23_24_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8edd2cc2d8462a396002cd4c5cb10e87.jpg","text":"TemporaryFile(/tmp/multipartBody9167104529850534640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181134123,"filename":"image_29092025_23_24_35_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799132","file1":"1386799129","file0":"1386799125","file4":"1386799138","file5":"1386799139","file3":"1386799136"},"map_files_photo_id_array":[{"photo_id":"1386799139","filename":"file5"},{"photo_id":"1386799132","filename":"file2"},{"photo_id":"1386799138","filename":"file4"},{"photo_id":"1386799129","filename":"file1"},{"photo_id":"1386799125","filename":"file0"},{"photo_id":"1386799136","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799125":["hashtag1","hashtag2"]},{"1386799139":["hashtag1","hashtag2"]},{"1386799136":["hashtag1","hashtag2"]},{"1386799138":["hashtag1","hashtag2"]},{"1386799132":["hashtag1","hashtag2"]},{"1386799129":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799125, 1386799139, 1386799136, 1386799138, 1386799132, 1386799129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.336448431015015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:25:17.596825
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_44_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_35_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_14_9691.jpg', 2), ('/home/nano/Desktop/images/29092025/23/24/image_29092025_23_25_05_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_54_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_14_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_44_9668.jpg', '/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_35_10676.jpg', '/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_14_9691.jpg', '/home/nano/Desktop/images/29092025/23/24/image_29092025_23_25_05_10681.jpg', '/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_54_9684.jpg', '/home/nano/Desktop/images/29092025/19/18/image_29092025_19_18_14_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_44_9668.jpg
/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_35_10676.jpg
/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_14_9691.jpg
/home/nano/Desktop/images/29092025/23/24/image_29092025_23_25_05_10681.jpg
/home/nano/Desktop/images/29092025/23/24/image_29092025_23_24_54_9684.jpg
/home/nano/Desktop/images/29092025/19/18/image_29092025_19_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":["1386799176","1386799164","1386799158","1386799172","1386799169","1386799179"],"photo_ids_order":["1386799158","1386799164","1386799169","1386799172","1386799176","1386799179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/300fae712b9189fa50c7b52451837b53.jpg","text":"TemporaryFile(/tmp/multipartBody6649157145187590798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181179417,"filename":"image_29092025_23_24_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a583de3a68d36bd5f63715175292c906.jpg","text":"TemporaryFile(/tmp/multipartBody6364774221591232544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181179417,"filename":"image_29092025_23_25_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e8575d87c97610ba9f89b7ce99f6f941.jpg","text":"TemporaryFile(/tmp/multipartBody4331005795114496775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181179417,"filename":"image_29092025_23_25_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2dcef3af4b92bddce978f3b2ecd7eec8.jpg","text":"TemporaryFile(/tmp/multipartBody1486159161264518512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181179417,"filename":"image_29092025_23_25_05_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/dda79fe5c429b50060f7266a5bca077c.jpg","text":"TemporaryFile(/tmp/multipartBody7336748565834995522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181179417,"filename":"image_29092025_23_25_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/96afcde84809c48058ab285c4a606134.jpg","text":"TemporaryFile(/tmp/multipartBody3619031316164095956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181179417,"filename":"image_29092025_19_18_14_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799169","file1":"1386799164","file0":"1386799158","file4":"1386799176","file5":"1386799179","file3":"1386799172"},"map_files_photo_id_array":[{"photo_id":"1386799179","filename":"file5"},{"photo_id":"1386799169","filename":"file2"},{"photo_id":"1386799176","filename":"file4"},{"photo_id":"1386799164","filename":"file1"},{"photo_id":"1386799158","filename":"file0"},{"photo_id":"1386799172","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799176":["hashtag1","hashtag2"]},{"1386799164":["hashtag1","hashtag2"]},{"1386799158":["hashtag1","hashtag2"]},{"1386799172":["hashtag1","hashtag2"]},{"1386799169":["hashtag1","hashtag2"]},{"1386799179":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799176, 1386799164, 1386799158, 1386799172, 1386799169, 1386799179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35609412193298 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:26:03.299306
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/17/image_29092025_19_18_04_9701.jpg', 2), ('/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_55_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_44_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_34_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_25_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_14_9723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/17/image_29092025_19_18_04_9701.jpg', '/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_55_10643.jpg', '/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_44_9664.jpg', '/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_34_9651.jpg', '/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_25_10646.jpg', '/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_14_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/17/image_29092025_19_18_04_9701.jpg
/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_55_10643.jpg
/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_44_9664.jpg
/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_34_9651.jpg
/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_25_10646.jpg
/home/nano/Desktop/images/29092025/19/17/image_29092025_19_17_14_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799215","1386799200","1386799220","1386799205","1386799225","1386799210"],"photo_ids_order":["1386799200","1386799205","1386799210","1386799215","1386799220","1386799225"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d954bd2d20ed15a1552ef45986a643f7.jpg","text":"TemporaryFile(/tmp/multipartBody5148529016919156681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181224872,"filename":"image_29092025_19_17_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c96e6d72d7d78753591f11d340c29949.jpg","text":"TemporaryFile(/tmp/multipartBody3939391950307569756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181224872,"filename":"image_29092025_19_18_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e00f87b3a2108eb290fcac327cd5b44c.jpg","text":"TemporaryFile(/tmp/multipartBody4304314721645580495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181224872,"filename":"image_29092025_19_17_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/9/29/ccfaf2c4a11628770bcdcb625b5ff1ad.jpg","text":"TemporaryFile(/tmp/multipartBody2972399033734460869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181224872,"filename":"image_29092025_19_17_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a34cf093d006132643a3cd606e5780e7.jpg","text":"TemporaryFile(/tmp/multipartBody3767259145779804993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181224872,"filename":"image_29092025_19_17_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/37c026f5bd92243cd24607584ec22907.jpg","text":"TemporaryFile(/tmp/multipartBody3169741946657022868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181224872,"filename":"image_29092025_19_17_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799210","file1":"1386799205","file0":"1386799200","file4":"1386799220","file5":"1386799225","file3":"1386799215"},"map_files_photo_id_array":[{"photo_id":"1386799225","filename":"file5"},{"photo_id":"1386799210","filename":"file2"},{"photo_id":"1386799220","filename":"file4"},{"photo_id":"1386799205","filename":"file1"},{"photo_id":"1386799200","filename":"file0"},{"photo_id":"1386799215","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799215":["hashtag1","hashtag2"]},{"1386799200":["hashtag1","hashtag2"]},{"1386799220":["hashtag1","hashtag2"]},{"1386799205":["hashtag1","hashtag2"]},{"1386799225":["hashtag1","hashtag2"]},{"1386799210":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799215, 1386799200, 1386799220, 1386799205, 1386799225, 1386799210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77104735374451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:26:47.735991
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_44_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_35_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_24_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_14_9714.jpg', 2), ('/home/nano/Desktop/images/29092025/23/25/image_29092025_23_26_05_10699.jpg', 2), ('/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_54_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_44_9663.jpg', '/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_35_10666.jpg', '/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_24_9678.jpg', '/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_14_9714.jpg', '/home/nano/Desktop/images/29092025/23/25/image_29092025_23_26_05_10699.jpg', '/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_54_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_44_9663.jpg
/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_35_10666.jpg
/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_24_9678.jpg
/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_14_9714.jpg
/home/nano/Desktop/images/29092025/23/25/image_29092025_23_26_05_10699.jpg
/home/nano/Desktop/images/29092025/23/25/image_29092025_23_25_54_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799262","1386799267","1386799282","1386799258","1386799278","1386799272"],"photo_ids_order":["1386799258","1386799262","1386799267","1386799272","1386799278","1386799282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/513632b3c4128d1172083fe0148396dc.jpg","text":"TemporaryFile(/tmp/multipartBody2553306110384571852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181269611,"filename":"image_29092025_23_26_35_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/99e6c124647037d7ec4d2dfa943dfb05.jpg","text":"TemporaryFile(/tmp/multipartBody3354135463659207025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181269611,"filename":"image_29092025_23_26_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/81cb34f8f399833d89016a888ebe13a2.jpg","text":"TemporaryFile(/tmp/multipartBody6756743773150471919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181269611,"filename":"image_29092025_23_25_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d7bc55802d71e532779bf23664979900.jpg","text":"TemporaryFile(/tmp/multipartBody3113443867433904980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181269611,"filename":"image_29092025_23_26_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b778a4754dc3c43065f0adb5d9aaf2a5.jpg","text":"TemporaryFile(/tmp/multipartBody8788998552594364841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181269611,"filename":"image_29092025_23_26_05_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6d5014e87455af38842971d09ddd3c2c.jpg","text":"TemporaryFile(/tmp/multipartBody8043013009094920115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181269611,"filename":"image_29092025_23_26_14_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799267","file1":"1386799262","file0":"1386799258","file4":"1386799278","file5":"1386799282","file3":"1386799272"},"map_files_photo_id_array":[{"photo_id":"1386799282","filename":"file5"},{"photo_id":"1386799267","filename":"file2"},{"photo_id":"1386799278","filename":"file4"},{"photo_id":"1386799262","filename":"file1"},{"photo_id":"1386799258","filename":"file0"},{"photo_id":"1386799272","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799262":["hashtag1","hashtag2"]},{"1386799267":["hashtag1","hashtag2"]},{"1386799282":["hashtag1","hashtag2"]},{"1386799258":["hashtag1","hashtag2"]},{"1386799278":["hashtag1","hashtag2"]},{"1386799272":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799262, 1386799267, 1386799282, 1386799258, 1386799278, 1386799272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.154398918151855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:27:31.885359
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_44_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_35_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_24_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_14_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_54_9658.jpg', 2), ('/home/nano/Desktop/images/29092025/19/16/image_29092025_19_17_04_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_44_9661.jpg', '/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_35_10669.jpg', '/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_24_9672.jpg', '/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_14_9686.jpg', '/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_54_9658.jpg', '/home/nano/Desktop/images/29092025/19/16/image_29092025_19_17_04_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_44_9661.jpg
/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_35_10669.jpg
/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_24_9672.jpg
/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_14_9686.jpg
/home/nano/Desktop/images/29092025/23/26/image_29092025_23_26_54_9658.jpg
/home/nano/Desktop/images/29092025/19/16/image_29092025_19_17_04_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799310","1386799313","1386799303","1386799306","1386799315","1386799300"],"photo_ids_order":["1386799300","1386799303","1386799306","1386799310","1386799313","1386799315"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/697c26533ca449cfe86d7faeea9434db.jpg","text":"TemporaryFile(/tmp/multipartBody2753463987980771634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181314615,"filename":"image_29092025_23_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/9/29/e91be839722036f77db5ca0f889688f9.jpg","text":"TemporaryFile(/tmp/multipartBody1247831189241096002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181314615,"filename":"image_29092025_23_26_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/9/29/9252b65f71d1aea7ba9138de7efe1a49.jpg","text":"TemporaryFile(/tmp/multipartBody8231502983813997116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181314615,"filename":"image_29092025_23_27_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/9/29/2f04e321896979df932c4a6b2102866b.jpg","text":"TemporaryFile(/tmp/multipartBody6027437673962944559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181314615,"filename":"image_29092025_23_27_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1120a5ff714ec069bc3c6b1432eff7eb.jpg","text":"TemporaryFile(/tmp/multipartBody8740705200296187668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181314615,"filename":"image_29092025_19_17_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/44706cb9a517a4f870568c25c2279890.jpg","text":"TemporaryFile(/tmp/multipartBody2172032846308065475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181314615,"filename":"image_29092025_23_27_44_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799306","file1":"1386799303","file0":"1386799300","file4":"1386799313","file5":"1386799315","file3":"1386799310"},"map_files_photo_id_array":[{"photo_id":"1386799315","filename":"file5"},{"photo_id":"1386799306","filename":"file2"},{"photo_id":"1386799313","filename":"file4"},{"photo_id":"1386799303","filename":"file1"},{"photo_id":"1386799300","filename":"file0"},{"photo_id":"1386799310","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799310":["hashtag1","hashtag2"]},{"1386799313":["hashtag1","hashtag2"]},{"1386799303":["hashtag1","hashtag2"]},{"1386799306":["hashtag1","hashtag2"]},{"1386799315":["hashtag1","hashtag2"]},{"1386799300":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799310, 1386799313, 1386799303, 1386799306, 1386799315, 1386799300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45460653305054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:28:16.952426
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_35_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_24_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_15_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/23/27/image_29092025_23_28_05_10692.jpg', 2), ('/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_54_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_55_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_35_10677.jpg', '/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_24_9666.jpg', '/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_15_9675.jpg', '/home/nano/Desktop/images/29092025/23/27/image_29092025_23_28_05_10692.jpg', '/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_54_9661.jpg', '/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_35_10677.jpg
/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_24_9666.jpg
/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_15_9675.jpg
/home/nano/Desktop/images/29092025/23/27/image_29092025_23_28_05_10692.jpg
/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_54_9661.jpg
/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_55_9643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4149360656738281 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:28:31.948566
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_35_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_24_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_15_9675.jpg', 2), ('/home/nano/Desktop/images/29092025/23/27/image_29092025_23_28_05_10692.jpg', 2), ('/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_54_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_55_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_35_10677.jpg', '/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_24_9666.jpg', '/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_15_9675.jpg', '/home/nano/Desktop/images/29092025/23/27/image_29092025_23_28_05_10692.jpg', '/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_54_9661.jpg', '/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_35_10677.jpg
/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_24_9666.jpg
/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_15_9675.jpg
/home/nano/Desktop/images/29092025/23/27/image_29092025_23_28_05_10692.jpg
/home/nano/Desktop/images/29092025/23/27/image_29092025_23_27_54_9661.jpg
/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_55_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":["1386799361","1386799358","1386799343","1386799346","1386799354","1386799350"],"photo_ids_order":["1386799343","1386799346","1386799350","1386799354","1386799358","1386799361"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7228c9d2a6056a98067e382fda972fba.jpg","text":"TemporaryFile(/tmp/multipartBody461356245219565099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181373366,"filename":"image_29092025_19_16_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/587819878a71290b4666a91e8603f5a0.jpg","text":"TemporaryFile(/tmp/multipartBody7628797950221766576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181373366,"filename":"image_29092025_23_27_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/75fc9d144dff35279d9d5a619fcacb58.jpg","text":"TemporaryFile(/tmp/multipartBody5440932143130964536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181373366,"filename":"image_29092025_23_28_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b44afda77d118ea087c8334a564f461a.jpg","text":"TemporaryFile(/tmp/multipartBody5162499681962521236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181373366,"filename":"image_29092025_23_28_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/67c7525ba7eba02440700d5b205a2a00.jpg","text":"TemporaryFile(/tmp/multipartBody1341073310864387921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181373366,"filename":"image_29092025_23_28_05_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/00012699fa25dae28c12dab666dcb7cd.jpg","text":"TemporaryFile(/tmp/multipartBody6090691530494154012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181373366,"filename":"image_29092025_23_28_15_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799350","file1":"1386799346","file0":"1386799343","file4":"1386799358","file5":"1386799361","file3":"1386799354"},"map_files_photo_id_array":[{"photo_id":"1386799361","filename":"file5"},{"photo_id":"1386799350","filename":"file2"},{"photo_id":"1386799358","filename":"file4"},{"photo_id":"1386799346","filename":"file1"},{"photo_id":"1386799343","filename":"file0"},{"photo_id":"1386799354","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799361":["hashtag1","hashtag2"]},{"1386799358":["hashtag1","hashtag2"]},{"1386799343":["hashtag1","hashtag2"]},{"1386799346":["hashtag1","hashtag2"]},{"1386799354":["hashtag1","hashtag2"]},{"1386799350":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799361, 1386799358, 1386799343, 1386799346, 1386799354, 1386799350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36290144920349 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:29:17.070002
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_45_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_24_9672.jpg', 2), ('/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_15_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_45_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_45_10646.jpg', 2), ('/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_34_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_45_9661.jpg', '/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_24_9672.jpg', '/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_15_9662.jpg', '/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_45_9667.jpg', '/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_45_10646.jpg', '/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_45_9661.jpg
/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_24_9672.jpg
/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_15_9662.jpg
/home/nano/Desktop/images/29092025/23/28/image_29092025_23_28_45_9667.jpg
/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_45_10646.jpg
/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_34_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799391","1386799394","1386799397","1386799387","1386799381","1386799375"],"photo_ids_order":["1386799375","1386799381","1386799387","1386799391","1386799394","1386799397"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9146a03f888d077f08d2113ca424919e.jpg","text":"TemporaryFile(/tmp/multipartBody3533345728060571073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418735,"filename":"image_29092025_23_28_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b40c325dd53113309f0973678544ea14.jpg","text":"TemporaryFile(/tmp/multipartBody8727743576338499321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418735,"filename":"image_29092025_19_16_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/9/29/d3c78ddfe333875dda8243926b1e933d.jpg","text":"TemporaryFile(/tmp/multipartBody222701913262968041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418735,"filename":"image_29092025_19_16_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4225377e6735fbccaf6e7f5fb3c644f3.jpg","text":"TemporaryFile(/tmp/multipartBody8416009796721044249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418735,"filename":"image_29092025_23_29_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/09d9774bac38b0e9aa37d6f782f26e35.jpg","text":"TemporaryFile(/tmp/multipartBody2259892288655172173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418735,"filename":"image_29092025_23_29_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b6ecb24eed3d24d194ea49b5d9f0d751.jpg","text":"TemporaryFile(/tmp/multipartBody7519123821403348280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418735,"filename":"image_29092025_23_29_45_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799387","file1":"1386799381","file0":"1386799375","file4":"1386799394","file5":"1386799397","file3":"1386799391"},"map_files_photo_id_array":[{"photo_id":"1386799397","filename":"file5"},{"photo_id":"1386799387","filename":"file2"},{"photo_id":"1386799394","filename":"file4"},{"photo_id":"1386799381","filename":"file1"},{"photo_id":"1386799375","filename":"file0"},{"photo_id":"1386799391","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799391":["hashtag1","hashtag2"]},{"1386799394":["hashtag1","hashtag2"]},{"1386799397":["hashtag1","hashtag2"]},{"1386799387":["hashtag1","hashtag2"]},{"1386799381":["hashtag1","hashtag2"]},{"1386799375":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799391, 1386799394, 1386799397, 1386799387, 1386799381, 1386799375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26177716255188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:30:02.654010
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_25_10650.jpg', 2), ('/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_14_9697.jpg', 2), ('/home/nano/Desktop/images/29092025/19/15/image_29092025_19_16_04_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_55_10638.jpg', 2), ('/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_44_9631.jpg', 2), ('/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_34_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_25_10650.jpg', '/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_14_9697.jpg', '/home/nano/Desktop/images/29092025/19/15/image_29092025_19_16_04_9664.jpg', '/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_55_10638.jpg', '/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_44_9631.jpg', '/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_34_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_25_10650.jpg
/home/nano/Desktop/images/29092025/19/16/image_29092025_19_16_14_9697.jpg
/home/nano/Desktop/images/29092025/19/15/image_29092025_19_16_04_9664.jpg
/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_55_10638.jpg
/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_44_9631.jpg
/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_34_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799455","1386799460","1386799451","1386799447","1386799432","1386799464"],"photo_ids_order":["1386799432","1386799447","1386799451","1386799455","1386799460","1386799464"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e335d05190fb99cb9c77f061d33273bb.jpg","text":"TemporaryFile(/tmp/multipartBody5605499252858784986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181464475,"filename":"image_29092025_19_15_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2c02991e528e10a25350bdd415136e67.jpg","text":"TemporaryFile(/tmp/multipartBody6948335920785861102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181464475,"filename":"image_29092025_19_15_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/89c237b7724f5ff92428521fe8db8120.jpg","text":"TemporaryFile(/tmp/multipartBody4361589798409098245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181464475,"filename":"image_29092025_19_16_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/9/29/040758845a62cfbb8d8809ed5dde44e3.jpg","text":"TemporaryFile(/tmp/multipartBody8733561444451612903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181464475,"filename":"image_29092025_19_16_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/86651da4fffa0191424443f9cb1841b2.jpg","text":"TemporaryFile(/tmp/multipartBody517807233234978479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181464475,"filename":"image_29092025_19_16_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/9/29/d5ee7d3b7e9aa90f8e1f39018a73ad57.jpg","text":"TemporaryFile(/tmp/multipartBody2375312321940825261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181464475,"filename":"image_29092025_19_15_34_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799451","file1":"1386799447","file0":"1386799432","file4":"1386799460","file5":"1386799464","file3":"1386799455"},"map_files_photo_id_array":[{"photo_id":"1386799464","filename":"file5"},{"photo_id":"1386799451","filename":"file2"},{"photo_id":"1386799460","filename":"file4"},{"photo_id":"1386799447","filename":"file1"},{"photo_id":"1386799432","filename":"file0"},{"photo_id":"1386799455","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799455":["hashtag1","hashtag2"]},{"1386799460":["hashtag1","hashtag2"]},{"1386799451":["hashtag1","hashtag2"]},{"1386799447":["hashtag1","hashtag2"]},{"1386799432":["hashtag1","hashtag2"]},{"1386799464":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799455, 1386799460, 1386799451, 1386799447, 1386799432, 1386799464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.50402784347534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:31:17.297568
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_45_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_34_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_24_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_15_10696.jpg', 2), ('/home/nano/Desktop/images/29092025/23/30/image_29092025_23_31_04_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_54_9673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_45_10677.jpg', '/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_34_9669.jpg', '/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_24_9666.jpg', '/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_15_10696.jpg', '/home/nano/Desktop/images/29092025/23/30/image_29092025_23_31_04_9679.jpg', '/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_54_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_45_10677.jpg
/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_34_9669.jpg
/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_24_9666.jpg
/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_15_10696.jpg
/home/nano/Desktop/images/29092025/23/30/image_29092025_23_31_04_9679.jpg
/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_54_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799487","1386799498","1386799483","1386799502","1386799494","1386799507"],"photo_ids_order":["1386799483","1386799487","1386799494","1386799498","1386799502","1386799507"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b402c17b79ce7053c61104fe3a8ac677.jpg","text":"TemporaryFile(/tmp/multipartBody4162605237082756566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181538998,"filename":"image_29092025_23_31_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e920e3225b9989cf9d2a3fc80e986e8e.jpg","text":"TemporaryFile(/tmp/multipartBody5793202093699448807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181538998,"filename":"image_29092025_23_31_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2549ec00c2644ca3ae0f8d6d9cc5fdc1.jpg","text":"TemporaryFile(/tmp/multipartBody6413236132159446980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181538998,"filename":"image_29092025_23_31_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a7c9a863822c32eac00cb725dc854d15.jpg","text":"TemporaryFile(/tmp/multipartBody5277687152998262074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181538998,"filename":"image_29092025_23_31_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2982bc410460dca482d6f1a343438525.jpg","text":"TemporaryFile(/tmp/multipartBody5024002965841568405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181538998,"filename":"image_29092025_23_31_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/49087d8bb8c32f4e8faddf21e5beed0d.jpg","text":"TemporaryFile(/tmp/multipartBody7611219192497072028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181538998,"filename":"image_29092025_23_30_54_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799494","file1":"1386799487","file0":"1386799483","file4":"1386799502","file5":"1386799507","file3":"1386799498"},"map_files_photo_id_array":[{"photo_id":"1386799507","filename":"file5"},{"photo_id":"1386799494","filename":"file2"},{"photo_id":"1386799502","filename":"file4"},{"photo_id":"1386799487","filename":"file1"},{"photo_id":"1386799483","filename":"file0"},{"photo_id":"1386799498","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799487":["hashtag1","hashtag2"]},{"1386799498":["hashtag1","hashtag2"]},{"1386799483":["hashtag1","hashtag2"]},{"1386799502":["hashtag1","hashtag2"]},{"1386799494":["hashtag1","hashtag2"]},{"1386799507":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799487, 1386799498, 1386799483, 1386799502, 1386799494, 1386799507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24048733711243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:32:03.032034
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_45_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_34_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_24_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_15_9702.jpg', 2), ('/home/nano/Desktop/images/29092025/23/29/image_29092025_23_30_05_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_54_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_45_10675.jpg', '/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_34_9662.jpg', '/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_24_9667.jpg', '/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_15_9702.jpg', '/home/nano/Desktop/images/29092025/23/29/image_29092025_23_30_05_10683.jpg', '/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_45_10675.jpg
/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_34_9662.jpg
/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_24_9667.jpg
/home/nano/Desktop/images/29092025/23/30/image_29092025_23_30_15_9702.jpg
/home/nano/Desktop/images/29092025/23/29/image_29092025_23_30_05_10683.jpg
/home/nano/Desktop/images/29092025/23/29/image_29092025_23_29_54_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":["1386799530","1386799533","1386799523","1386799526","1386799540","1386799519"],"photo_ids_order":["1386799519","1386799523","1386799526","1386799530","1386799533","1386799540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/40bcc4d3762d778feaf9ad1565746cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6501298326757962319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181584641,"filename":"image_29092025_23_30_15_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/818b34716b0da9f5c7510167d09a071c.jpg","text":"TemporaryFile(/tmp/multipartBody6828427363708435564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181584641,"filename":"image_29092025_23_30_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6b4e57c6fe88a5f4a770f953a2310314.jpg","text":"TemporaryFile(/tmp/multipartBody5048823266104416572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181584641,"filename":"image_29092025_23_30_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/630cc30b1e54460b24b1c783ca7500a8.jpg","text":"TemporaryFile(/tmp/multipartBody2663148010696451128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181584641,"filename":"image_29092025_23_30_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3e2eb5c9aa85012f7faedc69a8405161.jpg","text":"TemporaryFile(/tmp/multipartBody2477197163638844892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181584641,"filename":"image_29092025_23_29_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/465c3bbff9607167feed930cd49c973d.jpg","text":"TemporaryFile(/tmp/multipartBody9078189983642311444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181584641,"filename":"image_29092025_23_30_45_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799526","file1":"1386799523","file0":"1386799519","file4":"1386799533","file5":"1386799540","file3":"1386799530"},"map_files_photo_id_array":[{"photo_id":"1386799540","filename":"file5"},{"photo_id":"1386799526","filename":"file2"},{"photo_id":"1386799533","filename":"file4"},{"photo_id":"1386799523","filename":"file1"},{"photo_id":"1386799519","filename":"file0"},{"photo_id":"1386799530","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799530":["hashtag1","hashtag2"]},{"1386799533":["hashtag1","hashtag2"]},{"1386799523":["hashtag1","hashtag2"]},{"1386799526":["hashtag1","hashtag2"]},{"1386799540":["hashtag1","hashtag2"]},{"1386799519":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799530, 1386799533, 1386799523, 1386799526, 1386799540, 1386799519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.379016399383545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:32:47.422258
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_34_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_15_10693.jpg', 2), ('/home/nano/Desktop/images/29092025/23/31/image_29092025_23_32_04_9666.jpg', 2), ('/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_54_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_25_10698.jpg', 2), ('/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_14_9683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_34_9659.jpg', '/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_15_10693.jpg', '/home/nano/Desktop/images/29092025/23/31/image_29092025_23_32_04_9666.jpg', '/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_54_9662.jpg', '/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_25_10698.jpg', '/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_14_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_34_9659.jpg
/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_15_10693.jpg
/home/nano/Desktop/images/29092025/23/31/image_29092025_23_32_04_9666.jpg
/home/nano/Desktop/images/29092025/23/31/image_29092025_23_31_54_9662.jpg
/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_25_10698.jpg
/home/nano/Desktop/images/29092025/19/15/image_29092025_19_15_14_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799583","1386799580","1386799574","1386799577","1386799594","1386799590"],"photo_ids_order":["1386799574","1386799577","1386799580","1386799583","1386799590","1386799594"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b775e42974b9370ba451546bc7bbfc63.jpg","text":"TemporaryFile(/tmp/multipartBody22777750026348765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181630247,"filename":"image_29092025_23_31_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3e4a67eff2ebfb82c37577b87cdcf3c5.jpg","text":"TemporaryFile(/tmp/multipartBody8581610959324246487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181630247,"filename":"image_29092025_23_32_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/9/29/9c47da7f52b0f087717963bf96009345.jpg","text":"TemporaryFile(/tmp/multipartBody3529765720139895017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181630247,"filename":"image_29092025_23_32_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/74cec98e6bc0d3888df7f1e7d9b51553.jpg","text":"TemporaryFile(/tmp/multipartBody4537879253079232411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181630247,"filename":"image_29092025_23_32_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7cc4ac5642c98d3f47064fc33c12dd28.jpg","text":"TemporaryFile(/tmp/multipartBody6899446909040449357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181630247,"filename":"image_29092025_19_15_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/9/29/cf7a99bbbb97bf32d452a27a764172d6.jpg","text":"TemporaryFile(/tmp/multipartBody7474217883025840545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181630247,"filename":"image_29092025_19_15_25_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799580","file1":"1386799577","file0":"1386799574","file4":"1386799590","file5":"1386799594","file3":"1386799583"},"map_files_photo_id_array":[{"photo_id":"1386799594","filename":"file5"},{"photo_id":"1386799580","filename":"file2"},{"photo_id":"1386799590","filename":"file4"},{"photo_id":"1386799577","filename":"file1"},{"photo_id":"1386799574","filename":"file0"},{"photo_id":"1386799583","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799583":["hashtag1","hashtag2"]},{"1386799580":["hashtag1","hashtag2"]},{"1386799574":["hashtag1","hashtag2"]},{"1386799577":["hashtag1","hashtag2"]},{"1386799594":["hashtag1","hashtag2"]},{"1386799590":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799583, 1386799580, 1386799574, 1386799577, 1386799594, 1386799590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4121675491333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:33:32.529292
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_34_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_24_9659.jpg', 2), ('/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_15_10689.jpg', 2), ('/home/nano/Desktop/images/29092025/23/32/image_29092025_23_33_04_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_45_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_15_04_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_34_9664.jpg', '/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_24_9659.jpg', '/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_15_10689.jpg', '/home/nano/Desktop/images/29092025/23/32/image_29092025_23_33_04_9662.jpg', '/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_45_10668.jpg', '/home/nano/Desktop/images/29092025/19/14/image_29092025_19_15_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_34_9664.jpg
/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_24_9659.jpg
/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_15_10689.jpg
/home/nano/Desktop/images/29092025/23/32/image_29092025_23_33_04_9662.jpg
/home/nano/Desktop/images/29092025/23/32/image_29092025_23_32_45_10668.jpg
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_15_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":["1386799626","1386799614","1386799628","1386799621","1386799624","1386799618"],"photo_ids_order":["1386799614","1386799618","1386799621","1386799624","1386799626","1386799628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d4f61dcb86db3f96c0268c19b1b8eb19.jpg","text":"TemporaryFile(/tmp/multipartBody1796669201433627102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181674092,"filename":"image_29092025_23_32_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/860bd58ca2d4a9c61a99b66a251fc382.jpg","text":"TemporaryFile(/tmp/multipartBody5867681005888441415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181674092,"filename":"image_29092025_23_33_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ef2254451a15c488faea9d05f87a90a6.jpg","text":"TemporaryFile(/tmp/multipartBody3712955848823617965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181674092,"filename":"image_29092025_19_15_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/9/29/0de5207c627a9bd49d87843f0ec78ad5.jpg","text":"TemporaryFile(/tmp/multipartBody7035868942330261612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181674092,"filename":"image_29092025_23_33_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1539c07fe74d812e4e1058108ed725e5.jpg","text":"TemporaryFile(/tmp/multipartBody9165003996982368696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181674092,"filename":"image_29092025_23_33_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/9/29/d3965060eb83001a968c7d87ad0ff265.jpg","text":"TemporaryFile(/tmp/multipartBody5314029106193739755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181674092,"filename":"image_29092025_23_33_24_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799621","file1":"1386799618","file0":"1386799614","file4":"1386799626","file5":"1386799628","file3":"1386799624"},"map_files_photo_id_array":[{"photo_id":"1386799628","filename":"file5"},{"photo_id":"1386799621","filename":"file2"},{"photo_id":"1386799626","filename":"file4"},{"photo_id":"1386799618","filename":"file1"},{"photo_id":"1386799614","filename":"file0"},{"photo_id":"1386799624","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799626":["hashtag1","hashtag2"]},{"1386799614":["hashtag1","hashtag2"]},{"1386799628":["hashtag1","hashtag2"]},{"1386799621":["hashtag1","hashtag2"]},{"1386799624":["hashtag1","hashtag2"]},{"1386799618":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799626, 1386799614, 1386799628, 1386799621, 1386799624, 1386799618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36978101730347 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:34:17.620806
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_44_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_35_10666.jpg', 2), ('/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_24_9568.jpg', 2), ('/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_14_9595.jpg', 2), ('/home/nano/Desktop/images/29092025/23/33/image_29092025_23_34_05_10595.jpg', 2), ('/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_54_9578.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_44_9653.jpg', '/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_35_10666.jpg', '/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_24_9568.jpg', '/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_14_9595.jpg', '/home/nano/Desktop/images/29092025/23/33/image_29092025_23_34_05_10595.jpg', '/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_54_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_44_9653.jpg
/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_35_10666.jpg
/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_24_9568.jpg
/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_14_9595.jpg
/home/nano/Desktop/images/29092025/23/33/image_29092025_23_34_05_10595.jpg
/home/nano/Desktop/images/29092025/23/33/image_29092025_23_33_54_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799659","1386799653","1386799661","1386799649","1386799657","1386799645"],"photo_ids_order":["1386799645","1386799649","1386799653","1386799657","1386799659","1386799661"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c83d926836dac00a40d169b5f0cec300.jpg","text":"TemporaryFile(/tmp/multipartBody7412580442227161335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181718961,"filename":"image_29092025_23_34_05_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a79d0f33b7f64e8b448b158ff099414b.jpg","text":"TemporaryFile(/tmp/multipartBody4904929055734987107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181718961,"filename":"image_29092025_23_34_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e0d1cab0745881688351c57ef799cf52.jpg","text":"TemporaryFile(/tmp/multipartBody4901852676645039082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181718961,"filename":"image_29092025_23_33_54_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f236255bad21c7e1d2ec0cbe2e414356.jpg","text":"TemporaryFile(/tmp/multipartBody2895664745556309438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181718961,"filename":"image_29092025_23_34_35_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/88072aef26def4ba1ebe4621c9964a37.jpg","text":"TemporaryFile(/tmp/multipartBody1640227475071677068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181718961,"filename":"image_29092025_23_34_14_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8a9c0bccb2e8f2b48f657f9b51dd0c8e.jpg","text":"TemporaryFile(/tmp/multipartBody8996831299334372583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181718961,"filename":"image_29092025_23_34_44_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799653","file1":"1386799649","file0":"1386799645","file4":"1386799659","file5":"1386799661","file3":"1386799657"},"map_files_photo_id_array":[{"photo_id":"1386799661","filename":"file5"},{"photo_id":"1386799653","filename":"file2"},{"photo_id":"1386799659","filename":"file4"},{"photo_id":"1386799649","filename":"file1"},{"photo_id":"1386799645","filename":"file0"},{"photo_id":"1386799657","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799659":["hashtag1","hashtag2"]},{"1386799653":["hashtag1","hashtag2"]},{"1386799661":["hashtag1","hashtag2"]},{"1386799649":["hashtag1","hashtag2"]},{"1386799657":["hashtag1","hashtag2"]},{"1386799645":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799659, 1386799653, 1386799661, 1386799649, 1386799657, 1386799645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80382943153381 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:35:03.229732
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_55_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_45_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_34_9699.jpg', 2), ('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_25_9696.jpg', 2), ('/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_15_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/13/image_29092025_19_14_04_9677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_55_9699.jpg', '/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_45_10672.jpg', '/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_34_9699.jpg', '/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_25_9696.jpg', '/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_15_10670.jpg', '/home/nano/Desktop/images/29092025/19/13/image_29092025_19_14_04_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_55_9699.jpg
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_45_10672.jpg
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_34_9699.jpg
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_25_9696.jpg
/home/nano/Desktop/images/29092025/19/14/image_29092025_19_14_15_10670.jpg
/home/nano/Desktop/images/29092025/19/13/image_29092025_19_14_04_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":["1386799691","1386799676","1386799696","1386799687","1386799680","1386799683"],"photo_ids_order":["1386799676","1386799680","1386799683","1386799687","1386799691","1386799696"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4c33aa30f1c9678a3e99f1273fef0f00.jpg","text":"TemporaryFile(/tmp/multipartBody2638644504162031356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181765368,"filename":"image_29092025_19_14_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/9/29/99f506d2545445dad42269baffe3e303.jpg","text":"TemporaryFile(/tmp/multipartBody4704638166150425369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181765368,"filename":"image_29092025_19_14_55_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/180eee064ffd6f708c04efe61f70ba4e.jpg","text":"TemporaryFile(/tmp/multipartBody1289682288967350196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181765368,"filename":"image_29092025_19_14_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fb9d98cec4f80470f7572495eedd0aae.jpg","text":"TemporaryFile(/tmp/multipartBody5674966816850656015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181765368,"filename":"image_29092025_19_14_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/66a521e6a352c01b930d1905298ff5e8.jpg","text":"TemporaryFile(/tmp/multipartBody6965559201680873862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181765368,"filename":"image_29092025_19_14_45_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bf9b8fa9d01f351830a1e2278d62b802.jpg","text":"TemporaryFile(/tmp/multipartBody8607530758866101029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181765368,"filename":"image_29092025_19_14_34_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799683","file1":"1386799680","file0":"1386799676","file4":"1386799691","file5":"1386799696","file3":"1386799687"},"map_files_photo_id_array":[{"photo_id":"1386799696","filename":"file5"},{"photo_id":"1386799683","filename":"file2"},{"photo_id":"1386799691","filename":"file4"},{"photo_id":"1386799680","filename":"file1"},{"photo_id":"1386799676","filename":"file0"},{"photo_id":"1386799687","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799691":["hashtag1","hashtag2"]},{"1386799676":["hashtag1","hashtag2"]},{"1386799696":["hashtag1","hashtag2"]},{"1386799687":["hashtag1","hashtag2"]},{"1386799680":["hashtag1","hashtag2"]},{"1386799683":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799691, 1386799676, 1386799696, 1386799687, 1386799680, 1386799683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9449679851532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:35:47.718892
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_44_9656.jpg', 2), ('/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_35_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_25_10665.jpg', 2), ('/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_14_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_55_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_55_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_44_9656.jpg', '/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_35_9654.jpg', '/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_25_10665.jpg', '/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_14_9671.jpg', '/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_55_10664.jpg', '/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_55_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_44_9656.jpg
/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_35_9654.jpg
/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_25_10665.jpg
/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_14_9671.jpg
/home/nano/Desktop/images/29092025/23/34/image_29092025_23_34_55_10664.jpg
/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_55_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":["1386799731","1386799734","1386799742","1386799724","1386799738","1386799726"],"photo_ids_order":["1386799724","1386799726","1386799731","1386799734","1386799738","1386799742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d9c77efb8b16bbaa7da243b9d8acd459.jpg","text":"TemporaryFile(/tmp/multipartBody4309400657469497218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181809628,"filename":"image_29092025_23_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/9/29/969b2dc0f9f6631086a140d7d475c690.jpg","text":"TemporaryFile(/tmp/multipartBody6127832619175038971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181809628,"filename":"image_29092025_23_35_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/9/29/a456137f80b18cf6e69c2327effa41d2.jpg","text":"TemporaryFile(/tmp/multipartBody5610052964330416605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181809628,"filename":"image_29092025_19_13_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/950b20533895bddbd44589302ddd7793.jpg","text":"TemporaryFile(/tmp/multipartBody5454876992187735727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181809628,"filename":"image_29092025_23_35_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/9/29/4a07a9b25d18c69fc4a4f9c83a025f48.jpg","text":"TemporaryFile(/tmp/multipartBody688323929145196254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181809628,"filename":"image_29092025_23_34_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/238288ab4648728c1ba3a4f800a1ed56.jpg","text":"TemporaryFile(/tmp/multipartBody5208226041407816420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181809628,"filename":"image_29092025_23_35_35_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799731","file1":"1386799726","file0":"1386799724","file4":"1386799738","file5":"1386799742","file3":"1386799734"},"map_files_photo_id_array":[{"photo_id":"1386799742","filename":"file5"},{"photo_id":"1386799731","filename":"file2"},{"photo_id":"1386799738","filename":"file4"},{"photo_id":"1386799726","filename":"file1"},{"photo_id":"1386799724","filename":"file0"},{"photo_id":"1386799734","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799731":["hashtag1","hashtag2"]},{"1386799734":["hashtag1","hashtag2"]},{"1386799742":["hashtag1","hashtag2"]},{"1386799724":["hashtag1","hashtag2"]},{"1386799738":["hashtag1","hashtag2"]},{"1386799726":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799731, 1386799734, 1386799742, 1386799724, 1386799738, 1386799726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01406645774841 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:36:31.847061
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_35_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_25_10668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_14_9677.jpg', 2), ('/home/nano/Desktop/images/29092025/23/35/image_29092025_23_36_05_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_55_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_44_9660.jpg', '/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_35_9663.jpg', '/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_25_10668.jpg', '/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_14_9677.jpg', '/home/nano/Desktop/images/29092025/23/35/image_29092025_23_36_05_9670.jpg', '/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_55_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_44_9660.jpg
/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_35_9663.jpg
/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_25_10668.jpg
/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_14_9677.jpg
/home/nano/Desktop/images/29092025/23/35/image_29092025_23_36_05_9670.jpg
/home/nano/Desktop/images/29092025/23/35/image_29092025_23_35_55_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":["1386799764","1386799774","1386799771","1386799768","1386799779","1386799776"],"photo_ids_order":["1386799764","1386799768","1386799771","1386799774","1386799776","1386799779"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c503b22bd84ec394e8735a5b549f7973.jpg","text":"TemporaryFile(/tmp/multipartBody5394388314665359862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181853395,"filename":"image_29092025_23_36_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/188896203cc22fe87bae072cdd23757c.jpg","text":"TemporaryFile(/tmp/multipartBody1024274975310067642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181853395,"filename":"image_29092025_23_36_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/9/29/e3453af6970e34f577f869ce27864a00.jpg","text":"TemporaryFile(/tmp/multipartBody1391701702776500911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181853395,"filename":"image_29092025_23_36_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/013e5053060ed27b45b37e3f2bdfe285.jpg","text":"TemporaryFile(/tmp/multipartBody617495898401977896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181853395,"filename":"image_29092025_23_36_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6c2362175c96402243ec080f61026790.jpg","text":"TemporaryFile(/tmp/multipartBody6736764223256067755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181853395,"filename":"image_29092025_23_35_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f813a8af3c9e811b8ba254a9c9d23d52.jpg","text":"TemporaryFile(/tmp/multipartBody1893508089600510591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181853395,"filename":"image_29092025_23_36_05_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799771","file1":"1386799768","file0":"1386799764","file4":"1386799776","file5":"1386799779","file3":"1386799774"},"map_files_photo_id_array":[{"photo_id":"1386799779","filename":"file5"},{"photo_id":"1386799771","filename":"file2"},{"photo_id":"1386799776","filename":"file4"},{"photo_id":"1386799768","filename":"file1"},{"photo_id":"1386799764","filename":"file0"},{"photo_id":"1386799774","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799764":["hashtag1","hashtag2"]},{"1386799774":["hashtag1","hashtag2"]},{"1386799771":["hashtag1","hashtag2"]},{"1386799768":["hashtag1","hashtag2"]},{"1386799779":["hashtag1","hashtag2"]},{"1386799776":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799764, 1386799774, 1386799771, 1386799768, 1386799779, 1386799776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69892072677612 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:37:16.949764
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_35_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_24_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_14_9674.jpg', 2), ('/home/nano/Desktop/images/29092025/23/36/image_29092025_23_37_05_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_55_10688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_44_9660.jpg', '/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_35_10670.jpg', '/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_24_9660.jpg', '/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_14_9674.jpg', '/home/nano/Desktop/images/29092025/23/36/image_29092025_23_37_05_9664.jpg', '/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_55_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_44_9660.jpg
/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_35_10670.jpg
/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_24_9660.jpg
/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_14_9674.jpg
/home/nano/Desktop/images/29092025/23/36/image_29092025_23_37_05_9664.jpg
/home/nano/Desktop/images/29092025/23/36/image_29092025_23_36_55_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799812","1386799806","1386799796","1386799820","1386799802","1386799816"],"photo_ids_order":["1386799796","1386799802","1386799806","1386799812","1386799816","1386799820"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b591c45900fb06cc30182c76c82996a0.jpg","text":"TemporaryFile(/tmp/multipartBody7299847668245854546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181898521,"filename":"image_29092025_23_37_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/9/29/178b675def8fbdeda9b03e28599aea00.jpg","text":"TemporaryFile(/tmp/multipartBody7204856849121355607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181898521,"filename":"image_29092025_23_37_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/9/29/70d3659d8dd43da34c61eb43c2ab3441.jpg","text":"TemporaryFile(/tmp/multipartBody6025646827544288918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181898521,"filename":"image_29092025_23_37_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/13e75b18482aeeee3aaf0d973fb96f09.jpg","text":"TemporaryFile(/tmp/multipartBody1364165625309225015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181898521,"filename":"image_29092025_23_36_55_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ace22e1c9750b7abd39df731033122c1.jpg","text":"TemporaryFile(/tmp/multipartBody6830009489414313587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181898521,"filename":"image_29092025_23_37_35_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/05ef5425a46373555fe335b112e4923a.jpg","text":"TemporaryFile(/tmp/multipartBody6457363322391620485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181898521,"filename":"image_29092025_23_37_05_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799806","file1":"1386799802","file0":"1386799796","file4":"1386799816","file5":"1386799820","file3":"1386799812"},"map_files_photo_id_array":[{"photo_id":"1386799820","filename":"file5"},{"photo_id":"1386799806","filename":"file2"},{"photo_id":"1386799816","filename":"file4"},{"photo_id":"1386799802","filename":"file1"},{"photo_id":"1386799796","filename":"file0"},{"photo_id":"1386799812","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799812":["hashtag1","hashtag2"]},{"1386799806":["hashtag1","hashtag2"]},{"1386799796":["hashtag1","hashtag2"]},{"1386799820":["hashtag1","hashtag2"]},{"1386799802":["hashtag1","hashtag2"]},{"1386799816":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799812, 1386799806, 1386799796, 1386799820, 1386799802, 1386799816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35926580429077 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:38:02.709631
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_45_10682.jpg', 2), ('/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_34_9683.jpg', 2), ('/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_24_9742.jpg', 2), ('/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_15_10672.jpg', 2), ('/home/nano/Desktop/images/29092025/19/12/image_29092025_19_13_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_54_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_45_10682.jpg', '/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_34_9683.jpg', '/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_24_9742.jpg', '/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_15_10672.jpg', '/home/nano/Desktop/images/29092025/19/12/image_29092025_19_13_04_9673.jpg', '/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_54_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_45_10682.jpg
/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_34_9683.jpg
/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_24_9742.jpg
/home/nano/Desktop/images/29092025/19/13/image_29092025_19_13_15_10672.jpg
/home/nano/Desktop/images/29092025/19/12/image_29092025_19_13_04_9673.jpg
/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_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":["1386799865","1386799859","1386799853","1386799847","1386799837","1386799840"],"photo_ids_order":["1386799837","1386799840","1386799847","1386799853","1386799859","1386799865"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/336d522ba5c5bfe538c03c9b0720380d.jpg","text":"TemporaryFile(/tmp/multipartBody2489990135747026151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181944417,"filename":"image_29092025_19_12_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/9/29/a5d4eb46976a7dd99286e6fed2c23ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2221637285979666464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181944417,"filename":"image_29092025_19_13_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/9/29/2e7a779b43bae1cd07a1cf2463c7338a.jpg","text":"TemporaryFile(/tmp/multipartBody1974760475350343623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181944417,"filename":"image_29092025_19_13_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/9/29/90123f1b8e0511e9637c2449f6f24bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8309763525723173698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181944417,"filename":"image_29092025_19_13_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b0dc5999a8e1e2e5abf8c74c6e47cf2e.jpg","text":"TemporaryFile(/tmp/multipartBody913402294870981316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181944417,"filename":"image_29092025_19_13_45_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5a53e6e2e0ac798c8ea8200f65fa89a6.jpg","text":"TemporaryFile(/tmp/multipartBody5429885805194971998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181944417,"filename":"image_29092025_19_13_34_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799847","file1":"1386799840","file0":"1386799837","file4":"1386799859","file5":"1386799865","file3":"1386799853"},"map_files_photo_id_array":[{"photo_id":"1386799865","filename":"file5"},{"photo_id":"1386799847","filename":"file2"},{"photo_id":"1386799859","filename":"file4"},{"photo_id":"1386799840","filename":"file1"},{"photo_id":"1386799837","filename":"file0"},{"photo_id":"1386799853","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799865":["hashtag1","hashtag2"]},{"1386799859":["hashtag1","hashtag2"]},{"1386799853":["hashtag1","hashtag2"]},{"1386799847":["hashtag1","hashtag2"]},{"1386799837":["hashtag1","hashtag2"]},{"1386799840":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799865, 1386799859, 1386799853, 1386799847, 1386799837, 1386799840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.577853202819824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:38:47.003047
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_44_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_35_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_24_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_14_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/23/37/image_29092025_23_38_05_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_55_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_44_9649.jpg', '/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_35_10674.jpg', '/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_24_9662.jpg', '/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_14_9688.jpg', '/home/nano/Desktop/images/29092025/23/37/image_29092025_23_38_05_9665.jpg', '/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_55_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_44_9649.jpg
/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_35_10674.jpg
/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_24_9662.jpg
/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_14_9688.jpg
/home/nano/Desktop/images/29092025/23/37/image_29092025_23_38_05_9665.jpg
/home/nano/Desktop/images/29092025/23/37/image_29092025_23_37_55_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":["1386799914","1386799902","1386799908","1386799886","1386799896","1386799890"],"photo_ids_order":["1386799886","1386799890","1386799896","1386799902","1386799908","1386799914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cab622fe56cca802c3a48539bcd14d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2395766850192071159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181988686,"filename":"image_29092025_23_37_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b1379624c41b9aa53e7c41ca5c576d1e.jpg","text":"TemporaryFile(/tmp/multipartBody3328043479530859295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181988686,"filename":"image_29092025_23_38_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/9/29/96ffb0b07c45a7d7c00b1966f66d1e98.jpg","text":"TemporaryFile(/tmp/multipartBody2721693819476072752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181988686,"filename":"image_29092025_23_38_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8d54baee692e4e3bda5e310f8b45030b.jpg","text":"TemporaryFile(/tmp/multipartBody1580335127851813031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181988686,"filename":"image_29092025_23_38_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4ebc5208ed9a46ade04630dac0039aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3908242191499792501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181988686,"filename":"image_29092025_23_38_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/9/29/9cb9672612a9cbe18e51cb0757374757.jpg","text":"TemporaryFile(/tmp/multipartBody2785208509896201707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181988686,"filename":"image_29092025_23_38_35_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799896","file1":"1386799890","file0":"1386799886","file4":"1386799908","file5":"1386799914","file3":"1386799902"},"map_files_photo_id_array":[{"photo_id":"1386799914","filename":"file5"},{"photo_id":"1386799896","filename":"file2"},{"photo_id":"1386799908","filename":"file4"},{"photo_id":"1386799890","filename":"file1"},{"photo_id":"1386799886","filename":"file0"},{"photo_id":"1386799902","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799914":["hashtag1","hashtag2"]},{"1386799902":["hashtag1","hashtag2"]},{"1386799908":["hashtag1","hashtag2"]},{"1386799886":["hashtag1","hashtag2"]},{"1386799896":["hashtag1","hashtag2"]},{"1386799890":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799914, 1386799902, 1386799908, 1386799886, 1386799896, 1386799890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44215512275696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:39:32.155462
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_35_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_25_10673.jpg', 2), ('/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_14_9678.jpg', 2), ('/home/nano/Desktop/images/29092025/23/38/image_29092025_23_39_05_9657.jpg', 2), ('/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_55_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_44_9646.jpg', '/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_35_9665.jpg', '/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_25_10673.jpg', '/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_14_9678.jpg', '/home/nano/Desktop/images/29092025/23/38/image_29092025_23_39_05_9657.jpg', '/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_55_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_44_9646.jpg
/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_35_9665.jpg
/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_25_10673.jpg
/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_14_9678.jpg
/home/nano/Desktop/images/29092025/23/38/image_29092025_23_39_05_9657.jpg
/home/nano/Desktop/images/29092025/23/38/image_29092025_23_38_55_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":["1386799952","1386799931","1386799949","1386799940","1386799954","1386799936"],"photo_ids_order":["1386799931","1386799936","1386799940","1386799949","1386799952","1386799954"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f1228145db2582688ba1820bfe9abb1b.jpg","text":"TemporaryFile(/tmp/multipartBody5978241705769948191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182033631,"filename":"image_29092025_23_39_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/aedaf859d72aa67b40e917b8d3b05971.jpg","text":"TemporaryFile(/tmp/multipartBody6784642169708839831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182033631,"filename":"image_29092025_23_39_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9a0f8433dd58019041067dc14e267838.jpg","text":"TemporaryFile(/tmp/multipartBody9097827206053243036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182033631,"filename":"image_29092025_23_39_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/9/29/12592dc249d636d23bf43c26621c61c3.jpg","text":"TemporaryFile(/tmp/multipartBody3992428944011421581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182033631,"filename":"image_29092025_23_39_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e4a87e718f1379e529684ef755ddbd42.jpg","text":"TemporaryFile(/tmp/multipartBody1499014659195383291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182033631,"filename":"image_29092025_23_38_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4beb41936e3a0ab07cfc8b0cc83dff11.jpg","text":"TemporaryFile(/tmp/multipartBody4033788195015023364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182033631,"filename":"image_29092025_23_39_35_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799940","file1":"1386799936","file0":"1386799931","file4":"1386799952","file5":"1386799954","file3":"1386799949"},"map_files_photo_id_array":[{"photo_id":"1386799954","filename":"file5"},{"photo_id":"1386799940","filename":"file2"},{"photo_id":"1386799952","filename":"file4"},{"photo_id":"1386799936","filename":"file1"},{"photo_id":"1386799931","filename":"file0"},{"photo_id":"1386799949","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799952":["hashtag1","hashtag2"]},{"1386799931":["hashtag1","hashtag2"]},{"1386799949":["hashtag1","hashtag2"]},{"1386799940":["hashtag1","hashtag2"]},{"1386799954":["hashtag1","hashtag2"]},{"1386799936":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799952, 1386799931, 1386799949, 1386799940, 1386799954, 1386799936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.563724517822266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:40:17.302466
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_35_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_25_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_14_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/39/image_29092025_23_40_05_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_55_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_44_9646.jpg', '/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_35_9663.jpg', '/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_25_10669.jpg', '/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_14_9670.jpg', '/home/nano/Desktop/images/29092025/23/39/image_29092025_23_40_05_9662.jpg', '/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_44_9646.jpg
/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_35_9663.jpg
/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_25_10669.jpg
/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_14_9670.jpg
/home/nano/Desktop/images/29092025/23/39/image_29092025_23_40_05_9662.jpg
/home/nano/Desktop/images/29092025/23/39/image_29092025_23_39_55_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386799997","1386799976","1386799993","1386799995","1386799983","1386799989"],"photo_ids_order":["1386799976","1386799983","1386799989","1386799993","1386799995","1386799997"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/defd703bf13c4ef8ccdeeeaedc281ade.jpg","text":"TemporaryFile(/tmp/multipartBody1193516916123122225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182078884,"filename":"image_29092025_23_39_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e9bc8dc2099194933bed175b9b7c3e18.jpg","text":"TemporaryFile(/tmp/multipartBody7883350696819097081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182078884,"filename":"image_29092025_23_40_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/48df7db54c581d4e537a7f46e1cbd9c7.jpg","text":"TemporaryFile(/tmp/multipartBody4387591311519282938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182078884,"filename":"image_29092025_23_40_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/9/29/cb0eb2580df619f4b95aacd7be02d240.jpg","text":"TemporaryFile(/tmp/multipartBody3324984306916395938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182078884,"filename":"image_29092025_23_40_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e3c2aec049d3afeaa75eaff2370c043e.jpg","text":"TemporaryFile(/tmp/multipartBody6668086568285931733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182078884,"filename":"image_29092025_23_40_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c27c3ed313e1a4b2d11aaef6e93b260b.jpg","text":"TemporaryFile(/tmp/multipartBody4496511794203321449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182078884,"filename":"image_29092025_23_40_25_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799989","file1":"1386799983","file0":"1386799976","file4":"1386799995","file5":"1386799997","file3":"1386799993"},"map_files_photo_id_array":[{"photo_id":"1386799997","filename":"file5"},{"photo_id":"1386799989","filename":"file2"},{"photo_id":"1386799995","filename":"file4"},{"photo_id":"1386799983","filename":"file1"},{"photo_id":"1386799976","filename":"file0"},{"photo_id":"1386799993","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386799997":["hashtag1","hashtag2"]},{"1386799976":["hashtag1","hashtag2"]},{"1386799993":["hashtag1","hashtag2"]},{"1386799995":["hashtag1","hashtag2"]},{"1386799983":["hashtag1","hashtag2"]},{"1386799989":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386799997, 1386799976, 1386799993, 1386799995, 1386799983, 1386799989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79570269584656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:41:03.096205
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_45_10693.jpg', 2), ('/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_34_9669.jpg', 2), ('/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_24_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_15_10701.jpg', 2), ('/home/nano/Desktop/images/29092025/19/11/image_29092025_19_12_04_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_54_9677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_45_10693.jpg', '/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_34_9669.jpg', '/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_24_9684.jpg', '/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_15_10701.jpg', '/home/nano/Desktop/images/29092025/19/11/image_29092025_19_12_04_9692.jpg', '/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_54_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_45_10693.jpg
/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_34_9669.jpg
/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_24_9684.jpg
/home/nano/Desktop/images/29092025/19/12/image_29092025_19_12_15_10701.jpg
/home/nano/Desktop/images/29092025/19/11/image_29092025_19_12_04_9692.jpg
/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_54_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":["1386800021","1386800032","1386800026","1386800011","1386800037","1386800016"],"photo_ids_order":["1386800011","1386800016","1386800021","1386800026","1386800032","1386800037"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/17890f840c8c11766f661ec71d227d70.jpg","text":"TemporaryFile(/tmp/multipartBody4168750298793712604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182124714,"filename":"image_29092025_19_12_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a7813d2b551eccc024730fea5abf59a7.jpg","text":"TemporaryFile(/tmp/multipartBody1972356824786207749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182124714,"filename":"image_29092025_19_12_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/51bf01785b3459667536348de8aaed60.jpg","text":"TemporaryFile(/tmp/multipartBody715437034749155700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182124714,"filename":"image_29092025_19_12_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cb484f1a41ada9e14db0299e19eee2f7.jpg","text":"TemporaryFile(/tmp/multipartBody1526004473351546191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182124714,"filename":"image_29092025_19_12_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3b3dd78ec41abaaca46fc8c470e4f75f.jpg","text":"TemporaryFile(/tmp/multipartBody2684713144963560125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182124714,"filename":"image_29092025_19_11_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fe9607cfe1dff809cf7a1c7380043599.jpg","text":"TemporaryFile(/tmp/multipartBody736949823236471515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182124714,"filename":"image_29092025_19_12_34_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800021","file1":"1386800016","file0":"1386800011","file4":"1386800032","file5":"1386800037","file3":"1386800026"},"map_files_photo_id_array":[{"photo_id":"1386800037","filename":"file5"},{"photo_id":"1386800021","filename":"file2"},{"photo_id":"1386800032","filename":"file4"},{"photo_id":"1386800016","filename":"file1"},{"photo_id":"1386800011","filename":"file0"},{"photo_id":"1386800026","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800021":["hashtag1","hashtag2"]},{"1386800032":["hashtag1","hashtag2"]},{"1386800026":["hashtag1","hashtag2"]},{"1386800011":["hashtag1","hashtag2"]},{"1386800037":["hashtag1","hashtag2"]},{"1386800016":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800021, 1386800032, 1386800026, 1386800011, 1386800037, 1386800016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08839154243469 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:41:47.382228
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_44_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_35_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_25_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/23/40/image_29092025_23_41_05_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_55_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_45_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_44_9647.jpg', '/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_35_9646.jpg', '/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_25_10674.jpg', '/home/nano/Desktop/images/29092025/23/40/image_29092025_23_41_05_9651.jpg', '/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_55_10656.jpg', '/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_45_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_44_9647.jpg
/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_35_9646.jpg
/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_25_10674.jpg
/home/nano/Desktop/images/29092025/23/40/image_29092025_23_41_05_9651.jpg
/home/nano/Desktop/images/29092025/23/40/image_29092025_23_40_55_10656.jpg
/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_45_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800081","1386800060","1386800063","1386800077","1386800071","1386800068"],"photo_ids_order":["1386800060","1386800063","1386800068","1386800071","1386800077","1386800081"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f4ae254c3dec49e21652c58c60a5042e.jpg","text":"TemporaryFile(/tmp/multipartBody3573708736962283846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182169231,"filename":"image_29092025_19_11_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e9d0fbd8a20099fb91bb31a91a28c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody6402827141718891621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182169231,"filename":"image_29092025_23_41_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/98b2264e139a23d334562e21c7953192.jpg","text":"TemporaryFile(/tmp/multipartBody6709921264623753378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182169231,"filename":"image_29092025_23_41_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/372b1b47f442cfa216abcb22e0ecf287.jpg","text":"TemporaryFile(/tmp/multipartBody8984480545518835214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182169231,"filename":"image_29092025_23_40_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/94d3793f5a8ba1af4ae107f27ae46fad.jpg","text":"TemporaryFile(/tmp/multipartBody4289842431197645788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182169231,"filename":"image_29092025_23_41_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/beaf1b291d6390f32d6630f66c09da21.jpg","text":"TemporaryFile(/tmp/multipartBody2196437382883285367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182169231,"filename":"image_29092025_23_41_25_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800068","file1":"1386800063","file0":"1386800060","file4":"1386800077","file5":"1386800081","file3":"1386800071"},"map_files_photo_id_array":[{"photo_id":"1386800081","filename":"file5"},{"photo_id":"1386800068","filename":"file2"},{"photo_id":"1386800077","filename":"file4"},{"photo_id":"1386800063","filename":"file1"},{"photo_id":"1386800060","filename":"file0"},{"photo_id":"1386800071","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800081":["hashtag1","hashtag2"]},{"1386800060":["hashtag1","hashtag2"]},{"1386800063":["hashtag1","hashtag2"]},{"1386800077":["hashtag1","hashtag2"]},{"1386800071":["hashtag1","hashtag2"]},{"1386800068":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800081, 1386800060, 1386800063, 1386800077, 1386800071, 1386800068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.882630825042725 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:42:32.474407
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_44_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_34_9647.jpg', 2), ('/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_25_10648.jpg', 2), ('/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_14_9681.jpg', 2), ('/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_55_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_34_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_44_9646.jpg', '/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_34_9647.jpg', '/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_25_10648.jpg', '/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_14_9681.jpg', '/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_55_10657.jpg', '/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_44_9646.jpg
/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_34_9647.jpg
/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_25_10648.jpg
/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_14_9681.jpg
/home/nano/Desktop/images/29092025/23/41/image_29092025_23_41_55_10657.jpg
/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_34_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":["1386800117","1386800113","1386800106","1386800121","1386800100","1386800103"],"photo_ids_order":["1386800100","1386800103","1386800106","1386800113","1386800117","1386800121"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6669a0dfee9a3cabddd8578a0dc8042c.jpg","text":"TemporaryFile(/tmp/multipartBody6506376890941908739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182214267,"filename":"image_29092025_23_41_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2b9e58b840cb34b690556c6058fe9faa.jpg","text":"TemporaryFile(/tmp/multipartBody4969516597039881462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182214267,"filename":"image_29092025_23_42_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/9/29/1477a9a2e48e981e0cbbc9af4b4ea807.jpg","text":"TemporaryFile(/tmp/multipartBody9160048519173543718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182214267,"filename":"image_29092025_23_42_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/9/29/76eec83a7efe83cb033b4687014d4702.jpg","text":"TemporaryFile(/tmp/multipartBody6687905097350413129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182214267,"filename":"image_29092025_19_11_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ff4b1f651cfc05bd38f4e997f8f22f80.jpg","text":"TemporaryFile(/tmp/multipartBody5979084493194325797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182214267,"filename":"image_29092025_23_42_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/add6363eeee1b075bc36933d7d499287.jpg","text":"TemporaryFile(/tmp/multipartBody7209327058670934912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182214267,"filename":"image_29092025_23_42_34_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800106","file1":"1386800103","file0":"1386800100","file4":"1386800117","file5":"1386800121","file3":"1386800113"},"map_files_photo_id_array":[{"photo_id":"1386800121","filename":"file5"},{"photo_id":"1386800106","filename":"file2"},{"photo_id":"1386800117","filename":"file4"},{"photo_id":"1386800103","filename":"file1"},{"photo_id":"1386800100","filename":"file0"},{"photo_id":"1386800113","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800117":["hashtag1","hashtag2"]},{"1386800113":["hashtag1","hashtag2"]},{"1386800106":["hashtag1","hashtag2"]},{"1386800121":["hashtag1","hashtag2"]},{"1386800100":["hashtag1","hashtag2"]},{"1386800103":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800117, 1386800113, 1386800106, 1386800121, 1386800100, 1386800103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71322226524353 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:43:17.590416
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_44_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_34_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_25_10659.jpg', 2), ('/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_14_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/42/image_29092025_23_43_04_9663.jpg', 2), ('/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_55_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_44_9661.jpg', '/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_34_9663.jpg', '/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_25_10659.jpg', '/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_14_9670.jpg', '/home/nano/Desktop/images/29092025/23/42/image_29092025_23_43_04_9663.jpg', '/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_55_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_44_9661.jpg
/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_34_9663.jpg
/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_25_10659.jpg
/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_14_9670.jpg
/home/nano/Desktop/images/29092025/23/42/image_29092025_23_43_04_9663.jpg
/home/nano/Desktop/images/29092025/23/42/image_29092025_23_42_55_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800153","1386800141","1386800146","1386800149","1386800137","1386800157"],"photo_ids_order":["1386800137","1386800141","1386800146","1386800149","1386800153","1386800157"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7f532e9b0ed9ddcf76c382b642abd31c.jpg","text":"TemporaryFile(/tmp/multipartBody3990145226003691975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182259210,"filename":"image_29092025_23_43_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/9/29/5164a188b25a769ebfcfb157b3c4c4d9.jpg","text":"TemporaryFile(/tmp/multipartBody878583101420422593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182259210,"filename":"image_29092025_23_43_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ba4dd46bcb4853ebad326f0d4927f663.jpg","text":"TemporaryFile(/tmp/multipartBody3820129605957635243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182259210,"filename":"image_29092025_23_43_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1ca9a0af68288d8f65202abfd2c9a25f.jpg","text":"TemporaryFile(/tmp/multipartBody6639286470855212330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182259210,"filename":"image_29092025_23_43_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/9/29/71e094ce046c777427b05e1c76b0e8f5.jpg","text":"TemporaryFile(/tmp/multipartBody5531375305235938575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182259210,"filename":"image_29092025_23_43_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3566bcf53662728c45a08b21b28d4b30.jpg","text":"TemporaryFile(/tmp/multipartBody3075299957166798524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182259210,"filename":"image_29092025_23_42_55_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800146","file1":"1386800141","file0":"1386800137","file4":"1386800153","file5":"1386800157","file3":"1386800149"},"map_files_photo_id_array":[{"photo_id":"1386800157","filename":"file5"},{"photo_id":"1386800146","filename":"file2"},{"photo_id":"1386800153","filename":"file4"},{"photo_id":"1386800141","filename":"file1"},{"photo_id":"1386800137","filename":"file0"},{"photo_id":"1386800149","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800153":["hashtag1","hashtag2"]},{"1386800141":["hashtag1","hashtag2"]},{"1386800146":["hashtag1","hashtag2"]},{"1386800149":["hashtag1","hashtag2"]},{"1386800137":["hashtag1","hashtag2"]},{"1386800157":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800153, 1386800141, 1386800146, 1386800149, 1386800137, 1386800157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6096293926239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:44:03.303065
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_24_9684.jpg', 2), ('/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_15_9739.jpg', 2), ('/home/nano/Desktop/images/29092025/19/10/image_29092025_19_11_05_10686.jpg', 2), ('/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_54_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_45_9653.jpg', 2), ('/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_35_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_24_9684.jpg', '/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_15_9739.jpg', '/home/nano/Desktop/images/29092025/19/10/image_29092025_19_11_05_10686.jpg', '/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_54_9685.jpg', '/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_45_9653.jpg', '/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_24_9684.jpg
/home/nano/Desktop/images/29092025/19/11/image_29092025_19_11_15_9739.jpg
/home/nano/Desktop/images/29092025/19/10/image_29092025_19_11_05_10686.jpg
/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_54_9685.jpg
/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_45_9653.jpg
/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_35_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800174","1386800177","1386800191","1386800185","1386800170","1386800181"],"photo_ids_order":["1386800170","1386800174","1386800177","1386800181","1386800185","1386800191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a3a2166c90e4bc7736dcfb9c50c214d3.jpg","text":"TemporaryFile(/tmp/multipartBody4097771950365573372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182305265,"filename":"image_29092025_19_11_15_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/15067349b2f0919aa40919fb2c213d02.jpg","text":"TemporaryFile(/tmp/multipartBody4959996970222175688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182305265,"filename":"image_29092025_19_11_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4aa2447abc02adc4e46b2440755f1d3d.jpg","text":"TemporaryFile(/tmp/multipartBody9154224106995001936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182305265,"filename":"image_29092025_19_10_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/42c134fd934c6d7ed141b014323b6373.jpg","text":"TemporaryFile(/tmp/multipartBody4061044857249189382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182305265,"filename":"image_29092025_19_10_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bc034c86e6545d8cddd239af522acb43.jpg","text":"TemporaryFile(/tmp/multipartBody7924961276330797138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182305265,"filename":"image_29092025_19_11_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1aca7c89a0592edf7049ffddbe0cff9e.jpg","text":"TemporaryFile(/tmp/multipartBody8653882062388243921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182305265,"filename":"image_29092025_19_10_54_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800177","file1":"1386800174","file0":"1386800170","file4":"1386800185","file5":"1386800191","file3":"1386800181"},"map_files_photo_id_array":[{"photo_id":"1386800191","filename":"file5"},{"photo_id":"1386800177","filename":"file2"},{"photo_id":"1386800185","filename":"file4"},{"photo_id":"1386800174","filename":"file1"},{"photo_id":"1386800170","filename":"file0"},{"photo_id":"1386800181","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800174":["hashtag1","hashtag2"]},{"1386800177":["hashtag1","hashtag2"]},{"1386800191":["hashtag1","hashtag2"]},{"1386800185":["hashtag1","hashtag2"]},{"1386800170":["hashtag1","hashtag2"]},{"1386800181":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800174, 1386800177, 1386800191, 1386800185, 1386800170, 1386800181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72886371612549 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:44:47.734779
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_44_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_34_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_14_9698.jpg', 2), ('/home/nano/Desktop/images/29092025/23/43/image_29092025_23_44_04_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_55_10664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_24_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_44_9660.jpg', '/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_34_9662.jpg', '/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_14_9698.jpg', '/home/nano/Desktop/images/29092025/23/43/image_29092025_23_44_04_9664.jpg', '/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_55_10664.jpg', '/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_24_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_44_9660.jpg
/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_34_9662.jpg
/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_14_9698.jpg
/home/nano/Desktop/images/29092025/23/43/image_29092025_23_44_04_9664.jpg
/home/nano/Desktop/images/29092025/23/43/image_29092025_23_43_55_10664.jpg
/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_24_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800228","1386800216","1386800213","1386800224","1386800218","1386800220"],"photo_ids_order":["1386800213","1386800216","1386800218","1386800220","1386800224","1386800228"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e35537971589563afd943272c1a74ac6.jpg","text":"TemporaryFile(/tmp/multipartBody3879754783734994946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182349466,"filename":"image_29092025_19_10_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/12d0962b68810f5aa73068e10065afb4.jpg","text":"TemporaryFile(/tmp/multipartBody713019914615811702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182349466,"filename":"image_29092025_23_44_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9a06a349aaff88107066663435b3ce68.jpg","text":"TemporaryFile(/tmp/multipartBody485275802071415231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182349466,"filename":"image_29092025_23_44_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/18f55ef8effcb5e5e7f5211bbbf77c20.jpg","text":"TemporaryFile(/tmp/multipartBody8787304292431424006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182349466,"filename":"image_29092025_23_43_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fbaef346950e13b9347d9e1b0f7fd1b2.jpg","text":"TemporaryFile(/tmp/multipartBody4464009438617552739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182349466,"filename":"image_29092025_23_44_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/db590c8c5337268ad0872eeb8621f11c.jpg","text":"TemporaryFile(/tmp/multipartBody3341092286781523302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182349466,"filename":"image_29092025_23_44_04_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800218","file1":"1386800216","file0":"1386800213","file4":"1386800224","file5":"1386800228","file3":"1386800220"},"map_files_photo_id_array":[{"photo_id":"1386800228","filename":"file5"},{"photo_id":"1386800218","filename":"file2"},{"photo_id":"1386800224","filename":"file4"},{"photo_id":"1386800216","filename":"file1"},{"photo_id":"1386800213","filename":"file0"},{"photo_id":"1386800220","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800228":["hashtag1","hashtag2"]},{"1386800216":["hashtag1","hashtag2"]},{"1386800213":["hashtag1","hashtag2"]},{"1386800224":["hashtag1","hashtag2"]},{"1386800218":["hashtag1","hashtag2"]},{"1386800220":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800228, 1386800216, 1386800213, 1386800224, 1386800218, 1386800220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.825844526290894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:45:31.836083
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_44_9662.jpg', 2), ('/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_34_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_25_10670.jpg', 2), ('/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_14_9682.jpg', 2), ('/home/nano/Desktop/images/29092025/23/44/image_29092025_23_45_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_55_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_44_9662.jpg', '/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_34_9660.jpg', '/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_25_10670.jpg', '/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_14_9682.jpg', '/home/nano/Desktop/images/29092025/23/44/image_29092025_23_45_04_9673.jpg', '/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_55_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_44_9662.jpg
/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_34_9660.jpg
/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_25_10670.jpg
/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_14_9682.jpg
/home/nano/Desktop/images/29092025/23/44/image_29092025_23_45_04_9673.jpg
/home/nano/Desktop/images/29092025/23/44/image_29092025_23_44_55_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800249","1386800258","1386800266","1386800245","1386800253","1386800262"],"photo_ids_order":["1386800245","1386800249","1386800253","1386800258","1386800262","1386800266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ebd317e091cd9ded2eeaaf02fbe86e99.jpg","text":"TemporaryFile(/tmp/multipartBody6847873829284364773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182393550,"filename":"image_29092025_23_45_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/9/29/d6ae2cdfe6efe9fc3ea86de760f4bce9.jpg","text":"TemporaryFile(/tmp/multipartBody7341067548961535267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182393550,"filename":"image_29092025_23_45_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2cb15c4774dc9999b82321589cdd1d83.jpg","text":"TemporaryFile(/tmp/multipartBody7819018747899098866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182393550,"filename":"image_29092025_23_44_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/76a2a6cf257ff64287b707544ebbbeaf.jpg","text":"TemporaryFile(/tmp/multipartBody4632700247563040963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182393550,"filename":"image_29092025_23_45_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/abb3ea60a247d160c87a71f2b30f92cb.jpg","text":"TemporaryFile(/tmp/multipartBody8868899269883005215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182393550,"filename":"image_29092025_23_45_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f5e4d418ceaf36f2a889f64529a8e7da.jpg","text":"TemporaryFile(/tmp/multipartBody5451429751749764284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182393550,"filename":"image_29092025_23_45_04_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800253","file1":"1386800249","file0":"1386800245","file4":"1386800262","file5":"1386800266","file3":"1386800258"},"map_files_photo_id_array":[{"photo_id":"1386800266","filename":"file5"},{"photo_id":"1386800253","filename":"file2"},{"photo_id":"1386800262","filename":"file4"},{"photo_id":"1386800249","filename":"file1"},{"photo_id":"1386800245","filename":"file0"},{"photo_id":"1386800258","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800249":["hashtag1","hashtag2"]},{"1386800258":["hashtag1","hashtag2"]},{"1386800266":["hashtag1","hashtag2"]},{"1386800245":["hashtag1","hashtag2"]},{"1386800253":["hashtag1","hashtag2"]},{"1386800262":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800249, 1386800258, 1386800266, 1386800245, 1386800253, 1386800262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6791296005249 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:46:16.937060
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_45_10583.jpg', 2), ('/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_34_9661.jpg', 2), ('/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_25_10604.jpg', 2), ('/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_14_9607.jpg', 2), ('/home/nano/Desktop/images/29092025/23/45/image_29092025_23_46_04_9651.jpg', 2), ('/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_55_10680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_45_10583.jpg', '/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_34_9661.jpg', '/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_25_10604.jpg', '/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_14_9607.jpg', '/home/nano/Desktop/images/29092025/23/45/image_29092025_23_46_04_9651.jpg', '/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_55_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_45_10583.jpg
/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_34_9661.jpg
/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_25_10604.jpg
/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_14_9607.jpg
/home/nano/Desktop/images/29092025/23/45/image_29092025_23_46_04_9651.jpg
/home/nano/Desktop/images/29092025/23/45/image_29092025_23_45_55_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":["1386800287","1386800306","1386800295","1386800283","1386800301","1386800291"],"photo_ids_order":["1386800283","1386800287","1386800291","1386800295","1386800301","1386800306"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/209d861ba581073f5c87d5a473322ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5180024389199845946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182438473,"filename":"image_29092025_23_46_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6a2ee64e91c984e08a2c764624d79e9e.jpg","text":"TemporaryFile(/tmp/multipartBody2980398177451430759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182438473,"filename":"image_29092025_23_45_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c05c25654763c6d2099f2a2af46e35bd.jpg","text":"TemporaryFile(/tmp/multipartBody3020461776651660429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182438473,"filename":"image_29092025_23_46_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/19c35655e2f4ce129f6d582a95a629bc.jpg","text":"TemporaryFile(/tmp/multipartBody4275645518243700016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182438473,"filename":"image_29092025_23_46_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a62724120d3ba00aadd1a04c12a89905.jpg","text":"TemporaryFile(/tmp/multipartBody5194818226336694127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182438473,"filename":"image_29092025_23_46_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/9/29/0c23703bc199320f05a2be900cff6ecc.jpg","text":"TemporaryFile(/tmp/multipartBody6138964877710887437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182438473,"filename":"image_29092025_23_46_25_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800291","file1":"1386800287","file0":"1386800283","file4":"1386800301","file5":"1386800306","file3":"1386800295"},"map_files_photo_id_array":[{"photo_id":"1386800306","filename":"file5"},{"photo_id":"1386800291","filename":"file2"},{"photo_id":"1386800301","filename":"file4"},{"photo_id":"1386800287","filename":"file1"},{"photo_id":"1386800283","filename":"file0"},{"photo_id":"1386800295","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800287":["hashtag1","hashtag2"]},{"1386800306":["hashtag1","hashtag2"]},{"1386800295":["hashtag1","hashtag2"]},{"1386800283":["hashtag1","hashtag2"]},{"1386800301":["hashtag1","hashtag2"]},{"1386800291":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800287, 1386800306, 1386800295, 1386800283, 1386800301, 1386800291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15399718284607 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:47:02.862746
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_15_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_10_05_10675.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_54_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_45_9716.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_35_10732.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_24_9791.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_15_9665.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_10_05_10675.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_54_9652.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_45_9716.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_35_10732.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_24_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/10/image_29092025_19_10_15_9665.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_10_05_10675.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_54_9652.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_45_9716.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_35_10732.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_24_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800327","1386800330","1386800341","1386800334","1386800322","1386800346"],"photo_ids_order":["1386800322","1386800327","1386800330","1386800334","1386800341","1386800346"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fd7642e01b7da18ce3b6c7fcb4fbe8e5.jpg","text":"TemporaryFile(/tmp/multipartBody8093875333061572220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182484503,"filename":"image_29092025_19_10_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b553f9963e7bd3da58356af53cd1aa5d.jpg","text":"TemporaryFile(/tmp/multipartBody2515760096321428841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182484503,"filename":"image_29092025_19_09_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c802592bebde582683ebdf79ddefb74c.jpg","text":"TemporaryFile(/tmp/multipartBody3670959245762272713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182484503,"filename":"image_29092025_19_09_35_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/01cb1158a9ac531f2727ef8ca6ffa219.jpg","text":"TemporaryFile(/tmp/multipartBody8524984225415522955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182484503,"filename":"image_29092025_19_09_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c0e60cf5ed5e4a7e8bb2942a3f281ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5394333045989092104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182484503,"filename":"image_29092025_19_10_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eda6d31ad848af1c1d12fdeaeeffa885.jpg","text":"TemporaryFile(/tmp/multipartBody5453172158929495681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182484503,"filename":"image_29092025_19_09_24_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800330","file1":"1386800327","file0":"1386800322","file4":"1386800341","file5":"1386800346","file3":"1386800334"},"map_files_photo_id_array":[{"photo_id":"1386800346","filename":"file5"},{"photo_id":"1386800330","filename":"file2"},{"photo_id":"1386800341","filename":"file4"},{"photo_id":"1386800327","filename":"file1"},{"photo_id":"1386800322","filename":"file0"},{"photo_id":"1386800334","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800327":["hashtag1","hashtag2"]},{"1386800330":["hashtag1","hashtag2"]},{"1386800341":["hashtag1","hashtag2"]},{"1386800334":["hashtag1","hashtag2"]},{"1386800322":["hashtag1","hashtag2"]},{"1386800346":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800327, 1386800330, 1386800341, 1386800334, 1386800322, 1386800346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.327744245529175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:47:47.047516
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/46/image_29092025_23_47_04_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_55_9570.jpg', 2), ('/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_14_9715.jpg', 2), ('/home/nano/Desktop/images/29092025/19/08/image_29092025_19_09_05_9679.jpg', 2), ('/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_55_10687.jpg', 2), ('/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/46/image_29092025_23_47_04_9679.jpg', '/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_55_9570.jpg', '/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_14_9715.jpg', '/home/nano/Desktop/images/29092025/19/08/image_29092025_19_09_05_9679.jpg', '/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_55_10687.jpg', '/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/46/image_29092025_23_47_04_9679.jpg
/home/nano/Desktop/images/29092025/23/46/image_29092025_23_46_55_9570.jpg
/home/nano/Desktop/images/29092025/19/09/image_29092025_19_09_14_9715.jpg
/home/nano/Desktop/images/29092025/19/08/image_29092025_19_09_05_9679.jpg
/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_55_10687.jpg
/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_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":["1386800372","1386800402","1386800377","1386800407","1386800397","1386800385"],"photo_ids_order":["1386800372","1386800377","1386800385","1386800397","1386800402","1386800407"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4ea9215eaff878c3192e73ed589322fe.jpg","text":"TemporaryFile(/tmp/multipartBody4612643356880334950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182528898,"filename":"image_29092025_23_47_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/26d4a0a410f7307262f5fb8083d9e8e0.jpg","text":"TemporaryFile(/tmp/multipartBody6188290030597210974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182528898,"filename":"image_29092025_19_08_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f7891928069bac9fef4a3749dd87e34a.jpg","text":"TemporaryFile(/tmp/multipartBody1640520311727347044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182528898,"filename":"image_29092025_23_46_55_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7324f26b5dc693c44a193001b2f622e8.jpg","text":"TemporaryFile(/tmp/multipartBody4722645863180361116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182528898,"filename":"image_29092025_19_08_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/9/29/217090c2514c108d1e787fe6377dc3ff.jpg","text":"TemporaryFile(/tmp/multipartBody7144577040253795448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182528898,"filename":"image_29092025_19_09_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/163ec486581452a2ed10d7d04a489783.jpg","text":"TemporaryFile(/tmp/multipartBody7555094943513783444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182528898,"filename":"image_29092025_19_09_14_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800385","file1":"1386800377","file0":"1386800372","file4":"1386800402","file5":"1386800407","file3":"1386800397"},"map_files_photo_id_array":[{"photo_id":"1386800407","filename":"file5"},{"photo_id":"1386800385","filename":"file2"},{"photo_id":"1386800402","filename":"file4"},{"photo_id":"1386800377","filename":"file1"},{"photo_id":"1386800372","filename":"file0"},{"photo_id":"1386800397","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800372":["hashtag1","hashtag2"]},{"1386800402":["hashtag1","hashtag2"]},{"1386800377":["hashtag1","hashtag2"]},{"1386800407":["hashtag1","hashtag2"]},{"1386800397":["hashtag1","hashtag2"]},{"1386800385":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800372, 1386800402, 1386800377, 1386800407, 1386800397, 1386800385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.908066749572754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:48:32.130262
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_45_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_34_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_25_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_15_10683.jpg', 2), ('/home/nano/Desktop/images/29092025/23/47/image_29092025_23_47_15_10722.jpg', 2), ('/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_35_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_45_10658.jpg', '/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_34_9645.jpg', '/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_25_9649.jpg', '/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_15_10683.jpg', '/home/nano/Desktop/images/29092025/23/47/image_29092025_23_47_15_10722.jpg', '/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_35_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_45_10658.jpg
/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_34_9645.jpg
/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_25_9649.jpg
/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_15_10683.jpg
/home/nano/Desktop/images/29092025/23/47/image_29092025_23_47_15_10722.jpg
/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_35_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":["1386800438","1386800426","1386800435","1386800420","1386800423","1386800431"],"photo_ids_order":["1386800420","1386800423","1386800426","1386800431","1386800435","1386800438"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8f87cdeca7bb568d6a7259d19f39fd46.jpg","text":"TemporaryFile(/tmp/multipartBody8317437602182187752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182573863,"filename":"image_29092025_19_08_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4d1ffe4b3796b8e94df2ed3b7d13dcfc.jpg","text":"TemporaryFile(/tmp/multipartBody5518131743722112618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182573863,"filename":"image_29092025_23_48_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/600565ee7117168edb00fbddcf1613bd.jpg","text":"TemporaryFile(/tmp/multipartBody6665477784107770731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182573863,"filename":"image_29092025_23_47_15_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/653b6a10147ed7bf39ea828d0bcf8e49.jpg","text":"TemporaryFile(/tmp/multipartBody5873016563941763266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182573863,"filename":"image_29092025_23_48_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/44d292054bc8c567d7aa2d53fc16468d.jpg","text":"TemporaryFile(/tmp/multipartBody6091848757824674110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182573863,"filename":"image_29092025_23_48_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/9/29/0bcf6d1124216b06cf8d4cfa7a181511.jpg","text":"TemporaryFile(/tmp/multipartBody2098077864190177810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182573863,"filename":"image_29092025_23_48_15_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800426","file1":"1386800423","file0":"1386800420","file4":"1386800435","file5":"1386800438","file3":"1386800431"},"map_files_photo_id_array":[{"photo_id":"1386800438","filename":"file5"},{"photo_id":"1386800426","filename":"file2"},{"photo_id":"1386800435","filename":"file4"},{"photo_id":"1386800423","filename":"file1"},{"photo_id":"1386800420","filename":"file0"},{"photo_id":"1386800431","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800438":["hashtag1","hashtag2"]},{"1386800426":["hashtag1","hashtag2"]},{"1386800435":["hashtag1","hashtag2"]},{"1386800420":["hashtag1","hashtag2"]},{"1386800423":["hashtag1","hashtag2"]},{"1386800431":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800438, 1386800426, 1386800435, 1386800420, 1386800423, 1386800431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0526168346405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:49:17.252038
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_54_9664.jpg', 2), ('/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_25_10766.jpg', 2), ('/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_14_9725.jpg', 2), ('/home/nano/Desktop/images/29092025/19/07/image_29092025_19_08_04_9705.jpg', 2), ('/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_55_10706.jpg', 2), ('/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_44_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_54_9664.jpg', '/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_25_10766.jpg', '/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_14_9725.jpg', '/home/nano/Desktop/images/29092025/19/07/image_29092025_19_08_04_9705.jpg', '/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_55_10706.jpg', '/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_44_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/48/image_29092025_23_48_54_9664.jpg
/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_25_10766.jpg
/home/nano/Desktop/images/29092025/19/08/image_29092025_19_08_14_9725.jpg
/home/nano/Desktop/images/29092025/19/07/image_29092025_19_08_04_9705.jpg
/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_55_10706.jpg
/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_44_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":["1386800465","1386800479","1386800470","1386800458","1386800474","1386800483"],"photo_ids_order":["1386800458","1386800465","1386800470","1386800474","1386800479","1386800483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1fdfff5ea236980f7d6816b54682d107.jpg","text":"TemporaryFile(/tmp/multipartBody4024738298722977828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182618994,"filename":"image_29092025_19_08_25_10766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5c47b519e3edd3ac09dc7f4926791156.jpg","text":"TemporaryFile(/tmp/multipartBody6268183853721812724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182618994,"filename":"image_29092025_19_07_55_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6772f4126dec593b8e6a0d7786f86d51.jpg","text":"TemporaryFile(/tmp/multipartBody849354706979296106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182618994,"filename":"image_29092025_19_08_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ab559078e2117ee597954a8159a609ea.jpg","text":"TemporaryFile(/tmp/multipartBody3472910196113029427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182618994,"filename":"image_29092025_23_48_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6f5bee3f50de6fb00bc11df602e5ab3a.jpg","text":"TemporaryFile(/tmp/multipartBody3769912726749516517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182618994,"filename":"image_29092025_19_08_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1c4da87f2b3d6d154c240eb13ce3caac.jpg","text":"TemporaryFile(/tmp/multipartBody3672527253431951340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182618994,"filename":"image_29092025_19_07_44_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800470","file1":"1386800465","file0":"1386800458","file4":"1386800479","file5":"1386800483","file3":"1386800474"},"map_files_photo_id_array":[{"photo_id":"1386800483","filename":"file5"},{"photo_id":"1386800470","filename":"file2"},{"photo_id":"1386800479","filename":"file4"},{"photo_id":"1386800465","filename":"file1"},{"photo_id":"1386800458","filename":"file0"},{"photo_id":"1386800474","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800465":["hashtag1","hashtag2"]},{"1386800479":["hashtag1","hashtag2"]},{"1386800470":["hashtag1","hashtag2"]},{"1386800458":["hashtag1","hashtag2"]},{"1386800474":["hashtag1","hashtag2"]},{"1386800483":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800465, 1386800479, 1386800470, 1386800458, 1386800474, 1386800483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63742637634277 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:50:02.950839
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_34_9654.jpg', 2), ('/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_25_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_14_9721.jpg', 2), ('/home/nano/Desktop/images/29092025/19/06/image_29092025_19_07_04_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_55_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_44_9744.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_34_9654.jpg', '/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_25_10637.jpg', '/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_14_9721.jpg', '/home/nano/Desktop/images/29092025/19/06/image_29092025_19_07_04_9668.jpg', '/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_55_10662.jpg', '/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_44_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_34_9654.jpg
/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_25_10637.jpg
/home/nano/Desktop/images/29092025/19/07/image_29092025_19_07_14_9721.jpg
/home/nano/Desktop/images/29092025/19/06/image_29092025_19_07_04_9668.jpg
/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_55_10662.jpg
/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_44_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800528","1386800513","1386800507","1386800503","1386800523","1386800517"],"photo_ids_order":["1386800503","1386800507","1386800513","1386800517","1386800523","1386800528"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4398f73c5019831c2c77fa7cd73bd109.jpg","text":"TemporaryFile(/tmp/multipartBody5099816317203505942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182664500,"filename":"image_29092025_19_06_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/27dc5b3a4705e83109d4cd8294e70c3a.jpg","text":"TemporaryFile(/tmp/multipartBody8747107727968669012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182664500,"filename":"image_29092025_19_07_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5a7b95bc3c1311ad8b3b223ddeac83fd.jpg","text":"TemporaryFile(/tmp/multipartBody8178632354701652752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182664500,"filename":"image_29092025_19_07_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f18a369a1ff1ffe09ab8ddf39a993d1c.jpg","text":"TemporaryFile(/tmp/multipartBody8680683317600369082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182664500,"filename":"image_29092025_19_07_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/9/29/94168608036230eb4eea7d33d715393a.jpg","text":"TemporaryFile(/tmp/multipartBody4418902420863507008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182664500,"filename":"image_29092025_19_06_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f35c8e481c7f44e4798b54a77d79b454.jpg","text":"TemporaryFile(/tmp/multipartBody1914021379272234666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182664500,"filename":"image_29092025_19_07_04_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800513","file1":"1386800507","file0":"1386800503","file4":"1386800523","file5":"1386800528","file3":"1386800517"},"map_files_photo_id_array":[{"photo_id":"1386800528","filename":"file5"},{"photo_id":"1386800513","filename":"file2"},{"photo_id":"1386800523","filename":"file4"},{"photo_id":"1386800507","filename":"file1"},{"photo_id":"1386800503","filename":"file0"},{"photo_id":"1386800517","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800528":["hashtag1","hashtag2"]},{"1386800513":["hashtag1","hashtag2"]},{"1386800507":["hashtag1","hashtag2"]},{"1386800503":["hashtag1","hashtag2"]},{"1386800523":["hashtag1","hashtag2"]},{"1386800517":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800528, 1386800513, 1386800507, 1386800503, 1386800523, 1386800517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.080875873565674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:50:47.354399
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_45_10674.jpg', 2), ('/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_15_10686.jpg', 2), ('/home/nano/Desktop/images/29092025/23/49/image_29092025_23_50_04_9668.jpg', 2), ('/home/nano/Desktop/images/29092025/23/48/image_29092025_23_49_04_9673.jpg', 2), ('/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_34_9676.jpg', 2), ('/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_25_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_45_10674.jpg', '/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_15_10686.jpg', '/home/nano/Desktop/images/29092025/23/49/image_29092025_23_50_04_9668.jpg', '/home/nano/Desktop/images/29092025/23/48/image_29092025_23_49_04_9673.jpg', '/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_34_9676.jpg', '/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_25_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_45_10674.jpg
/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_15_10686.jpg
/home/nano/Desktop/images/29092025/23/49/image_29092025_23_50_04_9668.jpg
/home/nano/Desktop/images/29092025/23/48/image_29092025_23_49_04_9673.jpg
/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_34_9676.jpg
/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_25_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800559","1386800568","1386800553","1386800562","1386800556","1386800573"],"photo_ids_order":["1386800553","1386800556","1386800559","1386800562","1386800568","1386800573"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1af35ba41ac576cca4f307729e22cb56.jpg","text":"TemporaryFile(/tmp/multipartBody7386800039650418077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182708962,"filename":"image_29092025_23_50_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/9/29/e28cdba8280c2bfd1fee20467fd389d6.jpg","text":"TemporaryFile(/tmp/multipartBody3240737345458728564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182708962,"filename":"image_29092025_19_06_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8c4663a6928576e137d0760b483cc542.jpg","text":"TemporaryFile(/tmp/multipartBody4316584003355651464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182708962,"filename":"image_29092025_23_50_45_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/25972a6b2446992747be7c6550af8c07.jpg","text":"TemporaryFile(/tmp/multipartBody7235540430077858000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182708962,"filename":"image_29092025_23_49_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/9/29/6a0c7282ccd6308704b73300bd3f8948.jpg","text":"TemporaryFile(/tmp/multipartBody765099476655539114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182708962,"filename":"image_29092025_23_50_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/9/29/f1812a26371eee987cb450c8448c6821.jpg","text":"TemporaryFile(/tmp/multipartBody4955871604951946719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182708962,"filename":"image_29092025_19_06_25_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800559","file1":"1386800556","file0":"1386800553","file4":"1386800568","file5":"1386800573","file3":"1386800562"},"map_files_photo_id_array":[{"photo_id":"1386800573","filename":"file5"},{"photo_id":"1386800559","filename":"file2"},{"photo_id":"1386800568","filename":"file4"},{"photo_id":"1386800556","filename":"file1"},{"photo_id":"1386800553","filename":"file0"},{"photo_id":"1386800562","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800559":["hashtag1","hashtag2"]},{"1386800568":["hashtag1","hashtag2"]},{"1386800553":["hashtag1","hashtag2"]},{"1386800562":["hashtag1","hashtag2"]},{"1386800556":["hashtag1","hashtag2"]},{"1386800573":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800559, 1386800568, 1386800553, 1386800562, 1386800556, 1386800573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83338499069214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:51:32.529381
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/51/image_29092025_23_51_34_9646.jpg', 2), ('/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_54_9692.jpg', 2), ('/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_14_9665.jpg', 2), ('/home/nano/Desktop/images/29092025/19/05/image_29092025_19_06_04_9733.jpg', 2), ('/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_55_9652.jpg', 2), ('/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_45_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/51/image_29092025_23_51_34_9646.jpg', '/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_54_9692.jpg', '/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_14_9665.jpg', '/home/nano/Desktop/images/29092025/19/05/image_29092025_19_06_04_9733.jpg', '/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_55_9652.jpg', '/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_45_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/51/image_29092025_23_51_34_9646.jpg
/home/nano/Desktop/images/29092025/23/50/image_29092025_23_50_54_9692.jpg
/home/nano/Desktop/images/29092025/19/06/image_29092025_19_06_14_9665.jpg
/home/nano/Desktop/images/29092025/19/05/image_29092025_19_06_04_9733.jpg
/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_55_9652.jpg
/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_45_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800606","1386800598","1386800601","1386800591","1386800604","1386800594"],"photo_ids_order":["1386800591","1386800594","1386800598","1386800601","1386800604","1386800606"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8f023749f8852ad5e1e364f8e6bdba16.jpg","text":"TemporaryFile(/tmp/multipartBody559452848152531244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182754167,"filename":"image_29092025_19_05_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6e80b95e2950068ced093d205ba0eb56.jpg","text":"TemporaryFile(/tmp/multipartBody8085952421423118048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182754167,"filename":"image_29092025_19_06_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/9/29/9b182e7285eaca997501cf7a339f023b.jpg","text":"TemporaryFile(/tmp/multipartBody2564966415375306756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182754167,"filename":"image_29092025_19_06_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d2f89302bde45f239f9e7b0526f021d6.jpg","text":"TemporaryFile(/tmp/multipartBody6320971308207331456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182754167,"filename":"image_29092025_23_51_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d1d31ef2ccab4ddf646c3085c3a4e933.jpg","text":"TemporaryFile(/tmp/multipartBody2513271357875065545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182754167,"filename":"image_29092025_19_05_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e5e8b389b45e600ba49e31e6ffa6bf04.jpg","text":"TemporaryFile(/tmp/multipartBody6900273345547829698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182754167,"filename":"image_29092025_23_50_54_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800598","file1":"1386800594","file0":"1386800591","file4":"1386800604","file5":"1386800606","file3":"1386800601"},"map_files_photo_id_array":[{"photo_id":"1386800606","filename":"file5"},{"photo_id":"1386800598","filename":"file2"},{"photo_id":"1386800604","filename":"file4"},{"photo_id":"1386800594","filename":"file1"},{"photo_id":"1386800591","filename":"file0"},{"photo_id":"1386800601","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800606":["hashtag1","hashtag2"]},{"1386800598":["hashtag1","hashtag2"]},{"1386800601":["hashtag1","hashtag2"]},{"1386800591":["hashtag1","hashtag2"]},{"1386800604":["hashtag1","hashtag2"]},{"1386800594":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800606, 1386800598, 1386800601, 1386800591, 1386800604, 1386800594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.485363245010376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:52:17.608107
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/52/image_29092025_23_52_24_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_34_9686.jpg', 2), ('/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_25_9761.jpg', 2), ('/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_15_10732.jpg', 2), ('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_05_04_9732.jpg', 2), ('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/52/image_29092025_23_52_24_9649.jpg', '/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_34_9686.jpg', '/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_25_9761.jpg', '/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_15_10732.jpg', '/home/nano/Desktop/images/29092025/19/04/image_29092025_19_05_04_9732.jpg', '/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/52/image_29092025_23_52_24_9649.jpg
/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_34_9686.jpg
/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_25_9761.jpg
/home/nano/Desktop/images/29092025/19/05/image_29092025_19_05_15_10732.jpg
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_05_04_9732.jpg
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_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":["1386800633","1386800627","1386800635","1386800638","1386800632","1386800622"],"photo_ids_order":["1386800622","1386800627","1386800632","1386800633","1386800635","1386800638"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1ff5ec42d52bf7ac52a151ea8424a2c5.jpg","text":"TemporaryFile(/tmp/multipartBody4525745915375073597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182799808,"filename":"image_29092025_19_05_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/63462bd1efc79270db6286a36c58cb41.jpg","text":"TemporaryFile(/tmp/multipartBody2132962341637536894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182799808,"filename":"image_29092025_19_05_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bbd623ec4ef485383875c44cc7a90d41.jpg","text":"TemporaryFile(/tmp/multipartBody3310311192866995821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182799808,"filename":"image_29092025_19_05_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5884905a564e7af9c9eb7ac707e1a274.jpg","text":"TemporaryFile(/tmp/multipartBody2327362882131276307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182799808,"filename":"image_29092025_19_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/9/29/0dde5d40dca28bc2b50d451f6a583ec6.jpg","text":"TemporaryFile(/tmp/multipartBody527059481907966874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182799808,"filename":"image_29092025_19_05_25_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/66a3be9c2d01c47d5bd514ca7ea5adff.jpg","text":"TemporaryFile(/tmp/multipartBody258351889270858363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182799808,"filename":"image_29092025_23_52_24_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800632","file1":"1386800627","file0":"1386800622","file4":"1386800635","file5":"1386800638","file3":"1386800633"},"map_files_photo_id_array":[{"photo_id":"1386800638","filename":"file5"},{"photo_id":"1386800632","filename":"file2"},{"photo_id":"1386800635","filename":"file4"},{"photo_id":"1386800627","filename":"file1"},{"photo_id":"1386800622","filename":"file0"},{"photo_id":"1386800633","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800633":["hashtag1","hashtag2"]},{"1386800627":["hashtag1","hashtag2"]},{"1386800635":["hashtag1","hashtag2"]},{"1386800638":["hashtag1","hashtag2"]},{"1386800632":["hashtag1","hashtag2"]},{"1386800622":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800633, 1386800627, 1386800635, 1386800638, 1386800632, 1386800622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71646571159363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:53:03.359088
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_45_10637.jpg', 2), ('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_34_9609.jpg', 2), ('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_24_9670.jpg', 2), ('/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_15_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/19/03/image_29092025_19_04_04_9671.jpg', 2), ('/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_45_10637.jpg', '/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_34_9609.jpg', '/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_24_9670.jpg', '/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_15_10661.jpg', '/home/nano/Desktop/images/29092025/19/03/image_29092025_19_04_04_9671.jpg', '/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_45_10637.jpg
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_34_9609.jpg
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_24_9670.jpg
/home/nano/Desktop/images/29092025/19/04/image_29092025_19_04_15_10661.jpg
/home/nano/Desktop/images/29092025/19/03/image_29092025_19_04_04_9671.jpg
/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_54_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":["1386800683","1386800671","1386800665","1386800676","1386800655","1386800660"],"photo_ids_order":["1386800655","1386800660","1386800665","1386800671","1386800676","1386800683"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b0386dde144823c4afd3530985110dd3.jpg","text":"TemporaryFile(/tmp/multipartBody8637444728042148157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182845154,"filename":"image_29092025_19_03_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/9/29/9e8fe4f26dc11c657abb5c53c9034ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1828910660918253047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182845154,"filename":"image_29092025_19_04_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c12e8a46a9e1b5baf4c8a96b408b7f17.jpg","text":"TemporaryFile(/tmp/multipartBody2934613875369151834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182845154,"filename":"image_29092025_19_04_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9b2552dc08b60643936292e4b2c29672.jpg","text":"TemporaryFile(/tmp/multipartBody4356954065947236975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182845154,"filename":"image_29092025_19_04_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/9/29/2d7e2c2857ed6e0f485b8c8005f828cc.jpg","text":"TemporaryFile(/tmp/multipartBody2126176691975982843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182845154,"filename":"image_29092025_19_04_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0fea329a93899fd961326799e9ce8146.jpg","text":"TemporaryFile(/tmp/multipartBody5889781154611454668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182845154,"filename":"image_29092025_19_04_34_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800665","file1":"1386800660","file0":"1386800655","file4":"1386800676","file5":"1386800683","file3":"1386800671"},"map_files_photo_id_array":[{"photo_id":"1386800683","filename":"file5"},{"photo_id":"1386800665","filename":"file2"},{"photo_id":"1386800676","filename":"file4"},{"photo_id":"1386800660","filename":"file1"},{"photo_id":"1386800655","filename":"file0"},{"photo_id":"1386800671","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800683":["hashtag1","hashtag2"]},{"1386800671":["hashtag1","hashtag2"]},{"1386800665":["hashtag1","hashtag2"]},{"1386800676":["hashtag1","hashtag2"]},{"1386800655":["hashtag1","hashtag2"]},{"1386800660":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800683, 1386800671, 1386800665, 1386800676, 1386800655, 1386800660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92854857444763 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:53:47.663003
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/52/image_29092025_23_53_04_9655.jpg', 2), ('/home/nano/Desktop/images/29092025/23/51/image_29092025_23_51_45_10658.jpg', 2), ('/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_45_10661.jpg', 2), ('/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_34_9635.jpg', 2), ('/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_24_9642.jpg', 2), ('/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_15_10720.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/52/image_29092025_23_53_04_9655.jpg', '/home/nano/Desktop/images/29092025/23/51/image_29092025_23_51_45_10658.jpg', '/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_45_10661.jpg', '/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_34_9635.jpg', '/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_24_9642.jpg', '/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_15_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/52/image_29092025_23_53_04_9655.jpg
/home/nano/Desktop/images/29092025/23/51/image_29092025_23_51_45_10658.jpg
/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_45_10661.jpg
/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_34_9635.jpg
/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_24_9642.jpg
/home/nano/Desktop/images/29092025/19/03/image_29092025_19_03_15_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800717","1386800725","1386800719","1386800710","1386800730","1386800706"],"photo_ids_order":["1386800706","1386800710","1386800717","1386800719","1386800725","1386800730"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cd1e77b993a928f21b9bd93ce3fb9069.jpg","text":"TemporaryFile(/tmp/multipartBody5865986957560561694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182889380,"filename":"image_29092025_19_03_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b96a5455db0d056a7c8245d98150c2eb.jpg","text":"TemporaryFile(/tmp/multipartBody4800363881599540774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182889380,"filename":"image_29092025_19_03_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/9/29/3b30f2475f488bca15c993d53f2d4be4.jpg","text":"TemporaryFile(/tmp/multipartBody406282877568574026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182889380,"filename":"image_29092025_19_03_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/9/29/e6f507e726ebc040da877d3d94bf4fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5005261766702273698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182889380,"filename":"image_29092025_23_51_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/596484ff49ed2b4d8f47c9a79b310272.jpg","text":"TemporaryFile(/tmp/multipartBody4824401341393077595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182889380,"filename":"image_29092025_19_03_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9705b669bbfa3cccd7436f8e6d0dfce2.jpg","text":"TemporaryFile(/tmp/multipartBody5756702316905913538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182889380,"filename":"image_29092025_23_53_04_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800717","file1":"1386800710","file0":"1386800706","file4":"1386800725","file5":"1386800730","file3":"1386800719"},"map_files_photo_id_array":[{"photo_id":"1386800730","filename":"file5"},{"photo_id":"1386800717","filename":"file2"},{"photo_id":"1386800725","filename":"file4"},{"photo_id":"1386800710","filename":"file1"},{"photo_id":"1386800706","filename":"file0"},{"photo_id":"1386800719","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800717":["hashtag1","hashtag2"]},{"1386800725":["hashtag1","hashtag2"]},{"1386800719":["hashtag1","hashtag2"]},{"1386800710":["hashtag1","hashtag2"]},{"1386800730":["hashtag1","hashtag2"]},{"1386800706":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800717, 1386800725, 1386800719, 1386800710, 1386800730, 1386800706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07413411140442 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:54:32.781940
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/54/image_29092025_23_54_35_10657.jpg', 2), ('/home/nano/Desktop/images/29092025/23/53/image_29092025_23_53_15_10677.jpg', 2), ('/home/nano/Desktop/images/29092025/19/02/image_29092025_19_03_04_9700.jpg', 2), ('/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_54_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_45_10681.jpg', 2), ('/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_34_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/54/image_29092025_23_54_35_10657.jpg', '/home/nano/Desktop/images/29092025/23/53/image_29092025_23_53_15_10677.jpg', '/home/nano/Desktop/images/29092025/19/02/image_29092025_19_03_04_9700.jpg', '/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_54_9660.jpg', '/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_45_10681.jpg', '/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_34_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/54/image_29092025_23_54_35_10657.jpg
/home/nano/Desktop/images/29092025/23/53/image_29092025_23_53_15_10677.jpg
/home/nano/Desktop/images/29092025/19/02/image_29092025_19_03_04_9700.jpg
/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_54_9660.jpg
/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_45_10681.jpg
/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_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":["1386800777","1386800756","1386800752","1386800761","1386800749","1386800774"],"photo_ids_order":["1386800749","1386800752","1386800756","1386800761","1386800774","1386800777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/809d48bd920c7ad1488ca27926f8247b.jpg","text":"TemporaryFile(/tmp/multipartBody4248184114899362856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182934526,"filename":"image_29092025_19_02_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/9/29/f7d8f27f585e6d60a4635e0da666b2a5.jpg","text":"TemporaryFile(/tmp/multipartBody7281559967413421808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182934526,"filename":"image_29092025_19_03_04_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/439e413da404a8181a626819dac1e3f3.jpg","text":"TemporaryFile(/tmp/multipartBody3703127469199072057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182934526,"filename":"image_29092025_23_53_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b384bed0f19e0d41923662c2b379f688.jpg","text":"TemporaryFile(/tmp/multipartBody1705843294264805336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182934526,"filename":"image_29092025_19_02_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/96a569183cb3bb8308477972b2dd3bb2.jpg","text":"TemporaryFile(/tmp/multipartBody502521492852581618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182934526,"filename":"image_29092025_23_54_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/975a7d6db884ae707ab5b4ba1e8ffcf6.jpg","text":"TemporaryFile(/tmp/multipartBody7990229089846455358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182934526,"filename":"image_29092025_19_02_45_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800756","file1":"1386800752","file0":"1386800749","file4":"1386800774","file5":"1386800777","file3":"1386800761"},"map_files_photo_id_array":[{"photo_id":"1386800777","filename":"file5"},{"photo_id":"1386800756","filename":"file2"},{"photo_id":"1386800774","filename":"file4"},{"photo_id":"1386800752","filename":"file1"},{"photo_id":"1386800749","filename":"file0"},{"photo_id":"1386800761","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800777":["hashtag1","hashtag2"]},{"1386800756":["hashtag1","hashtag2"]},{"1386800752":["hashtag1","hashtag2"]},{"1386800761":["hashtag1","hashtag2"]},{"1386800749":["hashtag1","hashtag2"]},{"1386800774":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800777, 1386800756, 1386800752, 1386800761, 1386800749, 1386800774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23501920700073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:55:16.869157
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_35_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_24_9644.jpg', 2), ('/home/nano/Desktop/images/29092025/23/54/image_29092025_23_54_45_9649.jpg', 2), ('/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_24_9688.jpg', 2), ('/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_15_10676.jpg', 2), ('/home/nano/Desktop/images/29092025/19/01/image_29092025_19_02_04_9671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_35_10656.jpg', '/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_24_9644.jpg', '/home/nano/Desktop/images/29092025/23/54/image_29092025_23_54_45_9649.jpg', '/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_24_9688.jpg', '/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_15_10676.jpg', '/home/nano/Desktop/images/29092025/19/01/image_29092025_19_02_04_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_35_10656.jpg
/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_24_9644.jpg
/home/nano/Desktop/images/29092025/23/54/image_29092025_23_54_45_9649.jpg
/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_24_9688.jpg
/home/nano/Desktop/images/29092025/19/02/image_29092025_19_02_15_10676.jpg
/home/nano/Desktop/images/29092025/19/01/image_29092025_19_02_04_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800794","1386800807","1386800803","1386800811","1386800798","1386800789"],"photo_ids_order":["1386800789","1386800794","1386800798","1386800803","1386800807","1386800811"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b42886aa61c231cf651b6c69156558c2.jpg","text":"TemporaryFile(/tmp/multipartBody5479111144579925484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182978446,"filename":"image_29092025_23_55_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/9/29/21d573163827f4fc24ff3470f45c8d6f.jpg","text":"TemporaryFile(/tmp/multipartBody3348460712798769908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182978446,"filename":"image_29092025_19_02_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2747a260edd247e5172c52399e7b0bf1.jpg","text":"TemporaryFile(/tmp/multipartBody9150692363973989800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182978446,"filename":"image_29092025_19_02_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f39b06fc7cab81582cc0e355555ae052.jpg","text":"TemporaryFile(/tmp/multipartBody1893256580754799873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182978446,"filename":"image_29092025_19_02_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/9/29/c5334b53a6a30d628fa6acf74d3184ce.jpg","text":"TemporaryFile(/tmp/multipartBody3653572512841880640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182978446,"filename":"image_29092025_23_54_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c7941a404045b09b78b38f82810632cd.jpg","text":"TemporaryFile(/tmp/multipartBody1369700021111729825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759182978446,"filename":"image_29092025_23_55_35_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800798","file1":"1386800794","file0":"1386800789","file4":"1386800807","file5":"1386800811","file3":"1386800803"},"map_files_photo_id_array":[{"photo_id":"1386800811","filename":"file5"},{"photo_id":"1386800798","filename":"file2"},{"photo_id":"1386800807","filename":"file4"},{"photo_id":"1386800794","filename":"file1"},{"photo_id":"1386800789","filename":"file0"},{"photo_id":"1386800803","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800794":["hashtag1","hashtag2"]},{"1386800807":["hashtag1","hashtag2"]},{"1386800803":["hashtag1","hashtag2"]},{"1386800811":["hashtag1","hashtag2"]},{"1386800798":["hashtag1","hashtag2"]},{"1386800789":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800794, 1386800807, 1386800803, 1386800811, 1386800798, 1386800789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.458324909210205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:56:02.469490
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_54_9695.jpg', 2), ('/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_45_10643.jpg', 2), ('/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_34_9640.jpg', 2), ('/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_24_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_15_10709.jpg', 2), ('/home/nano/Desktop/images/29092025/19/00/image_29092025_19_01_04_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_54_9695.jpg', '/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_45_10643.jpg', '/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_34_9640.jpg', '/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_24_9648.jpg', '/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_15_10709.jpg', '/home/nano/Desktop/images/29092025/19/00/image_29092025_19_01_04_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_54_9695.jpg
/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_45_10643.jpg
/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_34_9640.jpg
/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_24_9648.jpg
/home/nano/Desktop/images/29092025/19/01/image_29092025_19_01_15_10709.jpg
/home/nano/Desktop/images/29092025/19/00/image_29092025_19_01_04_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":["1386800840","1386800834","1386800850","1386800844","1386800838","1386800829"],"photo_ids_order":["1386800829","1386800834","1386800838","1386800840","1386800844","1386800850"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6d7e6ced31c33d5c4d6f1b1bae284555.jpg","text":"TemporaryFile(/tmp/multipartBody2215701264854808199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183024848,"filename":"image_29092025_19_01_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/952ce98ecf766e13ebd3284d811359da.jpg","text":"TemporaryFile(/tmp/multipartBody4181129790686062133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183024848,"filename":"image_29092025_19_01_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/71be2ffcc2b142ed1ce3c474bb44f340.jpg","text":"TemporaryFile(/tmp/multipartBody8544785019449407428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183024848,"filename":"image_29092025_19_01_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/9/29/f1b053f9f805399a0a24bbb7a69bbe28.jpg","text":"TemporaryFile(/tmp/multipartBody5706659300673010383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183024848,"filename":"image_29092025_19_01_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8cf1cd576747c2bf055da6676e6eff31.jpg","text":"TemporaryFile(/tmp/multipartBody8273817724858115328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183024848,"filename":"image_29092025_19_01_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/9/29/384bf9902342b056ce4fde8f2e279f74.jpg","text":"TemporaryFile(/tmp/multipartBody2960499990714764583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183024848,"filename":"image_29092025_19_01_54_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800838","file1":"1386800834","file0":"1386800829","file4":"1386800844","file5":"1386800850","file3":"1386800840"},"map_files_photo_id_array":[{"photo_id":"1386800850","filename":"file5"},{"photo_id":"1386800838","filename":"file2"},{"photo_id":"1386800844","filename":"file4"},{"photo_id":"1386800834","filename":"file1"},{"photo_id":"1386800829","filename":"file0"},{"photo_id":"1386800840","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800840":["hashtag1","hashtag2"]},{"1386800834":["hashtag1","hashtag2"]},{"1386800850":["hashtag1","hashtag2"]},{"1386800844":["hashtag1","hashtag2"]},{"1386800838":["hashtag1","hashtag2"]},{"1386800829":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800840, 1386800834, 1386800850, 1386800844, 1386800838, 1386800829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.219674587249756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:56:46.982137
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_24_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_45_9648.jpg', 2), ('/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_54_9685.jpg', 2), ('/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_45_10662.jpg', 2), ('/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_34_9660.jpg', 2), ('/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_24_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_24_9667.jpg', '/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_45_9648.jpg', '/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_54_9685.jpg', '/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_45_10662.jpg', '/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_34_9660.jpg', '/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_24_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_24_9667.jpg
/home/nano/Desktop/images/29092025/23/55/image_29092025_23_55_45_9648.jpg
/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_54_9685.jpg
/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_45_10662.jpg
/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_34_9660.jpg
/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_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":["1386800899","1386800886","1386800880","1386800883","1386800907","1386800891"],"photo_ids_order":["1386800880","1386800883","1386800886","1386800891","1386800899","1386800907"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eddbca79701c65be68108b69bc032b82.jpg","text":"TemporaryFile(/tmp/multipartBody9120647479480270632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183068648,"filename":"image_29092025_19_00_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/9/29/be1d1f9a23f2cbb0d42df218ca8cb6cb.jpg","text":"TemporaryFile(/tmp/multipartBody6429441660217345414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183068648,"filename":"image_29092025_19_00_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/39e5943c7889141ec0db75d21d7c345c.jpg","text":"TemporaryFile(/tmp/multipartBody4496473111530530493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183068648,"filename":"image_29092025_23_56_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/67198980f6dae2949a7be3125179ef8d.jpg","text":"TemporaryFile(/tmp/multipartBody41898861126798366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183068648,"filename":"image_29092025_23_55_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9d03d7024bbf17f5a484a0d04736b16d.jpg","text":"TemporaryFile(/tmp/multipartBody6664305004387422454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183068648,"filename":"image_29092025_19_00_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/9/29/f5e25fd6a21a81355ec0a2349b004913.jpg","text":"TemporaryFile(/tmp/multipartBody6921791839223192879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183068648,"filename":"image_29092025_19_00_45_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800886","file1":"1386800883","file0":"1386800880","file4":"1386800899","file5":"1386800907","file3":"1386800891"},"map_files_photo_id_array":[{"photo_id":"1386800907","filename":"file5"},{"photo_id":"1386800886","filename":"file2"},{"photo_id":"1386800899","filename":"file4"},{"photo_id":"1386800883","filename":"file1"},{"photo_id":"1386800880","filename":"file0"},{"photo_id":"1386800891","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800899":["hashtag1","hashtag2"]},{"1386800886":["hashtag1","hashtag2"]},{"1386800880":["hashtag1","hashtag2"]},{"1386800883":["hashtag1","hashtag2"]},{"1386800907":["hashtag1","hashtag2"]},{"1386800891":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800899, 1386800886, 1386800880, 1386800883, 1386800907, 1386800891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.932342529296875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:57:32.084965
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_35_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_14_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/23/56/image_29092025_23_57_05_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_35_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_15_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_35_10652.jpg', '/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_24_9645.jpg', '/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_14_9667.jpg', '/home/nano/Desktop/images/29092025/23/56/image_29092025_23_57_05_10669.jpg', '/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_35_10656.jpg', '/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_15_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_35_10652.jpg
/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_24_9645.jpg
/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_14_9667.jpg
/home/nano/Desktop/images/29092025/23/56/image_29092025_23_57_05_10669.jpg
/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_35_10656.jpg
/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_15_10665.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=4892 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-09-29 23:58:02.710047
  port_id : 27327518
  datou_current_id : 3791465
in upload_from_sqlite, uploading in 27327518
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_35_10652.jpg', 2), ('/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_24_9645.jpg', 2), ('/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_14_9667.jpg', 2), ('/home/nano/Desktop/images/29092025/23/56/image_29092025_23_57_05_10669.jpg', 2), ('/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_35_10656.jpg', 2), ('/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_15_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_35_10652.jpg', '/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_24_9645.jpg', '/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_14_9667.jpg', '/home/nano/Desktop/images/29092025/23/56/image_29092025_23_57_05_10669.jpg', '/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_35_10656.jpg', '/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_15_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3791465&datou=0
/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_35_10652.jpg
/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_24_9645.jpg
/home/nano/Desktop/images/29092025/23/57/image_29092025_23_57_14_9667.jpg
/home/nano/Desktop/images/29092025/23/56/image_29092025_23_57_05_10669.jpg
/home/nano/Desktop/images/29092025/23/56/image_29092025_23_56_35_10656.jpg
/home/nano/Desktop/images/29092025/19/00/image_29092025_19_00_15_10665.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1386800960","1386800957","1386800962","1386800965","1386800959","1386800961"],"photo_ids_order":["1386800957","1386800959","1386800960","1386800961","1386800962","1386800965"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/66dae7de7306c14a98a6e37479105613.jpg","text":"TemporaryFile(/tmp/multipartBody6600643188280158519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183144361,"filename":"image_29092025_23_57_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/9/29/f394d7eb5e65b9d4138497b92e7b80ab.jpg","text":"TemporaryFile(/tmp/multipartBody4012366320897442031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183144361,"filename":"image_29092025_23_57_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fe8ab47df7ed64c83c9a9631c07961a6.jpg","text":"TemporaryFile(/tmp/multipartBody5626102245229336552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183144361,"filename":"image_29092025_23_56_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8601693706d06a57e53d98c69ce36079.jpg","text":"TemporaryFile(/tmp/multipartBody1356566354104484447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183144361,"filename":"image_29092025_19_00_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/9/29/64ab106f36c980af17f5fda05fb49092.jpg","text":"TemporaryFile(/tmp/multipartBody3667193311592308083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183144361,"filename":"image_29092025_23_57_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/9/29/b1c8b7a1fb1a032000fd23e4054b81d3.jpg","text":"TemporaryFile(/tmp/multipartBody8971192208558059653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759183144361,"filename":"image_29092025_23_57_05_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386800960","file1":"1386800959","file0":"1386800957","file4":"1386800962","file5":"1386800965","file3":"1386800961"},"map_files_photo_id_array":[{"photo_id":"1386800965","filename":"file5"},{"photo_id":"1386800960","filename":"file2"},{"photo_id":"1386800962","filename":"file4"},{"photo_id":"1386800959","filename":"file1"},{"photo_id":"1386800957","filename":"file0"},{"photo_id":"1386800961","filename":"file3"}],"portfolio_id":27327518,"hashtag_by_photo_ids":[{"1386800960":["hashtag1","hashtag2"]},{"1386800957":["hashtag1","hashtag2"]},{"1386800962":["hashtag1","hashtag2"]},{"1386800965":["hashtag1","hashtag2"]},{"1386800959":["hashtag1","hashtag2"]},{"1386800961":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327518 used, photo_id : ArrayBuffer(1386800960, 1386800957, 1386800962, 1386800965, 1386800959, 1386800961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00037121772766 secondes ---
