Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-15 23:59:02.611798
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27052025
  port_id : 23360454
  datou_current_id : 2960994
in upload_from_sqlite, uploading in 23360454
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250527 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg', 2), ('/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg', 2), ('/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg', 2), ('/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg', 2), ('/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg', 2), ('/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg', '/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg', '/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg', '/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg', '/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg', '/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=2960994&datou=0
/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg
/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg
/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg
/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg
/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg
/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.523648500442505 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=2960994&datou=0 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f8a008c88>, 'Connection to www.fotonower.com timed out. (connect timeout=30)'))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:00:02.253911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27052025
  port_id : 23360454
  datou_current_id : 2960994
in upload_from_sqlite, uploading in 23360454
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250527 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg', 2), ('/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg', 2), ('/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg', 2), ('/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg', 2), ('/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg', 2), ('/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg', '/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg', '/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg', '/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg', '/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg', '/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=2960994&datou=0
/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg
/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg
/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg
/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg
/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg
/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 38.15621376037598 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=2960994&datou=0 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f997aac88>, 'Connection to www.fotonower.com timed out. (connect timeout=30)'))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:01:02.367886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27052025
  port_id : 23360454
  datou_current_id : 2960994
in upload_from_sqlite, uploading in 23360454
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250527 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg', 2), ('/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg', 2), ('/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg', 2), ('/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg', 2), ('/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg', 2), ('/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg', '/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg', '/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg', '/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg', '/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg', '/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=2960994&datou=0
/mnt/data/27052025/10/50/image_27052025_10_51_05_30881.jpg
/mnt/data/27052025/10/47/image_27052025_10_48_05_29991.jpg
/mnt/data/27052025/10/45/image_27052025_10_45_35_29688.jpg
/mnt/data/27052025/10/41/image_27052025_10_42_04_29655.jpg
/mnt/data/27052025/10/41/image_27052025_10_41_35_29566.jpg
/mnt/data/27052025/10/40/image_27052025_10_41_05_31023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.21309041976929 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=2960994&datou=0 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f94a7ec88>, 'Connection to www.fotonower.com timed out. (connect timeout=30)'))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:02:02.364077
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/01/image_16062025_00_01_54_9006.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88895828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:06:02.936052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/05/image_16062025_00_05_44_10228.jpg', 2), ('/mnt/data/16062025/00/05/image_16062025_00_05_14_10273.jpg', 2), ('/mnt/data/16062025/00/04/image_16062025_00_04_34_10477.jpg', 2), ('/mnt/data/16062025/00/01/image_16062025_00_01_54_9006.jpg', 2), ('/mnt/data/16062025/00/00/image_16062025_00_00_14_10102.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb0a9e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:07:14.603230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/07/image_16062025_00_07_14_8992.jpg', 2), ('/mnt/data/16062025/00/06/image_16062025_00_06_55_10189.jpg', 2), ('/mnt/data/16062025/00/05/image_16062025_00_05_54_10229.jpg', 2), ('/mnt/data/16062025/00/05/image_16062025_00_05_44_10228.jpg', 2), ('/mnt/data/16062025/00/05/image_16062025_00_05_14_10273.jpg', 2), ('/mnt/data/16062025/00/04/image_16062025_00_04_34_10477.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7cd96828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:10:02.350302
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/10/image_16062025_00_10_44_10269.jpg', 2), ('/mnt/data/16062025/00/07/image_16062025_00_07_24_10219.jpg', 2), ('/mnt/data/16062025/00/07/image_16062025_00_07_14_8992.jpg', 2), ('/mnt/data/16062025/00/06/image_16062025_00_06_55_10189.jpg', 2), ('/mnt/data/16062025/00/05/image_16062025_00_05_54_10229.jpg', 2), ('/mnt/data/16062025/00/05/image_16062025_00_05_44_10228.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa31867b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:11:14.025632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/11/image_16062025_00_11_24_8993.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_44_10269.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_34_9053.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_25_10243.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_14_10347.jpg', 2), ('/mnt/data/16062025/00/07/image_16062025_00_08_05_10285.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a999828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:12:26.134422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/11/image_16062025_00_11_44_10210.jpg', 2), ('/mnt/data/16062025/00/11/image_16062025_00_11_24_8993.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_44_10269.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_34_9053.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_25_10243.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_14_10347.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3aaa828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:14:02.929341
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/13/image_16062025_00_13_34_9110.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_13_14_10327.jpg', 2), ('/mnt/data/16062025/00/12/image_16062025_00_12_45_10263.jpg', 2), ('/mnt/data/16062025/00/11/image_16062025_00_11_44_10210.jpg', 2), ('/mnt/data/16062025/00/11/image_16062025_00_11_24_8993.jpg', 2), ('/mnt/data/16062025/00/10/image_16062025_00_10_44_10269.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84b32828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:15:14.501851
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_13_44_10363.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_13_34_9110.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_13_14_10327.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96125828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:16:26.547805
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_13_44_10363.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5482828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:18:03.039797
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_13_44_10363.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb02b9828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:19:13.856348
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa68e17b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:20:25.967600
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81247828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:22:02.617620
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80413828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:23:14.337042
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2451828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:24:26.380428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d29c7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:26:02.939427
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79c6a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:27:14.667641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:28:03.180714
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ceb1828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:29:02.751984
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f851be828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:30:14.211605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89886828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:31:26.166238
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2), ('/mnt/data/16062025/00/13/image_16062025_00_14_04_9140.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84bb7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:33:03.062959
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_14_10307.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fa4f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:34:14.731517
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac493828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:35:25.909548
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2), ('/mnt/data/16062025/00/14/image_16062025_00_14_24_10269.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1fc1828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:37:02.713827
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b388828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:38:14.211096
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2), ('/mnt/data/16062025/00/15/image_16062025_00_15_54_10169.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a404828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:39:26.358969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2), ('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e401828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:41:03.151722
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2), ('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_34_8980.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f979ba828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:42:14.659777
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2), ('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f930b5828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:43:25.770808
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2), ('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2), ('/mnt/data/16062025/00/16/image_16062025_00_16_54_10192.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f2b0828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:45:02.621632
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2), ('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2), ('/mnt/data/16062025/00/19/image_16062025_00_19_55_10182.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ee6f7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:46:14.086483
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2), ('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8592828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:47:26.217483
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2), ('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2), ('/mnt/data/16062025/00/31/image_16062025_00_32_04_10419.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85248828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:49:03.064908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2), ('/mnt/data/16062025/00/33/image_16062025_00_33_54_8990.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77254828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:50:14.579024
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9aab97b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:51:26.717221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e364828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:53:02.494531
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92036828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:54:14.133117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb020d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 00:59:02.958648
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97ae8828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:00:14.380646
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f815127b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:01:26.382447
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2), ('/mnt/data/16062025/00/36/image_16062025_00_36_34_10162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88853828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:03:03.127602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2), ('/mnt/data/16062025/00/41/image_16062025_00_41_15_10215.jpg', 2), ('/mnt/data/16062025/00/39/image_16062025_00_39_24_10158.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb26d0828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:04:14.712163
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85b4e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:05:25.903937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa715c828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:07:02.535283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:07:14.172251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6670828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:08:26.158904
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa582f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:10:02.773946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb36bc828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:11:14.474813
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8b7d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:12:26.560480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2), ('/mnt/data/16062025/00/44/image_16062025_00_44_15_10309.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f922f0828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:14:02.288920
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/13/image_16062025_01_14_05_10377.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89b63828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:15:13.908446
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/13/image_16062025_01_14_05_10377.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4219828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:16:26.049409
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/13/image_16062025_01_14_05_10377.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2d58828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:18:02.661800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/13/image_16062025_01_14_05_10377.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2), ('/mnt/data/16062025/00/48/image_16062025_00_48_45_10193.jpg', 2), ('/mnt/data/16062025/00/46/image_16062025_00_46_44_10193.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b994828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:19:14.384839
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/17/image_16062025_01_18_04_9006.jpg', 2), ('/mnt/data/16062025/01/13/image_16062025_01_14_05_10377.jpg', 2), ('/mnt/data/16062025/01/03/image_16062025_01_04_05_10322.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_02_44_10212.jpg', 2), ('/mnt/data/16062025/00/49/image_16062025_00_49_35_10214.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1eb8828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:20:26.448438
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/20/image_16062025_01_20_14_9009.jpg', 2), ('/mnt/data/16062025/01/19/image_16062025_01_19_24_10163.jpg', 2), ('/mnt/data/16062025/01/17/image_16062025_01_18_04_9006.jpg', 2), ('/mnt/data/16062025/01/13/image_16062025_01_14_05_10377.jpg', 2), ('/mnt/data/16062025/01/03/image_16062025_01_04_05_10322.jpg', 2), ('/mnt/data/16062025/01/02/image_16062025_01_03_05_10227.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf808828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:22:03.420381
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/21/image_16062025_01_21_44_10160.jpg', 2), ('/mnt/data/16062025/01/20/image_16062025_01_21_05_10167.jpg', 2), ('/mnt/data/16062025/01/20/image_16062025_01_20_54_10163.jpg', 2), ('/mnt/data/16062025/01/20/image_16062025_01_20_14_9009.jpg', 2), ('/mnt/data/16062025/01/19/image_16062025_01_19_24_10163.jpg', 2), ('/mnt/data/16062025/01/17/image_16062025_01_18_04_9006.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92bdf828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:23:14.159590
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/23/image_16062025_01_23_24_8984.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_15_10206.jpg', 2), ('/mnt/data/16062025/01/22/image_16062025_01_23_04_10249.jpg', 2), ('/mnt/data/16062025/01/21/image_16062025_01_21_54_10181.jpg', 2), ('/mnt/data/16062025/01/21/image_16062025_01_21_44_10160.jpg', 2), ('/mnt/data/16062025/01/20/image_16062025_01_21_05_10167.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7723a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:24:26.265702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/23/image_16062025_01_23_44_10159.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_24_8984.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_15_10206.jpg', 2), ('/mnt/data/16062025/01/22/image_16062025_01_23_04_10249.jpg', 2), ('/mnt/data/16062025/01/21/image_16062025_01_21_54_10181.jpg', 2), ('/mnt/data/16062025/01/21/image_16062025_01_21_44_10160.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facb9b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:26:02.990760
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/23/image_16062025_01_23_44_10159.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_24_8984.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_15_10206.jpg', 2), ('/mnt/data/16062025/01/22/image_16062025_01_23_04_10249.jpg', 2), ('/mnt/data/16062025/01/21/image_16062025_01_21_54_10181.jpg', 2), ('/mnt/data/16062025/01/21/image_16062025_01_21_44_10160.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facb60828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:27:14.574940
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:28:02.981927
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/26/image_16062025_01_26_34_8976.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_25_10164.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_24_04_10212.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_44_10159.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_24_8984.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_15_10206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95b767b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:29:13.928973
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/26/image_16062025_01_26_34_8976.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_25_10164.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_24_04_10212.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_44_10159.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_24_8984.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_15_10206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1b68828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:30:26.020904
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/26/image_16062025_01_26_34_8976.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_25_10164.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_24_04_10212.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_44_10159.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_24_8984.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_15_10206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bad5828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:32:02.626230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/26/image_16062025_01_26_54_10179.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_34_8976.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_25_10164.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_24_04_10212.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_44_10159.jpg', 2), ('/mnt/data/16062025/01/23/image_16062025_01_23_24_8984.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d0d2828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:33:14.320177
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/32/image_16062025_01_32_25_10201.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_14_10189.jpg', 2), ('/mnt/data/16062025/01/31/image_16062025_01_31_25_10230.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_54_10179.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_34_8976.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_25_10164.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae79f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:34:26.404145
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_34_8982.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_25_10201.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_14_10189.jpg', 2), ('/mnt/data/16062025/01/31/image_16062025_01_31_25_10230.jpg', 2), ('/mnt/data/16062025/01/26/image_16062025_01_26_54_10179.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4986828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:35:14.534016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_34_8982.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_25_10201.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_14_10189.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7bc1a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:36:26.647434
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_34_8982.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_25_10201.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_14_10189.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0a26828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:38:02.282210
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_34_8982.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_25_10201.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_14_10189.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb122b7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:39:13.974458
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2), ('/mnt/data/16062025/01/35/image_16062025_01_35_44_10196.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_34_8982.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e681828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:40:26.077578
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2), ('/mnt/data/16062025/01/35/image_16062025_01_35_44_10196.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2), ('/mnt/data/16062025/01/32/image_16062025_01_32_34_8982.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cdbc828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:42:02.796596
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2), ('/mnt/data/16062025/01/35/image_16062025_01_35_44_10196.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f833ae828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:43:14.445818
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2), ('/mnt/data/16062025/01/35/image_16062025_01_35_44_10196.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f318828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:44:26.538807
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2), ('/mnt/data/16062025/01/35/image_16062025_01_35_44_10196.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f92e20828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:46:02.086308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2), ('/mnt/data/16062025/01/35/image_16062025_01_35_44_10196.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f888fd7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:47:13.886004
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2), ('/mnt/data/16062025/01/35/image_16062025_01_35_44_10196.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_25_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b285828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:48:25.975066
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_34_8945.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2), ('/mnt/data/16062025/01/35/image_16062025_01_35_44_10196.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_35_04_10344.jpg', 2), ('/mnt/data/16062025/01/34/image_16062025_01_34_44_10199.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4c2e7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:50:02.551633
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/50/image_16062025_01_50_44_8943.jpg', 2), ('/mnt/data/16062025/01/49/image_16062025_01_49_24_10581.jpg', 2), ('/mnt/data/16062025/01/48/image_16062025_01_48_24_10194.jpg', 2), ('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_34_8945.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_25_10204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9714e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:51:14.318826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/50/image_16062025_01_50_44_8943.jpg', 2), ('/mnt/data/16062025/01/49/image_16062025_01_49_35_10162.jpg', 2), ('/mnt/data/16062025/01/49/image_16062025_01_49_24_10581.jpg', 2), ('/mnt/data/16062025/01/48/image_16062025_01_48_24_10194.jpg', 2), ('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2), ('/mnt/data/16062025/01/39/image_16062025_01_39_34_8945.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a3cc828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:52:26.341680
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/51/image_16062025_01_51_14_10225.jpg', 2), ('/mnt/data/16062025/01/50/image_16062025_01_50_44_8943.jpg', 2), ('/mnt/data/16062025/01/49/image_16062025_01_49_35_10162.jpg', 2), ('/mnt/data/16062025/01/49/image_16062025_01_49_24_10581.jpg', 2), ('/mnt/data/16062025/01/48/image_16062025_01_48_24_10194.jpg', 2), ('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1f05828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:54:03.024408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/51/image_16062025_01_51_14_10225.jpg', 2), ('/mnt/data/16062025/01/50/image_16062025_01_50_44_8943.jpg', 2), ('/mnt/data/16062025/01/49/image_16062025_01_49_35_10162.jpg', 2), ('/mnt/data/16062025/01/49/image_16062025_01_49_24_10581.jpg', 2), ('/mnt/data/16062025/01/48/image_16062025_01_48_24_10194.jpg', 2), ('/mnt/data/16062025/01/41/image_16062025_01_41_35_10208.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f892127b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 01:59:02.643681
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/01/59/image_16062025_01_59_55_10203.jpg', 2), ('/mnt/data/16062025/01/57/image_16062025_01_57_25_10725.jpg', 2), ('/mnt/data/16062025/01/55/image_16062025_01_55_24_9037.jpg', 2), ('/mnt/data/16062025/01/54/image_16062025_01_55_04_10406.jpg', 2), ('/mnt/data/16062025/01/54/image_16062025_01_54_44_10183.jpg', 2), ('/mnt/data/16062025/01/52/image_16062025_01_52_25_10194.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82b5d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:00:14.558683
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/00/image_16062025_02_00_25_10195.jpg', 2), ('/mnt/data/16062025/01/59/image_16062025_01_59_55_10203.jpg', 2), ('/mnt/data/16062025/01/58/image_16062025_01_59_04_8966.jpg', 2), ('/mnt/data/16062025/01/57/image_16062025_01_57_34_9536.jpg', 2), ('/mnt/data/16062025/01/57/image_16062025_01_57_25_10725.jpg', 2), ('/mnt/data/16062025/01/55/image_16062025_01_55_24_9037.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84845828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:01:26.654177
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/00/image_16062025_02_00_44_8994.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_25_10195.jpg', 2), ('/mnt/data/16062025/01/59/image_16062025_01_59_55_10203.jpg', 2), ('/mnt/data/16062025/01/58/image_16062025_01_59_04_8966.jpg', 2), ('/mnt/data/16062025/01/57/image_16062025_01_57_34_9536.jpg', 2), ('/mnt/data/16062025/01/57/image_16062025_01_57_25_10725.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3896828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:03:02.262908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/00/image_16062025_02_01_04_10328.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_44_8994.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_25_10195.jpg', 2), ('/mnt/data/16062025/01/59/image_16062025_01_59_55_10203.jpg', 2), ('/mnt/data/16062025/01/58/image_16062025_01_59_04_8966.jpg', 2), ('/mnt/data/16062025/01/57/image_16062025_01_57_34_9536.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84026828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:04:13.966057
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_01_04_10328.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_44_8994.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_25_10195.jpg', 2), ('/mnt/data/16062025/01/59/image_16062025_01_59_55_10203.jpg', 2), ('/mnt/data/16062025/01/58/image_16062025_01_59_04_8966.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ffe3828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:05:26.063181
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2), ('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_01_04_10328.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_44_8994.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_25_10195.jpg', 2), ('/mnt/data/16062025/01/59/image_16062025_01_59_55_10203.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c353828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:07:02.705339
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/05/image_16062025_02_05_34_8978.jpg', 2), ('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2), ('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_01_04_10328.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_44_8994.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_25_10195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86ab7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:08:14.373266
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_05_34_8978.jpg', 2), ('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2), ('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_01_04_10328.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_00_44_8994.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9769a7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:09:26.457488
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_05_34_8978.jpg', 2), ('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2), ('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2), ('/mnt/data/16062025/02/00/image_16062025_02_01_04_10328.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bb9e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:11:03.255278
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/09/image_16062025_02_09_44_10199.jpg', 2), ('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_05_34_8978.jpg', 2), ('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2), ('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99ce8828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:12:13.760924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/09/image_16062025_02_09_44_10199.jpg', 2), ('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_05_34_8978.jpg', 2), ('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2), ('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa351f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:13:25.938679
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/09/image_16062025_02_09_44_10199.jpg', 2), ('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_05_34_8978.jpg', 2), ('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2), ('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ba13828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:15:02.700524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/09/image_16062025_02_09_44_10199.jpg', 2), ('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_05_34_8978.jpg', 2), ('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2), ('/mnt/data/16062025/02/02/image_16062025_02_02_25_10177.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d411828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:16:14.302727
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/09/image_16062025_02_10_05_10319.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_09_44_10199.jpg', 2), ('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_05_34_8978.jpg', 2), ('/mnt/data/16062025/02/04/image_16062025_02_04_44_10156.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81d70828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:17:26.369344
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/16/image_16062025_02_17_04_10204.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_16_44_10217.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_10_05_10319.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_09_44_10199.jpg', 2), ('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f923e07b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:19:03.281924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/16/image_16062025_02_17_04_10204.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_16_44_10217.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_10_05_10319.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_09_44_10199.jpg', 2), ('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78bce828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:20:14.733104
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/16/image_16062025_02_17_04_10204.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_16_44_10217.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_10_05_10319.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_09_44_10199.jpg', 2), ('/mnt/data/16062025/02/07/image_16062025_02_07_44_10202.jpg', 2), ('/mnt/data/16062025/02/05/image_16062025_02_06_04_10248.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa562d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:23:02.684467
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2), ('/mnt/data/16062025/02/20/image_16062025_02_21_05_10305.jpg', 2), ('/mnt/data/16062025/02/17/image_16062025_02_17_15_10510.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_17_04_10204.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_16_44_10217.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_10_05_10319.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d8bc828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:24:14.154869
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2), ('/mnt/data/16062025/02/20/image_16062025_02_21_05_10305.jpg', 2), ('/mnt/data/16062025/02/17/image_16062025_02_17_15_10510.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_17_04_10204.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_16_44_10217.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_10_05_10319.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96c38828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:25:26.314348
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2), ('/mnt/data/16062025/02/20/image_16062025_02_21_05_10305.jpg', 2), ('/mnt/data/16062025/02/17/image_16062025_02_17_15_10510.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_17_04_10204.jpg', 2), ('/mnt/data/16062025/02/16/image_16062025_02_16_44_10217.jpg', 2), ('/mnt/data/16062025/02/09/image_16062025_02_10_05_10319.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e5587b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:27:03.044174
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
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 jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:29:02.463331
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2), ('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2), ('/mnt/data/16062025/02/20/image_16062025_02_21_05_10305.jpg', 2), ('/mnt/data/16062025/02/17/image_16062025_02_17_15_10510.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b4f7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:31:26.126960
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2), ('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2), ('/mnt/data/16062025/02/20/image_16062025_02_21_05_10305.jpg', 2), ('/mnt/data/16062025/02/17/image_16062025_02_17_15_10510.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faff1d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:33:02.892310
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2), ('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8920a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:34:14.530172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2), ('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8722b7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:35:26.593746
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2), ('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa52a7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:37:02.436894
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2), ('/mnt/data/16062025/02/21/image_16062025_02_21_15_10213.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa893b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:38:13.990657
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/32/image_16062025_02_32_25_10195.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87fcd828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:39:26.067869
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/32/image_16062025_02_32_25_10195.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf8b2828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:41:02.784349
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/32/image_16062025_02_32_25_10195.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_14_10170.jpg', 2), ('/mnt/data/16062025/02/22/image_16062025_02_22_15_10174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87a7a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:42:14.343674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/40/image_16062025_02_41_04_10209.jpg', 2), ('/mnt/data/16062025/02/38/image_16062025_02_38_44_10168.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_25_10195.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2), ('/mnt/data/16062025/02/27/image_16062025_02_27_35_10187.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7e56b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:43:26.427232
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/42/image_16062025_02_42_54_10155.jpg', 2), ('/mnt/data/16062025/02/40/image_16062025_02_41_04_10209.jpg', 2), ('/mnt/data/16062025/02/38/image_16062025_02_38_44_10168.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_25_10195.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8878b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:45:03.256135
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/42/image_16062025_02_42_54_10155.jpg', 2), ('/mnt/data/16062025/02/40/image_16062025_02_41_04_10209.jpg', 2), ('/mnt/data/16062025/02/38/image_16062025_02_38_44_10168.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_25_10195.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_14_10210.jpg', 2), ('/mnt/data/16062025/02/28/image_16062025_02_28_34_8945.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b8df7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:46:14.227604
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/46/image_16062025_02_46_14_8971.jpg', 2), ('/mnt/data/16062025/02/43/image_16062025_02_43_54_10155.jpg', 2), ('/mnt/data/16062025/02/42/image_16062025_02_42_54_10155.jpg', 2), ('/mnt/data/16062025/02/40/image_16062025_02_41_04_10209.jpg', 2), ('/mnt/data/16062025/02/38/image_16062025_02_38_44_10168.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_25_10195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb48ef7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:47:26.348012
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/46/image_16062025_02_46_14_8971.jpg', 2), ('/mnt/data/16062025/02/43/image_16062025_02_43_54_10155.jpg', 2), ('/mnt/data/16062025/02/42/image_16062025_02_42_54_10155.jpg', 2), ('/mnt/data/16062025/02/40/image_16062025_02_41_04_10209.jpg', 2), ('/mnt/data/16062025/02/38/image_16062025_02_38_44_10168.jpg', 2), ('/mnt/data/16062025/02/32/image_16062025_02_32_25_10195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab9937b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:49:03.220420
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_14_8971.jpg', 2), ('/mnt/data/16062025/02/43/image_16062025_02_43_54_10155.jpg', 2), ('/mnt/data/16062025/02/42/image_16062025_02_42_54_10155.jpg', 2), ('/mnt/data/16062025/02/40/image_16062025_02_41_04_10209.jpg', 2), ('/mnt/data/16062025/02/38/image_16062025_02_38_44_10168.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb46a7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:50:14.671678
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_14_8971.jpg', 2), ('/mnt/data/16062025/02/43/image_16062025_02_43_54_10155.jpg', 2), ('/mnt/data/16062025/02/42/image_16062025_02_42_54_10155.jpg', 2), ('/mnt/data/16062025/02/40/image_16062025_02_41_04_10209.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f788f3828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:51:25.819357
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/50/image_16062025_02_50_24_8978.jpg', 2), ('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_14_8971.jpg', 2), ('/mnt/data/16062025/02/43/image_16062025_02_43_54_10155.jpg', 2), ('/mnt/data/16062025/02/42/image_16062025_02_42_54_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94349828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:53:02.570624
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/50/image_16062025_02_50_24_8978.jpg', 2), ('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_14_8971.jpg', 2), ('/mnt/data/16062025/02/43/image_16062025_02_43_54_10155.jpg', 2), ('/mnt/data/16062025/02/42/image_16062025_02_42_54_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d957828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:54:14.075065
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/53/image_16062025_02_54_04_10381.jpg', 2), ('/mnt/data/16062025/02/50/image_16062025_02_50_24_8978.jpg', 2), ('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_14_8971.jpg', 2), ('/mnt/data/16062025/02/43/image_16062025_02_43_54_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ffb4828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 02:59:03.355702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/58/image_16062025_02_58_14_10183.jpg', 2), ('/mnt/data/16062025/02/53/image_16062025_02_54_04_10381.jpg', 2), ('/mnt/data/16062025/02/51/image_16062025_02_51_15_10169.jpg', 2), ('/mnt/data/16062025/02/50/image_16062025_02_50_24_8978.jpg', 2), ('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb03ae828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:00:14.725087
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/58/image_16062025_02_58_14_10183.jpg', 2), ('/mnt/data/16062025/02/53/image_16062025_02_54_04_10381.jpg', 2), ('/mnt/data/16062025/02/51/image_16062025_02_51_15_10169.jpg', 2), ('/mnt/data/16062025/02/50/image_16062025_02_50_24_8978.jpg', 2), ('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f792cc828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:01:25.786070
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/58/image_16062025_02_58_14_10183.jpg', 2), ('/mnt/data/16062025/02/53/image_16062025_02_54_04_10381.jpg', 2), ('/mnt/data/16062025/02/51/image_16062025_02_51_15_10169.jpg', 2), ('/mnt/data/16062025/02/50/image_16062025_02_50_24_8978.jpg', 2), ('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa61fb828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:03:02.532199
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/02/58/image_16062025_02_58_14_10183.jpg', 2), ('/mnt/data/16062025/02/53/image_16062025_02_54_04_10381.jpg', 2), ('/mnt/data/16062025/02/51/image_16062025_02_51_15_10169.jpg', 2), ('/mnt/data/16062025/02/50/image_16062025_02_50_24_8978.jpg', 2), ('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2), ('/mnt/data/16062025/02/46/image_16062025_02_46_34_10163.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b56e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:04:14.087291
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/03/image_16062025_03_03_14_10183.jpg', 2), ('/mnt/data/16062025/02/58/image_16062025_02_58_14_10183.jpg', 2), ('/mnt/data/16062025/02/53/image_16062025_02_54_04_10381.jpg', 2), ('/mnt/data/16062025/02/51/image_16062025_02_51_15_10169.jpg', 2), ('/mnt/data/16062025/02/50/image_16062025_02_50_24_8978.jpg', 2), ('/mnt/data/16062025/02/48/image_16062025_02_48_25_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77b39828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:05:26.167953
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/05/image_16062025_03_05_45_10165.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_34_10161.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_24_10203.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_14_10203.jpg', 2), ('/mnt/data/16062025/03/03/image_16062025_03_03_14_10183.jpg', 2), ('/mnt/data/16062025/02/58/image_16062025_02_58_24_10210.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad41a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:07:02.888284
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_45_10165.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_34_10161.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_24_10203.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_14_10203.jpg', 2), ('/mnt/data/16062025/03/03/image_16062025_03_03_14_10183.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7aceb828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:09:26.610856
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/07/image_16062025_03_07_24_10192.jpg', 2), ('/mnt/data/16062025/03/06/image_16062025_03_06_55_10167.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_45_10165.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_34_10161.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_24_10203.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae4bb828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:11:02.360179
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/07/image_16062025_03_07_24_10192.jpg', 2), ('/mnt/data/16062025/03/06/image_16062025_03_06_55_10167.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_45_10165.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_34_10161.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_24_10203.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4e13828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:12:13.918042
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/12/image_16062025_03_12_24_8983.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_24_10192.jpg', 2), ('/mnt/data/16062025/03/06/image_16062025_03_06_55_10167.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_45_10165.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_34_10161.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d2cc828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:13:26.032755
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/12/image_16062025_03_12_24_8983.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_24_10192.jpg', 2), ('/mnt/data/16062025/03/06/image_16062025_03_06_55_10167.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_45_10165.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_34_10161.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f847ae828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:15:02.818701
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/12/image_16062025_03_12_24_8983.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_24_10192.jpg', 2), ('/mnt/data/16062025/03/06/image_16062025_03_06_55_10167.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_45_10165.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_34_10161.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d4d3828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:16:14.705856
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/15/image_16062025_03_15_44_10217.jpg', 2), ('/mnt/data/16062025/03/12/image_16062025_03_12_24_8983.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_55_10156.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_24_10192.jpg', 2), ('/mnt/data/16062025/03/06/image_16062025_03_06_55_10167.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cc967b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:17:26.217428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/15/image_16062025_03_15_44_10217.jpg', 2), ('/mnt/data/16062025/03/12/image_16062025_03_12_24_8983.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_55_10156.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_24_10192.jpg', 2), ('/mnt/data/16062025/03/06/image_16062025_03_06_55_10167.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78059828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:19:02.909254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/15/image_16062025_03_15_44_10217.jpg', 2), ('/mnt/data/16062025/03/12/image_16062025_03_12_24_8983.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_55_10156.jpg', 2), ('/mnt/data/16062025/03/07/image_16062025_03_07_24_10192.jpg', 2), ('/mnt/data/16062025/03/06/image_16062025_03_06_55_10167.jpg', 2), ('/mnt/data/16062025/03/05/image_16062025_03_05_55_10198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f905ae828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:20:14.501515
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/20/image_16062025_03_20_14_10149.jpg', 2), ('/mnt/data/16062025/03/19/image_16062025_03_19_45_10267.jpg', 2), ('/mnt/data/16062025/03/19/image_16062025_03_19_14_10164.jpg', 2), ('/mnt/data/16062025/03/15/image_16062025_03_15_54_10169.jpg', 2), ('/mnt/data/16062025/03/15/image_16062025_03_15_44_10217.jpg', 2), ('/mnt/data/16062025/03/12/image_16062025_03_12_24_8983.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f04f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:21:26.631709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/21/image_16062025_03_21_34_10207.jpg', 2), ('/mnt/data/16062025/03/20/image_16062025_03_20_45_10172.jpg', 2), ('/mnt/data/16062025/03/20/image_16062025_03_20_14_10149.jpg', 2), ('/mnt/data/16062025/03/19/image_16062025_03_19_45_10267.jpg', 2), ('/mnt/data/16062025/03/19/image_16062025_03_19_14_10164.jpg', 2), ('/mnt/data/16062025/03/15/image_16062025_03_15_54_10169.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f933f9828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:23:02.446296
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/21/image_16062025_03_21_34_10207.jpg', 2), ('/mnt/data/16062025/03/21/image_16062025_03_21_14_10183.jpg', 2), ('/mnt/data/16062025/03/20/image_16062025_03_20_45_10172.jpg', 2), ('/mnt/data/16062025/03/20/image_16062025_03_20_14_10149.jpg', 2), ('/mnt/data/16062025/03/19/image_16062025_03_19_45_10267.jpg', 2), ('/mnt/data/16062025/03/19/image_16062025_03_19_14_10164.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ddfc7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:24:13.928131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/22/image_16062025_03_22_34_10166.jpg', 2), ('/mnt/data/16062025/03/21/image_16062025_03_21_34_10207.jpg', 2), ('/mnt/data/16062025/03/21/image_16062025_03_21_14_10183.jpg', 2), ('/mnt/data/16062025/03/20/image_16062025_03_20_45_10172.jpg', 2), ('/mnt/data/16062025/03/20/image_16062025_03_20_14_10149.jpg', 2), ('/mnt/data/16062025/03/19/image_16062025_03_19_45_10267.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b9b8828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:25:25.987177
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/24/image_16062025_03_24_14_10197.jpg', 2), ('/mnt/data/16062025/03/22/image_16062025_03_22_34_10166.jpg', 2), ('/mnt/data/16062025/03/21/image_16062025_03_21_34_10207.jpg', 2), ('/mnt/data/16062025/03/21/image_16062025_03_21_14_10183.jpg', 2), ('/mnt/data/16062025/03/20/image_16062025_03_20_45_10172.jpg', 2), ('/mnt/data/16062025/03/20/image_16062025_03_20_14_10149.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f892c57b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:27:02.691345
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:28:02.787821
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/27/image_16062025_03_27_45_10206.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_24_10184.jpg', 2), ('/mnt/data/16062025/03/25/image_16062025_03_25_24_10173.jpg', 2), ('/mnt/data/16062025/03/24/image_16062025_03_24_14_10197.jpg', 2), ('/mnt/data/16062025/03/22/image_16062025_03_22_34_10166.jpg', 2), ('/mnt/data/16062025/03/21/image_16062025_03_21_34_10207.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e04e7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:29:14.652284
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/28/image_16062025_03_28_35_10170.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_24_10166.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_55_10176.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_45_10206.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_24_10184.jpg', 2), ('/mnt/data/16062025/03/25/image_16062025_03_25_24_10173.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf3e0828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:32:02.352729
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/30/image_16062025_03_30_44_10203.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_35_10170.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_24_10166.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_55_10176.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_45_10206.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_24_10184.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5b13828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:33:14.033354
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/30/image_16062025_03_30_44_10203.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_45_10218.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_35_10170.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_24_10166.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_55_10176.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_45_10206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4e6b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:34:26.068853
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/30/image_16062025_03_30_44_10203.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_45_10218.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_35_10170.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_24_10166.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_55_10176.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_45_10206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8d5397b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:36:02.996237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/30/image_16062025_03_30_44_10203.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_45_10218.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_35_10170.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_24_10166.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_55_10176.jpg', 2), ('/mnt/data/16062025/03/27/image_16062025_03_27_45_10206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2858828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:37:14.644506
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/36/image_16062025_03_36_14_10203.jpg', 2), ('/mnt/data/16062025/03/35/image_16062025_03_36_04_10351.jpg', 2), ('/mnt/data/16062025/03/32/image_16062025_03_32_24_9850.jpg', 2), ('/mnt/data/16062025/03/30/image_16062025_03_30_44_10203.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_45_10218.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_35_10170.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b7b2828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:38:25.764881
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/36/image_16062025_03_36_14_10203.jpg', 2), ('/mnt/data/16062025/03/35/image_16062025_03_36_04_10351.jpg', 2), ('/mnt/data/16062025/03/32/image_16062025_03_32_24_9850.jpg', 2), ('/mnt/data/16062025/03/30/image_16062025_03_30_44_10203.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_45_10218.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_35_10170.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9acac828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:40:02.949469
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/39/image_16062025_03_39_54_10233.jpg', 2), ('/mnt/data/16062025/03/36/image_16062025_03_36_14_10203.jpg', 2), ('/mnt/data/16062025/03/35/image_16062025_03_36_04_10351.jpg', 2), ('/mnt/data/16062025/03/32/image_16062025_03_32_24_9850.jpg', 2), ('/mnt/data/16062025/03/30/image_16062025_03_30_44_10203.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_45_10218.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7e62828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:41:14.651837
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/39/image_16062025_03_39_54_10233.jpg', 2), ('/mnt/data/16062025/03/36/image_16062025_03_36_14_10203.jpg', 2), ('/mnt/data/16062025/03/35/image_16062025_03_36_04_10351.jpg', 2), ('/mnt/data/16062025/03/32/image_16062025_03_32_24_9850.jpg', 2), ('/mnt/data/16062025/03/30/image_16062025_03_30_44_10203.jpg', 2), ('/mnt/data/16062025/03/28/image_16062025_03_28_45_10218.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1b90828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:42:25.747929
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/42/image_16062025_03_42_14_10217.jpg', 2), ('/mnt/data/16062025/03/39/image_16062025_03_39_54_10233.jpg', 2), ('/mnt/data/16062025/03/37/image_16062025_03_37_54_10202.jpg', 2), ('/mnt/data/16062025/03/36/image_16062025_03_36_14_10203.jpg', 2), ('/mnt/data/16062025/03/35/image_16062025_03_36_04_10351.jpg', 2), ('/mnt/data/16062025/03/32/image_16062025_03_32_24_9850.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f768457b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:44:02.461639
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/42/image_16062025_03_42_35_10205.jpg', 2), ('/mnt/data/16062025/03/42/image_16062025_03_42_14_10217.jpg', 2), ('/mnt/data/16062025/03/39/image_16062025_03_39_54_10233.jpg', 2), ('/mnt/data/16062025/03/37/image_16062025_03_37_54_10202.jpg', 2), ('/mnt/data/16062025/03/36/image_16062025_03_36_14_10203.jpg', 2), ('/mnt/data/16062025/03/35/image_16062025_03_36_04_10351.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa59a8828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:45:14.063193
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_24_10204.jpg', 2), ('/mnt/data/16062025/03/43/image_16062025_03_43_14_10179.jpg', 2), ('/mnt/data/16062025/03/42/image_16062025_03_42_35_10205.jpg', 2), ('/mnt/data/16062025/03/42/image_16062025_03_42_14_10217.jpg', 2), ('/mnt/data/16062025/03/39/image_16062025_03_39_54_10233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa819828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:46:26.176186
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_24_10204.jpg', 2), ('/mnt/data/16062025/03/43/image_16062025_03_43_14_10179.jpg', 2), ('/mnt/data/16062025/03/42/image_16062025_03_42_35_10205.jpg', 2), ('/mnt/data/16062025/03/42/image_16062025_03_42_14_10217.jpg', 2), ('/mnt/data/16062025/03/39/image_16062025_03_39_54_10233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa905b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:48:02.876912
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_24_10204.jpg', 2), ('/mnt/data/16062025/03/43/image_16062025_03_43_14_10179.jpg', 2), ('/mnt/data/16062025/03/42/image_16062025_03_42_35_10205.jpg', 2), ('/mnt/data/16062025/03/42/image_16062025_03_42_14_10217.jpg', 2), ('/mnt/data/16062025/03/39/image_16062025_03_39_54_10233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f81577828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:49:14.580946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/48/image_16062025_03_48_45_10170.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_35_10177.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_55_10172.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_24_10204.jpg', 2), ('/mnt/data/16062025/03/43/image_16062025_03_43_14_10179.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf854828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:50:26.614828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/49/image_16062025_03_49_45_10177.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_45_10170.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_35_10177.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_55_10172.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_24_10204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82f4f7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:52:02.209303
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/49/image_16062025_03_49_45_10177.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_45_10170.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_35_10177.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_55_10172.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_24_10204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f799d97b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:53:13.918393
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/49/image_16062025_03_49_45_10177.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_45_10170.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_35_10177.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_55_10172.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_24_10204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1deb860>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:54:26.040829
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/49/image_16062025_03_49_45_10177.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_45_10170.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_35_10177.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_55_10172.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_24_10204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf62d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 03:59:03.255892
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/50/image_16062025_03_50_54_10155.jpg', 2), ('/mnt/data/16062025/03/49/image_16062025_03_49_45_10177.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_45_10170.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_35_10177.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_55_10172.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_45_10211.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9ebe3828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:00:03.041150
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/03/54/image_16062025_03_55_04_10230.jpg', 2), ('/mnt/data/16062025/03/50/image_16062025_03_50_54_10155.jpg', 2), ('/mnt/data/16062025/03/49/image_16062025_03_49_45_10177.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_45_10170.jpg', 2), ('/mnt/data/16062025/03/48/image_16062025_03_48_35_10177.jpg', 2), ('/mnt/data/16062025/03/44/image_16062025_03_44_55_10172.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa58c3828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:01:13.783441
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2), ('/mnt/data/16062025/03/59/image_16062025_03_59_44_10218.jpg', 2), ('/mnt/data/16062025/03/54/image_16062025_03_55_04_10230.jpg', 2), ('/mnt/data/16062025/03/50/image_16062025_03_50_54_10155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82f37828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:02:25.879227
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2), ('/mnt/data/16062025/03/59/image_16062025_03_59_44_10218.jpg', 2), ('/mnt/data/16062025/03/54/image_16062025_03_55_04_10230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1168828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:04:02.380743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2), ('/mnt/data/16062025/03/59/image_16062025_03_59_44_10218.jpg', 2), ('/mnt/data/16062025/03/54/image_16062025_03_55_04_10230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98d4f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:05:14.121666
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2), ('/mnt/data/16062025/03/59/image_16062025_03_59_44_10218.jpg', 2), ('/mnt/data/16062025/03/54/image_16062025_03_55_04_10230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f904b3828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:06:26.206396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2), ('/mnt/data/16062025/03/59/image_16062025_03_59_44_10218.jpg', 2), ('/mnt/data/16062025/03/54/image_16062025_03_55_04_10230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa69ac828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:08:02.773124
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2), ('/mnt/data/16062025/03/59/image_16062025_03_59_44_10218.jpg', 2), ('/mnt/data/16062025/03/54/image_16062025_03_55_04_10230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97ea2828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:09:14.556841
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2), ('/mnt/data/16062025/03/59/image_16062025_03_59_44_10218.jpg', 2), ('/mnt/data/16062025/03/54/image_16062025_03_55_04_10230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f965a1828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:10:26.645073
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faca52828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:11:14.764261
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_01_05_10319.jpg', 2), ('/mnt/data/16062025/04/00/image_16062025_04_00_44_10172.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8ce4828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:12:25.848158
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_34_10200.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8dc6e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:14:02.462660
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c2f17b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:15:14.177254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faae52828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:16:26.320476
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f779e5828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:18:02.824420
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f938d6828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:19:03.327151
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c5e8828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:20:14.787647
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa424a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:21:25.797840
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab120828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:23:02.628027
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb548d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:24:14.210829
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2), ('/mnt/data/16062025/04/02/image_16062025_04_02_14_9010.jpg', 2), ('/mnt/data/16062025/04/01/image_16062025_04_01_44_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fad7b1828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:25:26.232671
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/25/image_16062025_04_25_35_10166.jpg', 2), ('/mnt/data/16062025/04/13/image_16062025_04_13_44_10187.jpg', 2), ('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_54_10217.jpg', 2), ('/mnt/data/16062025/04/10/image_16062025_04_10_14_9016.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb52f3828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:27:03.006455
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:29:02.742532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/27/image_16062025_04_27_44_8965.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_45_10156.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_35_10166.jpg', 2), ('/mnt/data/16062025/04/13/image_16062025_04_13_44_10187.jpg', 2), ('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2), ('/mnt/data/16062025/04/11/image_16062025_04_12_05_10445.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9d99d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:30:14.045934
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_44_8965.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_45_10156.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_35_10166.jpg', 2), ('/mnt/data/16062025/04/13/image_16062025_04_13_44_10187.jpg', 2), ('/mnt/data/16062025/04/12/image_16062025_04_12_14_8988.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79855828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:31:26.206639
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/30/image_16062025_04_30_44_10180.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_44_8965.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_45_10156.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_35_10166.jpg', 2), ('/mnt/data/16062025/04/13/image_16062025_04_13_44_10187.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f83070828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:33:03.058250
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/30/image_16062025_04_31_04_10187.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_30_44_10180.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_44_8965.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_45_10156.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_35_10166.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6dff828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:34:14.580717
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/33/image_16062025_04_34_05_10448.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_31_04_10187.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_30_44_10180.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_44_8965.jpg', 2), ('/mnt/data/16062025/04/25/image_16062025_04_25_45_10156.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90ae1828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:35:26.675523
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/33/image_16062025_04_34_05_10448.jpg', 2), ('/mnt/data/16062025/04/32/image_16062025_04_32_34_8997.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_31_04_10187.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_30_44_10180.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_44_8965.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f979c4828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:37:02.427254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2), ('/mnt/data/16062025/04/33/image_16062025_04_34_05_10448.jpg', 2), ('/mnt/data/16062025/04/32/image_16062025_04_32_34_8997.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_31_04_10187.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_30_44_10180.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa9d0828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:38:14.065726
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2), ('/mnt/data/16062025/04/33/image_16062025_04_34_05_10448.jpg', 2), ('/mnt/data/16062025/04/32/image_16062025_04_32_34_8997.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_31_04_10187.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_30_44_10180.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1dcd7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:39:26.612317
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2), ('/mnt/data/16062025/04/33/image_16062025_04_34_05_10448.jpg', 2), ('/mnt/data/16062025/04/32/image_16062025_04_32_34_8997.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_31_04_10187.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_30_44_10180.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ad13828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:41:02.483132
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2), ('/mnt/data/16062025/04/33/image_16062025_04_34_05_10448.jpg', 2), ('/mnt/data/16062025/04/32/image_16062025_04_32_34_8997.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_31_04_10187.jpg', 2), ('/mnt/data/16062025/04/30/image_16062025_04_30_44_10180.jpg', 2), ('/mnt/data/16062025/04/27/image_16062025_04_27_54_10195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7d3647b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:42:13.904978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/42/image_16062025_04_42_25_10214.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_25_10197.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_14_10197.jpg', 2), ('/mnt/data/16062025/04/36/image_16062025_04_36_14_9012.jpg', 2), ('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2), ('/mnt/data/16062025/04/33/image_16062025_04_34_05_10448.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94983828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:43:26.081005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/43/image_16062025_04_43_14_10203.jpg', 2), ('/mnt/data/16062025/04/42/image_16062025_04_42_25_10214.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_25_10197.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_14_10197.jpg', 2), ('/mnt/data/16062025/04/36/image_16062025_04_36_14_9012.jpg', 2), ('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9040c828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9040c828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9040c828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:45:02.923887
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/43/image_16062025_04_43_14_10203.jpg', 2), ('/mnt/data/16062025/04/42/image_16062025_04_42_25_10214.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_25_10197.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_14_10197.jpg', 2), ('/mnt/data/16062025/04/36/image_16062025_04_36_14_9012.jpg', 2), ('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97b737b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97b737b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97b737b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:46:14.386556
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/43/image_16062025_04_43_14_10203.jpg', 2), ('/mnt/data/16062025/04/42/image_16062025_04_42_25_10214.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_25_10197.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_14_10197.jpg', 2), ('/mnt/data/16062025/04/36/image_16062025_04_36_14_9012.jpg', 2), ('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f945357f0>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f945357f0>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f945357f0>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:47:26.445171
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/43/image_16062025_04_43_14_10203.jpg', 2), ('/mnt/data/16062025/04/42/image_16062025_04_42_25_10214.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_25_10197.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_14_10197.jpg', 2), ('/mnt/data/16062025/04/36/image_16062025_04_36_14_9012.jpg', 2), ('/mnt/data/16062025/04/35/image_16062025_04_35_54_10198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89d9a828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89d9a828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89d9a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:49:03.351638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/48/image_16062025_04_48_15_10239.jpg', 2), ('/mnt/data/16062025/04/43/image_16062025_04_43_14_10203.jpg', 2), ('/mnt/data/16062025/04/42/image_16062025_04_42_35_10220.jpg', 2), ('/mnt/data/16062025/04/42/image_16062025_04_42_25_10214.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_25_10197.jpg', 2), ('/mnt/data/16062025/04/41/image_16062025_04_41_14_10197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b677828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b677828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b677828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:50:13.787558
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/49/image_16062025_04_50_05_10294.jpg', 2), ('/mnt/data/16062025/04/48/image_16062025_04_48_24_8951.jpg', 2), ('/mnt/data/16062025/04/48/image_16062025_04_48_15_10239.jpg', 2), ('/mnt/data/16062025/04/43/image_16062025_04_43_14_10203.jpg', 2), ('/mnt/data/16062025/04/42/image_16062025_04_42_35_10220.jpg', 2), ('/mnt/data/16062025/04/42/image_16062025_04_42_25_10214.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4e2f7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4e2f7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4e2f7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:51:25.922413
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/51/image_16062025_04_51_24_10428.jpg', 2), ('/mnt/data/16062025/04/50/image_16062025_04_50_44_10168.jpg', 2), ('/mnt/data/16062025/04/49/image_16062025_04_50_05_10294.jpg', 2), ('/mnt/data/16062025/04/48/image_16062025_04_48_24_8951.jpg', 2), ('/mnt/data/16062025/04/48/image_16062025_04_48_15_10239.jpg', 2), ('/mnt/data/16062025/04/43/image_16062025_04_43_14_10203.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa4c85828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4c85828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa4c85828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:53:02.620881
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/52/image_16062025_04_52_24_10211.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_51_55_10270.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_51_24_10428.jpg', 2), ('/mnt/data/16062025/04/50/image_16062025_04_50_44_10168.jpg', 2), ('/mnt/data/16062025/04/49/image_16062025_04_50_05_10294.jpg', 2), ('/mnt/data/16062025/04/48/image_16062025_04_48_24_8951.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9481d828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9481d828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9481d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:54:14.350725
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/52/image_16062025_04_52_24_10211.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_52_04_9136.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_51_55_10270.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_51_24_10428.jpg', 2), ('/mnt/data/16062025/04/50/image_16062025_04_50_44_10168.jpg', 2), ('/mnt/data/16062025/04/49/image_16062025_04_50_05_10294.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97d34828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97d34828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97d34828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 04:59:03.047654
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/55/image_16062025_04_55_25_10231.jpg', 2), ('/mnt/data/16062025/04/54/image_16062025_04_54_35_10211.jpg', 2), ('/mnt/data/16062025/04/52/image_16062025_04_52_24_10211.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_52_04_9136.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_51_55_10270.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_51_24_10428.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f878b1828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f878b1828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f878b1828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:00:14.434800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/04/58/image_16062025_04_58_15_10229.jpg', 2), ('/mnt/data/16062025/04/55/image_16062025_04_55_25_10231.jpg', 2), ('/mnt/data/16062025/04/54/image_16062025_04_54_35_10211.jpg', 2), ('/mnt/data/16062025/04/52/image_16062025_04_52_24_10211.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_52_04_9136.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_51_55_10270.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89c0b7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89c0b7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89c0b7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:01:26.529168
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2), ('/mnt/data/16062025/04/58/image_16062025_04_58_15_10229.jpg', 2), ('/mnt/data/16062025/04/55/image_16062025_04_55_25_10231.jpg', 2), ('/mnt/data/16062025/04/54/image_16062025_04_54_35_10211.jpg', 2), ('/mnt/data/16062025/04/52/image_16062025_04_52_24_10211.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_52_04_9136.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9407c828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9407c828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9407c828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:03:03.109601
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2), ('/mnt/data/16062025/04/58/image_16062025_04_58_15_10229.jpg', 2), ('/mnt/data/16062025/04/55/image_16062025_04_55_25_10231.jpg', 2), ('/mnt/data/16062025/04/54/image_16062025_04_54_35_10211.jpg', 2), ('/mnt/data/16062025/04/52/image_16062025_04_52_24_10211.jpg', 2), ('/mnt/data/16062025/04/51/image_16062025_04_52_04_9136.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f95c27828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95c27828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95c27828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:04:13.829159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2), ('/mnt/data/16062025/04/59/image_16062025_04_59_44_8948.jpg', 2), ('/mnt/data/16062025/04/58/image_16062025_04_58_15_10229.jpg', 2), ('/mnt/data/16062025/04/55/image_16062025_04_55_25_10231.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa750d828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa750d828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa750d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:05:25.949792
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2), ('/mnt/data/16062025/04/59/image_16062025_04_59_44_8948.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f805a9828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f805a9828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f805a9828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:07:02.872408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2), ('/mnt/data/16062025/04/59/image_16062025_04_59_44_8948.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e590828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e590828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e590828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:08:14.230830
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2), ('/mnt/data/16062025/04/59/image_16062025_04_59_44_8948.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7beb0828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7beb0828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7beb0828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:09:26.325716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2), ('/mnt/data/16062025/04/59/image_16062025_04_59_44_8948.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89416828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89416828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89416828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:11:03.071121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8606828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8606828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8606828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:12:14.693981
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f907bf828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f907bf828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f907bf828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:13:03.279026
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9631e828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9631e828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9631e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:14:13.849096
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faaf6a828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaf6a828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faaf6a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:15:25.934345
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab726828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab726828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab726828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:17:02.580121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa25a8828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa25a8828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa25a8828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:18:14.268665
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2), ('/mnt/data/16062025/05/01/image_16062025_05_01_34_9983.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85713828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85713828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85713828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:19:26.445927
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/19/image_16062025_05_19_54_10068.jpg', 2), ('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb02f7828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb02f7828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb02f7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:21:03.227304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/19/image_16062025_05_19_54_10068.jpg', 2), ('/mnt/data/16062025/05/10/image_16062025_05_10_44_10140.jpg', 2), ('/mnt/data/16062025/05/05/image_16062025_05_05_24_10131.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_54_9930.jpg', 2), ('/mnt/data/16062025/05/04/image_16062025_05_04_15_9957.jpg', 2), ('/mnt/data/16062025/05/03/image_16062025_05_04_04_9943.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90027828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90027828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90027828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:22:14.726418
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/22/image_16062025_05_22_45_10019.jpg', 2), ('/mnt/data/16062025/05/22/image_16062025_05_22_35_9989.jpg', 2), ('/mnt/data/16062025/05/22/image_16062025_05_22_25_9967.jpg', 2), ('/mnt/data/16062025/05/22/image_16062025_05_22_15_9988.jpg', 2), ('/mnt/data/16062025/05/21/image_16062025_05_22_05_10125.jpg', 2), ('/mnt/data/16062025/05/21/image_16062025_05_21_55_10004.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5823828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5823828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5823828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:23:25.841655
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/23/image_16062025_05_23_44_10116.jpg', 2), ('/mnt/data/16062025/05/23/image_16062025_05_23_34_10085.jpg', 2), ('/mnt/data/16062025/05/23/image_16062025_05_23_24_10108.jpg', 2), ('/mnt/data/16062025/05/23/image_16062025_05_23_14_8914.jpg', 2), ('/mnt/data/16062025/05/22/image_16062025_05_23_05_10136.jpg', 2), ('/mnt/data/16062025/05/22/image_16062025_05_22_55_9966.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f931fc828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f931fc828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f931fc828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:25:02.720360
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/24/image_16062025_05_24_44_10137.jpg', 2), ('/mnt/data/16062025/05/24/image_16062025_05_24_34_8912.jpg', 2), ('/mnt/data/16062025/05/24/image_16062025_05_24_25_10216.jpg', 2), ('/mnt/data/16062025/05/23/image_16062025_05_24_04_10175.jpg', 2), ('/mnt/data/16062025/05/23/image_16062025_05_23_54_10101.jpg', 2), ('/mnt/data/16062025/05/23/image_16062025_05_23_44_10116.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae3fb828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae3fb828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae3fb828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:26:14.097381
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/26/image_16062025_05_26_44_9120.jpg', 2), ('/mnt/data/16062025/05/26/image_16062025_05_26_35_10189.jpg', 2), ('/mnt/data/16062025/05/26/image_16062025_05_26_25_10197.jpg', 2), ('/mnt/data/16062025/05/26/image_16062025_05_26_14_10192.jpg', 2), ('/mnt/data/16062025/05/25/image_16062025_05_26_04_10563.jpg', 2), ('/mnt/data/16062025/05/25/image_16062025_05_25_54_8995.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c11e860>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c11e860>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c11e860>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:27:26.189441
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:29:03.322157
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/27/image_16062025_05_27_44_10178.jpg', 2), ('/mnt/data/16062025/05/27/image_16062025_05_27_24_9034.jpg', 2), ('/mnt/data/16062025/05/27/image_16062025_05_27_15_10236.jpg', 2), ('/mnt/data/16062025/05/26/image_16062025_05_27_04_10201.jpg', 2), ('/mnt/data/16062025/05/26/image_16062025_05_26_54_10276.jpg', 2), ('/mnt/data/16062025/05/26/image_16062025_05_26_44_9120.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2873828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2873828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2873828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:30:14.725596
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/30/image_16062025_05_30_45_10076.jpg', 2), ('/mnt/data/16062025/05/30/image_16062025_05_30_35_10105.jpg', 2), ('/mnt/data/16062025/05/30/image_16062025_05_30_25_10030.jpg', 2), ('/mnt/data/16062025/05/30/image_16062025_05_30_14_9985.jpg', 2), ('/mnt/data/16062025/05/29/image_16062025_05_30_05_10343.jpg', 2), ('/mnt/data/16062025/05/29/image_16062025_05_29_54_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_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb1676828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1676828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb1676828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:31:25.824464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/31/image_16062025_05_31_44_10082.jpg', 2), ('/mnt/data/16062025/05/31/image_16062025_05_31_34_10194.jpg', 2), ('/mnt/data/16062025/05/31/image_16062025_05_31_24_10101.jpg', 2), ('/mnt/data/16062025/05/31/image_16062025_05_31_14_10086.jpg', 2), ('/mnt/data/16062025/05/30/image_16062025_05_31_04_8840.jpg', 2), ('/mnt/data/16062025/05/30/image_16062025_05_30_55_10087.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa504f828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa504f828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa504f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:33:03.132457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/32/image_16062025_05_32_14_9992.jpg', 2), ('/mnt/data/16062025/05/31/image_16062025_05_32_04_9991.jpg', 2), ('/mnt/data/16062025/05/31/image_16062025_05_31_54_9998.jpg', 2), ('/mnt/data/16062025/05/31/image_16062025_05_31_44_10082.jpg', 2), ('/mnt/data/16062025/05/31/image_16062025_05_31_34_10194.jpg', 2), ('/mnt/data/16062025/05/31/image_16062025_05_31_24_10101.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa5ea8828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5ea8828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa5ea8828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:34:14.552099
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/34/image_16062025_05_34_45_9995.jpg', 2), ('/mnt/data/16062025/05/34/image_16062025_05_34_35_9979.jpg', 2), ('/mnt/data/16062025/05/34/image_16062025_05_34_25_9969.jpg', 2), ('/mnt/data/16062025/05/34/image_16062025_05_34_15_9988.jpg', 2), ('/mnt/data/16062025/05/33/image_16062025_05_34_05_9997.jpg', 2), ('/mnt/data/16062025/05/33/image_16062025_05_33_55_9951.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9bb73828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bb73828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9bb73828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:35:26.710071
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/35/image_16062025_05_35_45_9972.jpg', 2), ('/mnt/data/16062025/05/35/image_16062025_05_35_35_9945.jpg', 2), ('/mnt/data/16062025/05/35/image_16062025_05_35_25_9946.jpg', 2), ('/mnt/data/16062025/05/35/image_16062025_05_35_15_9996.jpg', 2), ('/mnt/data/16062025/05/34/image_16062025_05_35_05_10032.jpg', 2), ('/mnt/data/16062025/05/34/image_16062025_05_34_55_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_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faf65e828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf65e828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faf65e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:37:02.413015
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/36/image_16062025_05_36_44_10176.jpg', 2), ('/mnt/data/16062025/05/36/image_16062025_05_36_34_9897.jpg', 2), ('/mnt/data/16062025/05/36/image_16062025_05_36_24_10170.jpg', 2), ('/mnt/data/16062025/05/36/image_16062025_05_36_14_10107.jpg', 2), ('/mnt/data/16062025/05/35/image_16062025_05_36_04_9026.jpg', 2), ('/mnt/data/16062025/05/35/image_16062025_05_35_55_10058.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b106828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b106828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b106828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:38:14.041360
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/38/image_16062025_05_38_44_9943.jpg', 2), ('/mnt/data/16062025/05/38/image_16062025_05_38_34_9939.jpg', 2), ('/mnt/data/16062025/05/38/image_16062025_05_38_24_9938.jpg', 2), ('/mnt/data/16062025/05/38/image_16062025_05_38_14_9962.jpg', 2), ('/mnt/data/16062025/05/37/image_16062025_05_38_04_10231.jpg', 2), ('/mnt/data/16062025/05/37/image_16062025_05_37_54_10143.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8de73828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8de73828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8de73828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:39:26.163505
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/39/image_16062025_05_39_44_9990.jpg', 2), ('/mnt/data/16062025/05/39/image_16062025_05_39_34_9975.jpg', 2), ('/mnt/data/16062025/05/39/image_16062025_05_39_24_9981.jpg', 2), ('/mnt/data/16062025/05/39/image_16062025_05_39_14_9978.jpg', 2), ('/mnt/data/16062025/05/38/image_16062025_05_39_04_9978.jpg', 2), ('/mnt/data/16062025/05/38/image_16062025_05_38_54_10009.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78ed2828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78ed2828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78ed2828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:40:14.250225
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/40/image_16062025_05_40_44_10013.jpg', 2), ('/mnt/data/16062025/05/40/image_16062025_05_40_34_9961.jpg', 2), ('/mnt/data/16062025/05/40/image_16062025_05_40_24_9970.jpg', 2), ('/mnt/data/16062025/05/40/image_16062025_05_40_14_10002.jpg', 2), ('/mnt/data/16062025/05/39/image_16062025_05_40_04_10217.jpg', 2), ('/mnt/data/16062025/05/39/image_16062025_05_39_54_9804.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7bce7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7bce7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7bce7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:41:26.331497
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/41/image_16062025_05_41_45_10222.jpg', 2), ('/mnt/data/16062025/05/41/image_16062025_05_41_34_10126.jpg', 2), ('/mnt/data/16062025/05/41/image_16062025_05_41_24_10137.jpg', 2), ('/mnt/data/16062025/05/41/image_16062025_05_41_14_10107.jpg', 2), ('/mnt/data/16062025/05/40/image_16062025_05_41_04_10101.jpg', 2), ('/mnt/data/16062025/05/40/image_16062025_05_40_54_9973.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79a9f828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79a9f828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79a9f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:43:03.018024
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/42/image_16062025_05_42_45_10140.jpg', 2), ('/mnt/data/16062025/05/42/image_16062025_05_42_34_10290.jpg', 2), ('/mnt/data/16062025/05/42/image_16062025_05_42_24_10132.jpg', 2), ('/mnt/data/16062025/05/42/image_16062025_05_42_14_10222.jpg', 2), ('/mnt/data/16062025/05/41/image_16062025_05_42_04_9007.jpg', 2), ('/mnt/data/16062025/05/41/image_16062025_05_41_55_10227.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa7510828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7510828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa7510828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:44:14.077282
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/44/image_16062025_05_44_44_10075.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_34_9993.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_24_10068.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_14_10085.jpg', 2), ('/mnt/data/16062025/05/43/image_16062025_05_44_04_9063.jpg', 2), ('/mnt/data/16062025/05/43/image_16062025_05_43_55_10176.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac2ba828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac2ba828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac2ba828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:45:26.196779
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/45/image_16062025_05_45_14_10064.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_45_04_10057.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_54_9947.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_44_10075.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_34_9993.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_24_10068.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9a432828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a432828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9a432828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:47:02.735430
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/45/image_16062025_05_45_14_10064.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_45_04_10057.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_54_9947.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_44_10075.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_34_9993.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_24_10068.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8bca4828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bca4828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bca4828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:48:14.497001
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/45/image_16062025_05_45_14_10064.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_45_04_10057.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_54_9947.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_44_10075.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_34_9993.jpg', 2), ('/mnt/data/16062025/05/44/image_16062025_05_44_24_10068.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a0af828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a0af828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a0af828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:49:26.652925
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/49/image_16062025_05_49_44_9940.jpg', 2), ('/mnt/data/16062025/05/49/image_16062025_05_49_34_9925.jpg', 2), ('/mnt/data/16062025/05/49/image_16062025_05_49_24_9943.jpg', 2), ('/mnt/data/16062025/05/49/image_16062025_05_49_14_9951.jpg', 2), ('/mnt/data/16062025/05/48/image_16062025_05_49_04_9995.jpg', 2), ('/mnt/data/16062025/05/45/image_16062025_05_45_24_9941.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f88f24828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88f24828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f88f24828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:51:02.510709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/50/image_16062025_05_50_44_10190.jpg', 2), ('/mnt/data/16062025/05/50/image_16062025_05_50_34_10070.jpg', 2), ('/mnt/data/16062025/05/50/image_16062025_05_50_24_10114.jpg', 2), ('/mnt/data/16062025/05/50/image_16062025_05_50_14_10033.jpg', 2), ('/mnt/data/16062025/05/49/image_16062025_05_50_04_10112.jpg', 2), ('/mnt/data/16062025/05/49/image_16062025_05_49_54_9987.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa1774828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1774828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa1774828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:52:14.032320
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/52/image_16062025_05_52_44_10103.jpg', 2), ('/mnt/data/16062025/05/52/image_16062025_05_52_34_10114.jpg', 2), ('/mnt/data/16062025/05/52/image_16062025_05_52_24_10098.jpg', 2), ('/mnt/data/16062025/05/52/image_16062025_05_52_14_10171.jpg', 2), ('/mnt/data/16062025/05/51/image_16062025_05_52_04_9237.jpg', 2), ('/mnt/data/16062025/05/51/image_16062025_05_51_55_10129.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa42e4828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa42e4828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa42e4828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:53:26.117950
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/53/image_16062025_05_53_44_10264.jpg', 2), ('/mnt/data/16062025/05/53/image_16062025_05_53_34_8879.jpg', 2), ('/mnt/data/16062025/05/53/image_16062025_05_53_25_10098.jpg', 2), ('/mnt/data/16062025/05/53/image_16062025_05_53_15_10309.jpg', 2), ('/mnt/data/16062025/05/52/image_16062025_05_53_04_10122.jpg', 2), ('/mnt/data/16062025/05/52/image_16062025_05_52_54_10068.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fab11f828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab11f828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fab11f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 05:59:02.607396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/05/58/image_16062025_05_58_44_9975.jpg', 2), ('/mnt/data/16062025/05/58/image_16062025_05_58_34_10077.jpg', 2), ('/mnt/data/16062025/05/57/image_16062025_05_57_34_9992.jpg', 2), ('/mnt/data/16062025/05/57/image_16062025_05_57_24_9748.jpg', 2), ('/mnt/data/16062025/05/57/image_16062025_05_57_15_9978.jpg', 2), ('/mnt/data/16062025/05/56/image_16062025_05_57_05_10141.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3ff2828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3ff2828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3ff2828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:00:14.038369
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/00/image_16062025_06_00_44_10025.jpg', 2), ('/mnt/data/16062025/06/00/image_16062025_06_00_34_9955.jpg', 2), ('/mnt/data/16062025/06/00/image_16062025_06_00_24_9968.jpg', 2), ('/mnt/data/16062025/06/00/image_16062025_06_00_14_10014.jpg', 2), ('/mnt/data/16062025/05/59/image_16062025_06_00_04_10193.jpg', 2), ('/mnt/data/16062025/05/59/image_16062025_05_59_54_9973.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80e20828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80e20828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80e20828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:01:02.546627
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/00/image_16062025_06_00_44_10025.jpg', 2), ('/mnt/data/16062025/06/00/image_16062025_06_00_34_9955.jpg', 2), ('/mnt/data/16062025/06/00/image_16062025_06_00_24_9968.jpg', 2), ('/mnt/data/16062025/06/00/image_16062025_06_00_14_10014.jpg', 2), ('/mnt/data/16062025/05/59/image_16062025_06_00_04_10193.jpg', 2), ('/mnt/data/16062025/05/59/image_16062025_05_59_54_9973.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb2cc77b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2cc77b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb2cc77b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:02:14.227075
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/02/image_16062025_06_02_45_10168.jpg', 2), ('/mnt/data/16062025/06/02/image_16062025_06_02_35_10138.jpg', 2), ('/mnt/data/16062025/06/02/image_16062025_06_02_25_10125.jpg', 2), ('/mnt/data/16062025/06/02/image_16062025_06_02_14_10184.jpg', 2), ('/mnt/data/16062025/06/01/image_16062025_06_02_04_10575.jpg', 2), ('/mnt/data/16062025/06/01/image_16062025_06_01_54_8939.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97813828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97813828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97813828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:03:26.348403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/03/image_16062025_06_03_35_9935.jpg', 2), ('/mnt/data/16062025/06/03/image_16062025_06_03_25_9914.jpg', 2), ('/mnt/data/16062025/06/03/image_16062025_06_03_15_9943.jpg', 2), ('/mnt/data/16062025/06/02/image_16062025_06_03_05_11022.jpg', 2), ('/mnt/data/16062025/06/02/image_16062025_06_02_54_8920.jpg', 2), ('/mnt/data/16062025/06/02/image_16062025_06_02_45_10168.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f94092828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94092828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f94092828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:05:03.019693
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/04/image_16062025_06_04_45_9951.jpg', 2), ('/mnt/data/16062025/06/04/image_16062025_06_04_35_9976.jpg', 2), ('/mnt/data/16062025/06/04/image_16062025_06_04_25_9944.jpg', 2), ('/mnt/data/16062025/06/04/image_16062025_06_04_15_9971.jpg', 2), ('/mnt/data/16062025/06/03/image_16062025_06_04_05_10066.jpg', 2), ('/mnt/data/16062025/06/03/image_16062025_06_03_45_10047.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f946b9828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f946b9828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f946b9828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:06:14.707478
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/06/image_16062025_06_06_44_9960.jpg', 2), ('/mnt/data/16062025/06/06/image_16062025_06_06_34_9994.jpg', 2), ('/mnt/data/16062025/06/06/image_16062025_06_06_24_9998.jpg', 2), ('/mnt/data/16062025/06/06/image_16062025_06_06_14_10161.jpg', 2), ('/mnt/data/16062025/06/05/image_16062025_06_06_04_10049.jpg', 2), ('/mnt/data/16062025/06/05/image_16062025_06_05_54_10006.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f957bf828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f957bf828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f957bf828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:07:25.768498
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/07/image_16062025_06_07_44_9938.jpg', 2), ('/mnt/data/16062025/06/07/image_16062025_06_07_34_10048.jpg', 2), ('/mnt/data/16062025/06/07/image_16062025_06_07_14_10121.jpg', 2), ('/mnt/data/16062025/06/06/image_16062025_06_07_04_10052.jpg', 2), ('/mnt/data/16062025/06/06/image_16062025_06_06_54_9979.jpg', 2), ('/mnt/data/16062025/06/06/image_16062025_06_06_44_9960.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb51df828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb51df828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb51df828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:09:02.749117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/08/image_16062025_06_08_44_9962.jpg', 2), ('/mnt/data/16062025/06/08/image_16062025_06_08_34_9941.jpg', 2), ('/mnt/data/16062025/06/08/image_16062025_06_08_24_9957.jpg', 2), ('/mnt/data/16062025/06/08/image_16062025_06_08_14_9936.jpg', 2), ('/mnt/data/16062025/06/07/image_16062025_06_08_04_10002.jpg', 2), ('/mnt/data/16062025/06/07/image_16062025_06_07_54_9991.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f79437828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79437828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f79437828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:10:14.107714
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/10/image_16062025_06_10_44_10086.jpg', 2), ('/mnt/data/16062025/06/10/image_16062025_06_10_34_10073.jpg', 2), ('/mnt/data/16062025/06/10/image_16062025_06_10_24_10083.jpg', 2), ('/mnt/data/16062025/06/10/image_16062025_06_10_14_10201.jpg', 2), ('/mnt/data/16062025/06/09/image_16062025_06_09_55_10026.jpg', 2), ('/mnt/data/16062025/06/09/image_16062025_06_09_45_10085.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0c31828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0c31828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0c31828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:11:26.233865
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/11/image_16062025_06_11_44_10058.jpg', 2), ('/mnt/data/16062025/06/11/image_16062025_06_11_34_8950.jpg', 2), ('/mnt/data/16062025/06/11/image_16062025_06_11_25_10077.jpg', 2), ('/mnt/data/16062025/06/11/image_16062025_06_11_15_10048.jpg', 2), ('/mnt/data/16062025/06/10/image_16062025_06_11_05_10043.jpg', 2), ('/mnt/data/16062025/06/10/image_16062025_06_10_55_10154.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87b5a828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87b5a828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87b5a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:13:02.802282
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/12/image_16062025_06_12_44_9928.jpg', 2), ('/mnt/data/16062025/06/12/image_16062025_06_12_34_9935.jpg', 2), ('/mnt/data/16062025/06/12/image_16062025_06_12_24_10030.jpg', 2), ('/mnt/data/16062025/06/12/image_16062025_06_12_14_10163.jpg', 2), ('/mnt/data/16062025/06/11/image_16062025_06_12_04_10250.jpg', 2), ('/mnt/data/16062025/06/11/image_16062025_06_11_54_10057.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f783e4860>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f783e4860>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f783e4860>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:14:14.566315
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/14/image_16062025_06_14_44_9983.jpg', 2), ('/mnt/data/16062025/06/14/image_16062025_06_14_34_10058.jpg', 2), ('/mnt/data/16062025/06/14/image_16062025_06_14_14_9962.jpg', 2), ('/mnt/data/16062025/06/13/image_16062025_06_14_04_9979.jpg', 2), ('/mnt/data/16062025/06/13/image_16062025_06_13_54_9972.jpg', 2), ('/mnt/data/16062025/06/13/image_16062025_06_13_44_9978.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ff77828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ff77828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ff77828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:15:26.693947
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/15/image_16062025_06_15_44_9801.jpg', 2), ('/mnt/data/16062025/06/15/image_16062025_06_15_34_10180.jpg', 2), ('/mnt/data/16062025/06/15/image_16062025_06_15_25_10134.jpg', 2), ('/mnt/data/16062025/06/15/image_16062025_06_15_14_9938.jpg', 2), ('/mnt/data/16062025/06/14/image_16062025_06_15_04_10384.jpg', 2), ('/mnt/data/16062025/06/14/image_16062025_06_14_54_10092.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f96f49828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96f49828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f96f49828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:17:02.400888
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/16/image_16062025_06_16_44_10067.jpg', 2), ('/mnt/data/16062025/06/16/image_16062025_06_16_34_10111.jpg', 2), ('/mnt/data/16062025/06/16/image_16062025_06_16_24_9952.jpg', 2), ('/mnt/data/16062025/06/16/image_16062025_06_16_14_10145.jpg', 2), ('/mnt/data/16062025/06/15/image_16062025_06_16_04_9109.jpg', 2), ('/mnt/data/16062025/06/15/image_16062025_06_15_55_10201.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa2d86828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2d86828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa2d86828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:18:14.012218
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/18/image_16062025_06_18_44_10143.jpg', 2), ('/mnt/data/16062025/06/18/image_16062025_06_18_34_8995.jpg', 2), ('/mnt/data/16062025/06/18/image_16062025_06_18_25_10345.jpg', 2), ('/mnt/data/16062025/06/18/image_16062025_06_18_14_10184.jpg', 2), ('/mnt/data/16062025/06/17/image_16062025_06_18_04_10248.jpg', 2), ('/mnt/data/16062025/06/17/image_16062025_06_17_54_10113.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9df0a828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9df0a828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9df0a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:19:26.154672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/19/image_16062025_06_19_44_9998.jpg', 2), ('/mnt/data/16062025/06/19/image_16062025_06_19_34_9966.jpg', 2), ('/mnt/data/16062025/06/19/image_16062025_06_19_24_9964.jpg', 2), ('/mnt/data/16062025/06/19/image_16062025_06_19_14_10109.jpg', 2), ('/mnt/data/16062025/06/18/image_16062025_06_19_04_10070.jpg', 2), ('/mnt/data/16062025/06/18/image_16062025_06_18_54_10138.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8abb7828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8abb7828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8abb7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:21:02.854959
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/20/image_16062025_06_20_44_9960.jpg', 2), ('/mnt/data/16062025/06/20/image_16062025_06_20_34_9996.jpg', 2), ('/mnt/data/16062025/06/20/image_16062025_06_20_24_9991.jpg', 2), ('/mnt/data/16062025/06/19/image_16062025_06_20_04_10160.jpg', 2), ('/mnt/data/16062025/06/19/image_16062025_06_19_54_9908.jpg', 2), ('/mnt/data/16062025/06/19/image_16062025_06_19_44_9998.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84ad1828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84ad1828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84ad1828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:22:14.466483
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/22/image_16062025_06_22_45_10092.jpg', 2), ('/mnt/data/16062025/06/22/image_16062025_06_22_34_10021.jpg', 2), ('/mnt/data/16062025/06/22/image_16062025_06_22_24_10028.jpg', 2), ('/mnt/data/16062025/06/22/image_16062025_06_22_14_10080.jpg', 2), ('/mnt/data/16062025/06/21/image_16062025_06_22_04_10264.jpg', 2), ('/mnt/data/16062025/06/21/image_16062025_06_21_54_10027.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77f477b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77f477b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77f477b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:23:26.586276
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/23/image_16062025_06_23_45_9971.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_35_10007.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_25_10019.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_15_9969.jpg', 2), ('/mnt/data/16062025/06/22/image_16062025_06_23_05_10073.jpg', 2), ('/mnt/data/16062025/06/22/image_16062025_06_22_55_10070.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9b0197b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b0197b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9b0197b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:25:02.530255
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/23/image_16062025_06_23_45_9971.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_35_10007.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_25_10019.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_15_9969.jpg', 2), ('/mnt/data/16062025/06/22/image_16062025_06_23_05_10073.jpg', 2), ('/mnt/data/16062025/06/22/image_16062025_06_22_55_10070.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7ddab828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ddab828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7ddab828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:26:13.971510
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/23/image_16062025_06_23_55_10071.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_45_9971.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_35_10007.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_25_10019.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_15_9969.jpg', 2), ('/mnt/data/16062025/06/22/image_16062025_06_23_05_10073.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4410828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4410828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4410828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:27:26.089850
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:28:02.437100
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/26/image_16062025_06_27_05_9967.jpg', 2), ('/mnt/data/16062025/06/24/image_16062025_06_24_34_10153.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_55_10071.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_45_9971.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_35_10007.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_25_10019.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8f8127f0>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f8127f0>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8f8127f0>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:29:14.647601
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/28/image_16062025_06_28_34_9985.jpg', 2), ('/mnt/data/16062025/06/28/image_16062025_06_28_24_8972.jpg', 2), ('/mnt/data/16062025/06/27/image_16062025_06_27_14_8922.jpg', 2), ('/mnt/data/16062025/06/26/image_16062025_06_27_05_9967.jpg', 2), ('/mnt/data/16062025/06/24/image_16062025_06_24_34_10153.jpg', 2), ('/mnt/data/16062025/06/23/image_16062025_06_23_55_10071.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f932717b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f932717b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f932717b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:30:26.740456
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/29/image_16062025_06_29_34_9976.jpg', 2), ('/mnt/data/16062025/06/28/image_16062025_06_28_34_9985.jpg', 2), ('/mnt/data/16062025/06/28/image_16062025_06_28_24_8972.jpg', 2), ('/mnt/data/16062025/06/27/image_16062025_06_27_14_8922.jpg', 2), ('/mnt/data/16062025/06/26/image_16062025_06_27_05_9967.jpg', 2), ('/mnt/data/16062025/06/24/image_16062025_06_24_34_10153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8cb63828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cb63828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8cb63828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:32:02.488397
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/29/image_16062025_06_29_34_9976.jpg', 2), ('/mnt/data/16062025/06/28/image_16062025_06_28_34_9985.jpg', 2), ('/mnt/data/16062025/06/28/image_16062025_06_28_24_8972.jpg', 2), ('/mnt/data/16062025/06/27/image_16062025_06_27_14_8922.jpg', 2), ('/mnt/data/16062025/06/26/image_16062025_06_27_05_9967.jpg', 2), ('/mnt/data/16062025/06/24/image_16062025_06_24_34_10153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faeaee828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faeaee828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faeaee828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:33:14.066049
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/32/image_16062025_06_32_24_10017.jpg', 2), ('/mnt/data/16062025/06/30/image_16062025_06_30_14_10073.jpg', 2), ('/mnt/data/16062025/06/29/image_16062025_06_29_34_9976.jpg', 2), ('/mnt/data/16062025/06/28/image_16062025_06_28_34_9985.jpg', 2), ('/mnt/data/16062025/06/28/image_16062025_06_28_24_8972.jpg', 2), ('/mnt/data/16062025/06/27/image_16062025_06_27_14_8922.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ec3b828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ec3b828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ec3b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:34:26.160676
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/34/image_16062025_06_34_44_9973.jpg', 2), ('/mnt/data/16062025/06/34/image_16062025_06_34_34_9942.jpg', 2), ('/mnt/data/16062025/06/34/image_16062025_06_34_24_9931.jpg', 2), ('/mnt/data/16062025/06/34/image_16062025_06_34_14_9964.jpg', 2), ('/mnt/data/16062025/06/33/image_16062025_06_34_04_10022.jpg', 2), ('/mnt/data/16062025/06/33/image_16062025_06_33_54_9957.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f832d27b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f832d27b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f832d27b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:36:02.992552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/35/image_16062025_06_35_44_9954.jpg', 2), ('/mnt/data/16062025/06/35/image_16062025_06_35_34_10003.jpg', 2), ('/mnt/data/16062025/06/35/image_16062025_06_35_24_9986.jpg', 2), ('/mnt/data/16062025/06/35/image_16062025_06_35_14_10022.jpg', 2), ('/mnt/data/16062025/06/34/image_16062025_06_35_04_10262.jpg', 2), ('/mnt/data/16062025/06/34/image_16062025_06_34_54_9937.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f897e4828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f897e4828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f897e4828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:37:14.487225
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/37/image_16062025_06_37_45_10082.jpg', 2), ('/mnt/data/16062025/06/37/image_16062025_06_37_25_10008.jpg', 2), ('/mnt/data/16062025/06/37/image_16062025_06_37_15_10044.jpg', 2), ('/mnt/data/16062025/06/36/image_16062025_06_37_05_10190.jpg', 2), ('/mnt/data/16062025/06/36/image_16062025_06_36_54_10013.jpg', 2), ('/mnt/data/16062025/06/36/image_16062025_06_36_44_9917.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b14a828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b14a828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b14a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:38:26.587777
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/38/image_16062025_06_38_44_10084.jpg', 2), ('/mnt/data/16062025/06/38/image_16062025_06_38_34_9989.jpg', 2), ('/mnt/data/16062025/06/38/image_16062025_06_38_24_10155.jpg', 2), ('/mnt/data/16062025/06/38/image_16062025_06_38_14_10051.jpg', 2), ('/mnt/data/16062025/06/37/image_16062025_06_38_04_8886.jpg', 2), ('/mnt/data/16062025/06/37/image_16062025_06_37_55_10011.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8a109828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a109828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8a109828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:40:02.531415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/39/image_16062025_06_39_44_9997.jpg', 2), ('/mnt/data/16062025/06/39/image_16062025_06_39_34_9985.jpg', 2), ('/mnt/data/16062025/06/39/image_16062025_06_39_24_9978.jpg', 2), ('/mnt/data/16062025/06/39/image_16062025_06_39_14_10010.jpg', 2), ('/mnt/data/16062025/06/38/image_16062025_06_39_04_10265.jpg', 2), ('/mnt/data/16062025/06/38/image_16062025_06_38_54_10054.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8defb828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8defb828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8defb828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:41:13.909353
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/41/image_16062025_06_41_44_9997.jpg', 2), ('/mnt/data/16062025/06/41/image_16062025_06_41_34_9935.jpg', 2), ('/mnt/data/16062025/06/41/image_16062025_06_41_24_9937.jpg', 2), ('/mnt/data/16062025/06/41/image_16062025_06_41_14_9922.jpg', 2), ('/mnt/data/16062025/06/40/image_16062025_06_41_05_10143.jpg', 2), ('/mnt/data/16062025/06/40/image_16062025_06_40_54_9963.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f78221828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78221828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f78221828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:42:26.015286
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/42/image_16062025_06_42_44_8934.jpg', 2), ('/mnt/data/16062025/06/42/image_16062025_06_42_35_10185.jpg', 2), ('/mnt/data/16062025/06/42/image_16062025_06_42_25_10123.jpg', 2), ('/mnt/data/16062025/06/42/image_16062025_06_42_14_10083.jpg', 2), ('/mnt/data/16062025/06/41/image_16062025_06_42_04_10116.jpg', 2), ('/mnt/data/16062025/06/41/image_16062025_06_41_54_9968.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f76bb9828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76bb9828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f76bb9828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:44:03.114381
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/43/image_16062025_06_43_45_10044.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_35_10161.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_24_10130.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_14_10173.jpg', 2), ('/mnt/data/16062025/06/42/image_16062025_06_43_04_10274.jpg', 2), ('/mnt/data/16062025/06/42/image_16062025_06_42_54_10120.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb382a828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb382a828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb382a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:45:14.452451
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/43/image_16062025_06_44_05_10095.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_55_10013.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_45_10044.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_35_10161.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_24_10130.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_14_10173.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fac20e828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac20e828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fac20e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:46:26.550645
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/43/image_16062025_06_44_05_10095.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_55_10013.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_45_10044.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_35_10161.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_24_10130.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_14_10173.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f596828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f596828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f596828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:48:02.393843
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/43/image_16062025_06_44_05_10095.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_55_10013.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_45_10044.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_35_10161.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_24_10130.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_14_10173.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90e8c828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90e8c828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90e8c828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:49:13.868085
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/43/image_16062025_06_44_05_10095.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_55_10013.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_45_10044.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_35_10161.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_24_10130.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_14_10173.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85580828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85580828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85580828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:50:25.944878
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/50/image_16062025_06_50_45_10212.jpg', 2), ('/mnt/data/16062025/06/44/image_16062025_06_44_15_9995.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_44_05_10095.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_55_10013.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_45_10044.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_35_10161.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f868c97b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f868c97b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f868c97b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:52:02.759410
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/50/image_16062025_06_50_45_10212.jpg', 2), ('/mnt/data/16062025/06/50/image_16062025_06_50_14_10240.jpg', 2), ('/mnt/data/16062025/06/44/image_16062025_06_44_15_9995.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_44_05_10095.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_55_10013.jpg', 2), ('/mnt/data/16062025/06/43/image_16062025_06_43_45_10044.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7fa87828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fa87828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7fa87828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:53:14.273845
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/52/image_16062025_06_52_25_10162.jpg', 2), ('/mnt/data/16062025/06/52/image_16062025_06_52_14_10219.jpg', 2), ('/mnt/data/16062025/06/51/image_16062025_06_52_04_10384.jpg', 2), ('/mnt/data/16062025/06/51/image_16062025_06_51_54_10182.jpg', 2), ('/mnt/data/16062025/06/50/image_16062025_06_50_45_10212.jpg', 2), ('/mnt/data/16062025/06/50/image_16062025_06_50_14_10240.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f80d3b828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d3b828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f80d3b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:54:26.405771
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_53_44_10217.jpg', 2), ('/mnt/data/16062025/06/52/image_16062025_06_52_25_10162.jpg', 2), ('/mnt/data/16062025/06/52/image_16062025_06_52_14_10219.jpg', 2), ('/mnt/data/16062025/06/51/image_16062025_06_52_04_10384.jpg', 2), ('/mnt/data/16062025/06/51/image_16062025_06_51_54_10182.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9c87b828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c87b828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9c87b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 06:59:03.412862
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_53_44_10217.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fae0987f0>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae0987f0>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fae0987f0>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:00:14.402766
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7f22f828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f22f828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7f22f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:01:26.566510
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8b5c1828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b5c1828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8b5c1828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:03:03.505588
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9add77b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9add77b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9add77b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:04:13.858013
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa0c5c828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0c5c828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa0c5c828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:05:26.202753
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9da867b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9da867b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9da867b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:07:03.104585
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c37d828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c37d828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c37d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:08:14.600274
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb4184828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4184828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb4184828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:09:26.769790
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2), ('/mnt/data/16062025/06/53/image_16062025_06_54_05_10358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97342828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97342828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97342828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:11:02.670082
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2), ('/mnt/data/16062025/06/57/image_16062025_06_57_14_10112.jpg', 2), ('/mnt/data/16062025/06/56/image_16062025_06_57_04_10391.jpg', 2), ('/mnt/data/16062025/06/55/image_16062025_06_55_55_10201.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_55_04_9047.jpg', 2), ('/mnt/data/16062025/06/54/image_16062025_06_54_14_9102.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb42f5828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb42f5828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb42f5828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:12:14.125887
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/12/image_16062025_07_12_25_10214.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_14_10205.jpg', 2), ('/mnt/data/16062025/07/11/image_16062025_07_11_54_8975.jpg', 2), ('/mnt/data/16062025/07/11/image_16062025_07_11_35_10228.jpg', 2), ('/mnt/data/16062025/07/10/image_16062025_07_10_14_10062.jpg', 2), ('/mnt/data/16062025/06/59/image_16062025_06_59_55_10035.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90f39828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90f39828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90f39828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:13:26.201328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/12/image_16062025_07_12_54_10173.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_25_10214.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_14_10205.jpg', 2), ('/mnt/data/16062025/07/11/image_16062025_07_11_54_8975.jpg', 2), ('/mnt/data/16062025/07/11/image_16062025_07_11_35_10228.jpg', 2), ('/mnt/data/16062025/07/10/image_16062025_07_10_14_10062.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa3d54828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3d54828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa3d54828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:15:03.205306
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/12/image_16062025_07_12_54_10173.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_25_10214.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_14_10205.jpg', 2), ('/mnt/data/16062025/07/11/image_16062025_07_11_54_8975.jpg', 2), ('/mnt/data/16062025/07/11/image_16062025_07_11_35_10228.jpg', 2), ('/mnt/data/16062025/07/10/image_16062025_07_10_14_10062.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb52fe828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb52fe828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb52fe828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:16:14.215265
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2), ('/mnt/data/16062025/07/14/image_16062025_07_15_05_10318.jpg', 2), ('/mnt/data/16062025/07/13/image_16062025_07_13_15_10229.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_54_10173.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_25_10214.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_14_10205.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9cbff7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cbff7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9cbff7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:17:26.301270
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2), ('/mnt/data/16062025/07/14/image_16062025_07_15_05_10318.jpg', 2), ('/mnt/data/16062025/07/13/image_16062025_07_13_15_10229.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_54_10173.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_25_10214.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_14_10205.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8de83828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8de83828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8de83828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:19:03.520422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2), ('/mnt/data/16062025/07/14/image_16062025_07_15_05_10318.jpg', 2), ('/mnt/data/16062025/07/13/image_16062025_07_13_15_10229.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_54_10173.jpg', 2), ('/mnt/data/16062025/07/12/image_16062025_07_12_25_10214.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f19e828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f19e828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f19e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:20:14.743981
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2), ('/mnt/data/16062025/07/14/image_16062025_07_15_05_10318.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f89c2f7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89c2f7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f89c2f7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:21:25.894054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2), ('/mnt/data/16062025/07/14/image_16062025_07_15_05_10318.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7683b828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7683b828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7683b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:22:14.002045
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2), ('/mnt/data/16062025/07/14/image_16062025_07_15_05_10318.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9479d828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9479d828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9479d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:23:26.150104
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2), ('/mnt/data/16062025/07/14/image_16062025_07_15_05_10318.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8bf4e828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bf4e828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bf4e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:25:03.303013
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/20/image_16062025_07_20_14_10237.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa767d828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa767d828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa767d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:26:14.531914
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/20/image_16062025_07_20_14_10237.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f99166828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99166828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f99166828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:27:26.609835
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:28:03.481485
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/20/image_16062025_07_20_14_10237.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77275828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77275828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77275828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:29:14.311356
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/20/image_16062025_07_20_14_10237.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f84a5d828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5d828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f84a5d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:30:26.440558
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/20/image_16062025_07_20_14_10237.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8946b828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8946b828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8946b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:32:03.127098
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/20/image_16062025_07_20_14_10237.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f87f147b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87f147b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f87f147b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:33:13.853866
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/20/image_16062025_07_20_14_10237.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_34_10219.jpg', 2), ('/mnt/data/16062025/07/15/image_16062025_07_15_24_9007.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8ad86828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ad86828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8ad86828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:34:25.979804
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/34/image_16062025_07_34_34_10017.jpg', 2), ('/mnt/data/16062025/07/24/image_16062025_07_24_44_10134.jpg', 2), ('/mnt/data/16062025/07/20/image_16062025_07_20_14_10237.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_24_10198.jpg', 2), ('/mnt/data/16062025/07/19/image_16062025_07_19_14_10201.jpg', 2), ('/mnt/data/16062025/07/18/image_16062025_07_18_45_10170.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f82d5e828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82d5e828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f82d5e828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:36:02.840379
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/35/image_16062025_07_35_44_9931.jpg', 2), ('/mnt/data/16062025/07/35/image_16062025_07_35_34_9910.jpg', 2), ('/mnt/data/16062025/07/35/image_16062025_07_35_24_9951.jpg', 2), ('/mnt/data/16062025/07/35/image_16062025_07_35_14_9990.jpg', 2), ('/mnt/data/16062025/07/34/image_16062025_07_35_04_10027.jpg', 2), ('/mnt/data/16062025/07/34/image_16062025_07_34_54_10018.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7b8ee828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b8ee828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7b8ee828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:37:14.315593
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/37/image_16062025_07_37_45_10153.jpg', 2), ('/mnt/data/16062025/07/37/image_16062025_07_37_35_10155.jpg', 2), ('/mnt/data/16062025/07/37/image_16062025_07_37_25_10194.jpg', 2), ('/mnt/data/16062025/07/37/image_16062025_07_37_14_10108.jpg', 2), ('/mnt/data/16062025/07/36/image_16062025_07_37_04_10027.jpg', 2), ('/mnt/data/16062025/07/36/image_16062025_07_36_54_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_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f771f7828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f771f7828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f771f7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:38:25.903328
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/38/image_16062025_07_38_44_10091.jpg', 2), ('/mnt/data/16062025/07/38/image_16062025_07_38_34_10171.jpg', 2), ('/mnt/data/16062025/07/38/image_16062025_07_38_24_8950.jpg', 2), ('/mnt/data/16062025/07/38/image_16062025_07_38_15_10343.jpg', 2), ('/mnt/data/16062025/07/37/image_16062025_07_37_54_8914.jpg', 2), ('/mnt/data/16062025/07/37/image_16062025_07_37_45_10153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f833b9828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f833b9828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f833b9828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:40:02.566695
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/39/image_16062025_07_39_44_10309.jpg', 2), ('/mnt/data/16062025/07/39/image_16062025_07_39_34_9007.jpg', 2), ('/mnt/data/16062025/07/39/image_16062025_07_39_25_10154.jpg', 2), ('/mnt/data/16062025/07/39/image_16062025_07_39_15_10179.jpg', 2), ('/mnt/data/16062025/07/38/image_16062025_07_39_04_10261.jpg', 2), ('/mnt/data/16062025/07/38/image_16062025_07_38_54_10218.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c554828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c554828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c554828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:41:14.108431
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/41/image_16062025_07_41_35_10135.jpg', 2), ('/mnt/data/16062025/07/41/image_16062025_07_41_25_10110.jpg', 2), ('/mnt/data/16062025/07/41/image_16062025_07_41_14_10091.jpg', 2), ('/mnt/data/16062025/07/40/image_16062025_07_41_04_10079.jpg', 2), ('/mnt/data/16062025/07/40/image_16062025_07_40_54_9963.jpg', 2), ('/mnt/data/16062025/07/40/image_16062025_07_40_44_9991.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f940aa7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f940aa7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f940aa7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:42:26.110685
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/42/image_16062025_07_42_35_10082.jpg', 2), ('/mnt/data/16062025/07/41/image_16062025_07_42_04_10221.jpg', 2), ('/mnt/data/16062025/07/41/image_16062025_07_41_54_8895.jpg', 2), ('/mnt/data/16062025/07/41/image_16062025_07_41_35_10135.jpg', 2), ('/mnt/data/16062025/07/41/image_16062025_07_41_25_10110.jpg', 2), ('/mnt/data/16062025/07/41/image_16062025_07_41_14_10091.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb5215828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5215828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb5215828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:44:03.161800
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/43/image_16062025_07_43_44_9949.jpg', 2), ('/mnt/data/16062025/07/43/image_16062025_07_43_34_9930.jpg', 2), ('/mnt/data/16062025/07/43/image_16062025_07_43_24_10345.jpg', 2), ('/mnt/data/16062025/07/43/image_16062025_07_43_14_10110.jpg', 2), ('/mnt/data/16062025/07/42/image_16062025_07_43_04_10281.jpg', 2), ('/mnt/data/16062025/07/42/image_16062025_07_42_54_8876.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb10af828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb10af828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb10af828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:45:14.468331
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/45/image_16062025_07_45_44_10072.jpg', 2), ('/mnt/data/16062025/07/45/image_16062025_07_45_34_9980.jpg', 2), ('/mnt/data/16062025/07/45/image_16062025_07_45_24_9946.jpg', 2), ('/mnt/data/16062025/07/45/image_16062025_07_45_14_9916.jpg', 2), ('/mnt/data/16062025/07/44/image_16062025_07_45_04_10204.jpg', 2), ('/mnt/data/16062025/07/44/image_16062025_07_44_54_9950.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8e7d9828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e7d9828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e7d9828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:46:26.589692
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/46/image_16062025_07_46_45_10102.jpg', 2), ('/mnt/data/16062025/07/46/image_16062025_07_46_34_10239.jpg', 2), ('/mnt/data/16062025/07/46/image_16062025_07_46_24_9530.jpg', 2), ('/mnt/data/16062025/07/46/image_16062025_07_46_15_10131.jpg', 2), ('/mnt/data/16062025/07/45/image_16062025_07_46_05_10217.jpg', 2), ('/mnt/data/16062025/07/45/image_16062025_07_45_54_10074.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77dd6828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77dd6828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77dd6828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:48:02.540615
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/47/image_16062025_07_47_45_9912.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_35_9942.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_25_11129.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_14_8867.jpg', 2), ('/mnt/data/16062025/07/46/image_16062025_07_47_05_10213.jpg', 2), ('/mnt/data/16062025/07/46/image_16062025_07_46_55_10068.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faedfe828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faedfe828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faedfe828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:49:13.948756
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/47/image_16062025_07_47_55_10046.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_45_9912.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_35_9942.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_25_11129.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_14_8867.jpg', 2), ('/mnt/data/16062025/07/46/image_16062025_07_47_05_10213.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77d3d828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77d3d828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77d3d828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:50:26.051692
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/48/image_16062025_07_48_44_10093.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_55_10046.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_45_9912.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_35_9942.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_25_11129.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_14_8867.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa67b6828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa67b6828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa67b6828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:52:02.790529
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/48/image_16062025_07_48_44_10093.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_55_10046.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_45_9912.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_35_9942.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_25_11129.jpg', 2), ('/mnt/data/16062025/07/47/image_16062025_07_47_14_8867.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8bfae7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bfae7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8bfae7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:53:14.365096
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/53/image_16062025_07_53_44_9985.jpg', 2), ('/mnt/data/16062025/07/53/image_16062025_07_53_34_9984.jpg', 2), ('/mnt/data/16062025/07/53/image_16062025_07_53_24_9947.jpg', 2), ('/mnt/data/16062025/07/53/image_16062025_07_53_15_9971.jpg', 2), ('/mnt/data/16062025/07/52/image_16062025_07_53_05_10074.jpg', 2), ('/mnt/data/16062025/07/52/image_16062025_07_52_54_10057.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f77e2f828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77e2f828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f77e2f828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:54:03.140408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/53/image_16062025_07_53_44_9985.jpg', 2), ('/mnt/data/16062025/07/53/image_16062025_07_53_34_9984.jpg', 2), ('/mnt/data/16062025/07/53/image_16062025_07_53_24_9947.jpg', 2), ('/mnt/data/16062025/07/53/image_16062025_07_53_15_9971.jpg', 2), ('/mnt/data/16062025/07/52/image_16062025_07_53_05_10074.jpg', 2), ('/mnt/data/16062025/07/52/image_16062025_07_52_54_10057.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9e723828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e723828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9e723828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:59:03.198424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:59:14.137642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 07:59:26.156401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:00:03.144004
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/07/57/image_16062025_07_57_44_10004.jpg', 2), ('/mnt/data/16062025/07/57/image_16062025_07_57_34_10162.jpg', 2), ('/mnt/data/16062025/07/57/image_16062025_07_57_24_8887.jpg', 2), ('/mnt/data/16062025/07/57/image_16062025_07_57_15_10077.jpg', 2), ('/mnt/data/16062025/07/56/image_16062025_07_57_05_10126.jpg', 2), ('/mnt/data/16062025/07/56/image_16062025_07_56_55_10118.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f86d09828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86d09828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f86d09828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:01:13.927763
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/01/image_16062025_08_01_45_10152.jpg', 2), ('/mnt/data/16062025/08/01/image_16062025_08_01_34_10114.jpg', 2), ('/mnt/data/16062025/08/01/image_16062025_08_01_24_10186.jpg', 2), ('/mnt/data/16062025/08/01/image_16062025_08_01_14_1675.jpg', 2), ('/mnt/data/16062025/08/01/image_16062025_08_01_12_1683.jpg', 2), ('/mnt/data/16062025/08/01/image_16062025_08_01_11_1639.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb3033828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3033828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb3033828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:02:26.075889
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/02/image_16062025_08_02_44_10101.jpg', 2), ('/mnt/data/16062025/08/02/image_16062025_08_02_34_9961.jpg', 2), ('/mnt/data/16062025/08/02/image_16062025_08_02_24_10242.jpg', 2), ('/mnt/data/16062025/08/02/image_16062025_08_02_14_10090.jpg', 2), ('/mnt/data/16062025/08/01/image_16062025_08_02_04_9200.jpg', 2), ('/mnt/data/16062025/08/01/image_16062025_08_01_55_10227.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f866bd828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f866bd828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f866bd828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:04:03.015235
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/03/image_16062025_08_03_44_10067.jpg', 2), ('/mnt/data/16062025/08/03/image_16062025_08_03_24_9909.jpg', 2), ('/mnt/data/16062025/08/03/image_16062025_08_03_14_8972.jpg', 2), ('/mnt/data/16062025/08/02/image_16062025_08_03_05_10298.jpg', 2), ('/mnt/data/16062025/08/02/image_16062025_08_02_54_10083.jpg', 2), ('/mnt/data/16062025/08/02/image_16062025_08_02_44_10101.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faa5b2828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa5b2828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7faa5b2828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:05:14.432519
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/05/image_16062025_08_05_44_10112.jpg', 2), ('/mnt/data/16062025/08/05/image_16062025_08_05_34_9005.jpg', 2), ('/mnt/data/16062025/08/05/image_16062025_08_05_25_10189.jpg', 2), ('/mnt/data/16062025/08/05/image_16062025_08_05_15_10328.jpg', 2), ('/mnt/data/16062025/08/04/image_16062025_08_05_04_10413.jpg', 2), ('/mnt/data/16062025/08/04/image_16062025_08_04_54_10027.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8094a828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8094a828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8094a828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:06:26.605029
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/06/image_16062025_08_06_44_9933.jpg', 2), ('/mnt/data/16062025/08/06/image_16062025_08_06_34_9966.jpg', 2), ('/mnt/data/16062025/08/06/image_16062025_08_06_24_9936.jpg', 2), ('/mnt/data/16062025/08/06/image_16062025_08_06_14_9941.jpg', 2), ('/mnt/data/16062025/08/05/image_16062025_08_06_04_10213.jpg', 2), ('/mnt/data/16062025/08/05/image_16062025_08_05_54_9959.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9568b7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9568b7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9568b7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:08:03.166888
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/07/image_16062025_08_07_45_9969.jpg', 2), ('/mnt/data/16062025/08/07/image_16062025_08_07_35_9946.jpg', 2), ('/mnt/data/16062025/08/07/image_16062025_08_07_25_9931.jpg', 2), ('/mnt/data/16062025/08/07/image_16062025_08_07_15_11144.jpg', 2), ('/mnt/data/16062025/08/06/image_16062025_08_07_04_9941.jpg', 2), ('/mnt/data/16062025/08/06/image_16062025_08_06_54_9920.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa8376828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8376828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8376828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:09:14.684574
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/09/image_16062025_08_09_45_10136.jpg', 2), ('/mnt/data/16062025/08/09/image_16062025_08_09_34_10120.jpg', 2), ('/mnt/data/16062025/08/09/image_16062025_08_09_24_10120.jpg', 2), ('/mnt/data/16062025/08/09/image_16062025_08_09_14_10164.jpg', 2), ('/mnt/data/16062025/08/08/image_16062025_08_09_04_10246.jpg', 2), ('/mnt/data/16062025/08/08/image_16062025_08_08_54_10099.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f838f9828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f838f9828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f838f9828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:10:25.789345
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/10/image_16062025_08_10_44_9951.jpg', 2), ('/mnt/data/16062025/08/10/image_16062025_08_10_34_10127.jpg', 2), ('/mnt/data/16062025/08/10/image_16062025_08_10_24_10158.jpg', 2), ('/mnt/data/16062025/08/10/image_16062025_08_10_14_10141.jpg', 2), ('/mnt/data/16062025/08/09/image_16062025_08_10_04_9173.jpg', 2), ('/mnt/data/16062025/08/09/image_16062025_08_09_55_10095.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa62eb828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa62eb828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa62eb828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:12:02.571641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/12/image_16062025_08_12_14_9954.jpg', 2), ('/mnt/data/16062025/08/11/image_16062025_08_11_44_9925.jpg', 2), ('/mnt/data/16062025/08/11/image_16062025_08_11_34_9917.jpg', 2), ('/mnt/data/16062025/08/11/image_16062025_08_11_24_9942.jpg', 2), ('/mnt/data/16062025/08/11/image_16062025_08_11_14_9934.jpg', 2), ('/mnt/data/16062025/08/10/image_16062025_08_11_04_9958.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa82d6828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa82d6828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa82d6828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:13:14.167747
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/13/image_16062025_08_13_44_10005.jpg', 2), ('/mnt/data/16062025/08/13/image_16062025_08_13_34_10056.jpg', 2), ('/mnt/data/16062025/08/13/image_16062025_08_13_24_9978.jpg', 2), ('/mnt/data/16062025/08/13/image_16062025_08_13_14_9944.jpg', 2), ('/mnt/data/16062025/08/12/image_16062025_08_13_04_10081.jpg', 2), ('/mnt/data/16062025/08/12/image_16062025_08_12_54_9958.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f9f375828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f375828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9f375828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:14:26.232592
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/14/image_16062025_08_14_44_9955.jpg', 2), ('/mnt/data/16062025/08/14/image_16062025_08_14_34_9984.jpg', 2), ('/mnt/data/16062025/08/14/image_16062025_08_14_24_10047.jpg', 2), ('/mnt/data/16062025/08/14/image_16062025_08_14_14_10058.jpg', 2), ('/mnt/data/16062025/08/13/image_16062025_08_14_04_10241.jpg', 2), ('/mnt/data/16062025/08/13/image_16062025_08_13_54_10007.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8339c7b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8339c7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8339c7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:16:03.105532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/15/image_16062025_08_15_44_9958.jpg', 2), ('/mnt/data/16062025/08/15/image_16062025_08_15_34_9966.jpg', 2), ('/mnt/data/16062025/08/15/image_16062025_08_15_24_9964.jpg', 2), ('/mnt/data/16062025/08/15/image_16062025_08_15_14_10234.jpg', 2), ('/mnt/data/16062025/08/14/image_16062025_08_15_04_10158.jpg', 2), ('/mnt/data/16062025/08/14/image_16062025_08_14_54_9979.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f865407b8>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f865407b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f865407b8>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:17:14.152173
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/17/image_16062025_08_17_44_10255.jpg', 2), ('/mnt/data/16062025/08/17/image_16062025_08_17_34_10148.jpg', 2), ('/mnt/data/16062025/08/17/image_16062025_08_17_24_9279.jpg', 2), ('/mnt/data/16062025/08/17/image_16062025_08_17_14_10124.jpg', 2), ('/mnt/data/16062025/08/16/image_16062025_08_17_04_10417.jpg', 2), ('/mnt/data/16062025/08/16/image_16062025_08_16_54_10168.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f90141828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90141828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f90141828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:18:26.250830
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/18/image_16062025_08_18_44_10227.jpg', 2), ('/mnt/data/16062025/08/18/image_16062025_08_18_34_10226.jpg', 2), ('/mnt/data/16062025/08/18/image_16062025_08_18_24_8954.jpg', 2), ('/mnt/data/16062025/08/18/image_16062025_08_18_15_10234.jpg', 2), ('/mnt/data/16062025/08/17/image_16062025_08_18_05_10233.jpg', 2), ('/mnt/data/16062025/08/17/image_16062025_08_17_54_10166.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fa6f46828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6f46828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa6f46828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:20:03.044191
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/19/image_16062025_08_19_44_10122.jpg', 2), ('/mnt/data/16062025/08/19/image_16062025_08_19_34_10138.jpg', 2), ('/mnt/data/16062025/08/19/image_16062025_08_19_24_9060.jpg', 2), ('/mnt/data/16062025/08/19/image_16062025_08_19_15_10192.jpg', 2), ('/mnt/data/16062025/08/18/image_16062025_08_19_04_10189.jpg', 2), ('/mnt/data/16062025/08/18/image_16062025_08_18_54_10125.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f85f95828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85f95828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f85f95828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:21:14.735011
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/21/image_16062025_08_21_44_9951.jpg', 2), ('/mnt/data/16062025/08/21/image_16062025_08_21_34_9944.jpg', 2), ('/mnt/data/16062025/08/21/image_16062025_08_21_24_9940.jpg', 2), ('/mnt/data/16062025/08/21/image_16062025_08_21_14_9962.jpg', 2), ('/mnt/data/16062025/08/20/image_16062025_08_21_05_10237.jpg', 2), ('/mnt/data/16062025/08/20/image_16062025_08_20_54_9977.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a0be828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a0be828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a0be828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:22:25.811439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/22/image_16062025_08_22_44_9957.jpg', 2), ('/mnt/data/16062025/08/22/image_16062025_08_22_34_9937.jpg', 2), ('/mnt/data/16062025/08/22/image_16062025_08_22_24_9973.jpg', 2), ('/mnt/data/16062025/08/22/image_16062025_08_22_14_9957.jpg', 2), ('/mnt/data/16062025/08/21/image_16062025_08_22_04_10138.jpg', 2), ('/mnt/data/16062025/08/21/image_16062025_08_21_54_9959.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f823ad828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f823ad828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f823ad828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:24:03.348449
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/23/image_16062025_08_23_44_9946.jpg', 2), ('/mnt/data/16062025/08/23/image_16062025_08_23_34_9956.jpg', 2), ('/mnt/data/16062025/08/23/image_16062025_08_23_24_9958.jpg', 2), ('/mnt/data/16062025/08/23/image_16062025_08_23_14_9950.jpg', 2), ('/mnt/data/16062025/08/22/image_16062025_08_23_04_9960.jpg', 2), ('/mnt/data/16062025/08/22/image_16062025_08_22_54_9936.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fb089b828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb089b828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fb089b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:25:13.847088
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/25/image_16062025_08_25_44_10051.jpg', 2), ('/mnt/data/16062025/08/25/image_16062025_08_25_34_9990.jpg', 2), ('/mnt/data/16062025/08/25/image_16062025_08_25_24_9987.jpg', 2), ('/mnt/data/16062025/08/25/image_16062025_08_25_14_10029.jpg', 2), ('/mnt/data/16062025/08/24/image_16062025_08_25_04_10230.jpg', 2), ('/mnt/data/16062025/08/24/image_16062025_08_24_54_10026.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7a17b828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a17b828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7a17b828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:26:25.987831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/26/image_16062025_08_26_44_9973.jpg', 2), ('/mnt/data/16062025/08/26/image_16062025_08_26_34_9975.jpg', 2), ('/mnt/data/16062025/08/26/image_16062025_08_26_24_9983.jpg', 2), ('/mnt/data/16062025/08/26/image_16062025_08_26_14_10115.jpg', 2), ('/mnt/data/16062025/08/25/image_16062025_08_26_04_10062.jpg', 2), ('/mnt/data/16062025/08/25/image_16062025_08_25_54_9994.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8905c828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8905c828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8905c828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:28:03.075960
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/27/image_16062025_08_27_45_10024.jpg', 2), ('/mnt/data/16062025/08/27/image_16062025_08_27_35_10000.jpg', 2), ('/mnt/data/16062025/08/27/image_16062025_08_27_25_10032.jpg', 2), ('/mnt/data/16062025/08/27/image_16062025_08_27_15_10062.jpg', 2), ('/mnt/data/16062025/08/26/image_16062025_08_26_54_10027.jpg', 2), ('/mnt/data/16062025/08/26/image_16062025_08_26_44_9973.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f98298828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98298828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f98298828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:29:14.304145
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/29/image_16062025_08_29_44_9939.jpg', 2), ('/mnt/data/16062025/08/29/image_16062025_08_29_34_10034.jpg', 2), ('/mnt/data/16062025/08/29/image_16062025_08_29_24_10027.jpg', 2), ('/mnt/data/16062025/08/28/image_16062025_08_28_24_9977.jpg', 2), ('/mnt/data/16062025/08/28/image_16062025_08_28_14_10125.jpg', 2), ('/mnt/data/16062025/08/27/image_16062025_08_27_55_10061.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f957c7828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f957c7828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f957c7828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u www.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:30:26.437268
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/30/image_16062025_08_30_44_9932.jpg', 2), ('/mnt/data/16062025/08/30/image_16062025_08_30_34_9928.jpg', 2), ('/mnt/data/16062025/08/30/image_16062025_08_30_24_9933.jpg', 2), ('/mnt/data/16062025/08/30/image_16062025_08_30_14_9942.jpg', 2), ('/mnt/data/16062025/08/29/image_16062025_08_30_04_10158.jpg', 2), ('/mnt/data/16062025/08/29/image_16062025_08_29_54_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_16062025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
    chunked=chunked,
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 353, in connect
    conn = self._new_conn()
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn
    self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f97a22828>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97a22828>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f97a22828>: Failed to establish a new connection: [Errno 111] Connection refused',))
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:32:03.289092
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : jetson_test_aec_mm_0225_16062025
 fc.token : 85213b338a7900a79945692114f14db2
True
533
3125586
533
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/31/image_16062025_08_31_44_10002.jpg', 2), ('/mnt/data/16062025/08/31/image_16062025_08_31_34_10026.jpg', 2), ('/mnt/data/16062025/08/31/image_16062025_08_31_24_9956.jpg', 2), ('/mnt/data/16062025/08/31/image_16062025_08_31_14_9969.jpg', 2), ('/mnt/data/16062025/08/30/image_16062025_08_31_04_10010.jpg', 2), ('/mnt/data/16062025/08/30/image_16062025_08_30_54_9981.jpg', 2)]
{'portfolio_id': 24047899, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1750055592000}
in upload media
 Upload medias :  ['/mnt/data/16062025/08/31/image_16062025_08_31_44_10002.jpg', '/mnt/data/16062025/08/31/image_16062025_08_31_34_10026.jpg', '/mnt/data/16062025/08/31/image_16062025_08_31_24_9956.jpg', '/mnt/data/16062025/08/31/image_16062025_08_31_14_9969.jpg', '/mnt/data/16062025/08/30/image_16062025_08_31_04_10010.jpg', '/mnt/data/16062025/08/30/image_16062025_08_30_54_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/31/image_16062025_08_31_44_10002.jpg
/mnt/data/16062025/08/31/image_16062025_08_31_34_10026.jpg
/mnt/data/16062025/08/31/image_16062025_08_31_24_9956.jpg
/mnt/data/16062025/08/31/image_16062025_08_31_14_9969.jpg
/mnt/data/16062025/08/30/image_16062025_08_31_04_10010.jpg
/mnt/data/16062025/08/30/image_16062025_08_30_54_9981.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366516363","1366516369","1366516350","1366516373","1366516355","1366516346"],"photo_ids_order":["1366516346","1366516350","1366516355","1366516363","1366516369","1366516373"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b0f33835f4f88c73fe81a8b1b7d2ca55.jpg","text":"TemporaryFile(/tmp/multipartBody1949907479664595435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055616742,"filename":"image_16062025_08_31_14_9969.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e85474ed41fe2bbffd526c1d88903c99.jpg","text":"TemporaryFile(/tmp/multipartBody6586134080778802356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055616742,"filename":"image_16062025_08_31_04_10010.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/15a512dc28288ffab0defd30bde48022.jpg","text":"TemporaryFile(/tmp/multipartBody4669271212767134843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055616742,"filename":"image_16062025_08_31_34_10026.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/6111808708b0fc284254a692c9de4586.jpg","text":"TemporaryFile(/tmp/multipartBody1852417838070927154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055616742,"filename":"image_16062025_08_30_54_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/78f60b3415404806ad92880b4d724b70.jpg","text":"TemporaryFile(/tmp/multipartBody4034880270907290521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055616742,"filename":"image_16062025_08_31_24_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/29304c1c6e372015e753e6327e74723b.jpg","text":"TemporaryFile(/tmp/multipartBody4959938384820085389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055616742,"filename":"image_16062025_08_31_44_10002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366516355","file1":"1366516350","file0":"1366516346","file4":"1366516369","file5":"1366516373","file3":"1366516363"},"map_files_photo_id_array":[{"photo_id":"1366516373","filename":"file5"},{"photo_id":"1366516355","filename":"file2"},{"photo_id":"1366516369","filename":"file4"},{"photo_id":"1366516350","filename":"file1"},{"photo_id":"1366516346","filename":"file0"},{"photo_id":"1366516363","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366516363":["hashtag1","hashtag2"]},{"1366516369":["hashtag1","hashtag2"]},{"1366516350":["hashtag1","hashtag2"]},{"1366516373":["hashtag1","hashtag2"]},{"1366516355":["hashtag1","hashtag2"]},{"1366516346":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366516363, 1366516369, 1366516350, 1366516373, 1366516355, 1366516346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.85400152206421 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:34:02.573184
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/33/image_16062025_08_33_44_10170.jpg', 2), ('/mnt/data/16062025/08/33/image_16062025_08_33_34_10253.jpg', 2), ('/mnt/data/16062025/08/33/image_16062025_08_33_24_9023.jpg', 2), ('/mnt/data/16062025/08/33/image_16062025_08_33_15_10195.jpg', 2), ('/mnt/data/16062025/08/32/image_16062025_08_33_04_10373.jpg', 2), ('/mnt/data/16062025/08/32/image_16062025_08_32_54_10133.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/33/image_16062025_08_33_44_10170.jpg', '/mnt/data/16062025/08/33/image_16062025_08_33_34_10253.jpg', '/mnt/data/16062025/08/33/image_16062025_08_33_24_9023.jpg', '/mnt/data/16062025/08/33/image_16062025_08_33_15_10195.jpg', '/mnt/data/16062025/08/32/image_16062025_08_33_04_10373.jpg', '/mnt/data/16062025/08/32/image_16062025_08_32_54_10133.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/33/image_16062025_08_33_44_10170.jpg
/mnt/data/16062025/08/33/image_16062025_08_33_34_10253.jpg
/mnt/data/16062025/08/33/image_16062025_08_33_24_9023.jpg
/mnt/data/16062025/08/33/image_16062025_08_33_15_10195.jpg
/mnt/data/16062025/08/32/image_16062025_08_33_04_10373.jpg
/mnt/data/16062025/08/32/image_16062025_08_32_54_10133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.46110224723816 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:35:02.828456
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/34/image_16062025_08_34_45_9982.jpg', 2), ('/mnt/data/16062025/08/34/image_16062025_08_34_35_9961.jpg', 2), ('/mnt/data/16062025/08/34/image_16062025_08_34_25_10006.jpg', 2), ('/mnt/data/16062025/08/34/image_16062025_08_34_15_9951.jpg', 2), ('/mnt/data/16062025/08/33/image_16062025_08_34_05_10560.jpg', 2), ('/mnt/data/16062025/08/33/image_16062025_08_33_54_10159.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/34/image_16062025_08_34_45_9982.jpg', '/mnt/data/16062025/08/34/image_16062025_08_34_35_9961.jpg', '/mnt/data/16062025/08/34/image_16062025_08_34_25_10006.jpg', '/mnt/data/16062025/08/34/image_16062025_08_34_15_9951.jpg', '/mnt/data/16062025/08/33/image_16062025_08_34_05_10560.jpg', '/mnt/data/16062025/08/33/image_16062025_08_33_54_10159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/34/image_16062025_08_34_45_9982.jpg
/mnt/data/16062025/08/34/image_16062025_08_34_35_9961.jpg
/mnt/data/16062025/08/34/image_16062025_08_34_25_10006.jpg
/mnt/data/16062025/08/34/image_16062025_08_34_15_9951.jpg
/mnt/data/16062025/08/33/image_16062025_08_34_05_10560.jpg
/mnt/data/16062025/08/33/image_16062025_08_33_54_10159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.219247817993164 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:36:02.692735
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/35/image_16062025_08_35_45_9980.jpg', 2), ('/mnt/data/16062025/08/35/image_16062025_08_35_35_9981.jpg', 2), ('/mnt/data/16062025/08/35/image_16062025_08_35_25_9966.jpg', 2), ('/mnt/data/16062025/08/35/image_16062025_08_35_15_9979.jpg', 2), ('/mnt/data/16062025/08/34/image_16062025_08_35_05_10073.jpg', 2), ('/mnt/data/16062025/08/34/image_16062025_08_34_55_9956.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/35/image_16062025_08_35_45_9980.jpg', '/mnt/data/16062025/08/35/image_16062025_08_35_35_9981.jpg', '/mnt/data/16062025/08/35/image_16062025_08_35_25_9966.jpg', '/mnt/data/16062025/08/35/image_16062025_08_35_15_9979.jpg', '/mnt/data/16062025/08/34/image_16062025_08_35_05_10073.jpg', '/mnt/data/16062025/08/34/image_16062025_08_34_55_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/35/image_16062025_08_35_45_9980.jpg
/mnt/data/16062025/08/35/image_16062025_08_35_35_9981.jpg
/mnt/data/16062025/08/35/image_16062025_08_35_25_9966.jpg
/mnt/data/16062025/08/35/image_16062025_08_35_15_9979.jpg
/mnt/data/16062025/08/34/image_16062025_08_35_05_10073.jpg
/mnt/data/16062025/08/34/image_16062025_08_34_55_9956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366516459","1366516468","1366516491","1366516484","1366516478","1366516481"],"photo_ids_order":["1366516459","1366516468","1366516478","1366516481","1366516484","1366516491"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/bedf4d6d7098eb5bd64e1ea36ce651ed.jpg","text":"TemporaryFile(/tmp/multipartBody3491080892196467144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055858658,"filename":"image_16062025_08_35_45_9980.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/52fbe2e1099185e7c58be8f9a8b34f3f.jpg","text":"TemporaryFile(/tmp/multipartBody8574748549968044092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055858658,"filename":"image_16062025_08_35_35_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e30ed5e1b5e9310062fce4b29fd68649.jpg","text":"TemporaryFile(/tmp/multipartBody8013036373518770738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055858658,"filename":"image_16062025_08_34_55_9956.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e2a4298b6e736123b54aa20cb7cb2ce7.jpg","text":"TemporaryFile(/tmp/multipartBody1684812035732079633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055858658,"filename":"image_16062025_08_35_05_10073.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e8ce5df55e94fb597c6084d315594576.jpg","text":"TemporaryFile(/tmp/multipartBody3564399499711388126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055858658,"filename":"image_16062025_08_35_25_9966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/96d0e852a5bd23755f27a840f5e6254d.jpg","text":"TemporaryFile(/tmp/multipartBody1982260249592685275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750055858658,"filename":"image_16062025_08_35_15_9979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366516478","file1":"1366516468","file0":"1366516459","file4":"1366516484","file5":"1366516491","file3":"1366516481"},"map_files_photo_id_array":[{"photo_id":"1366516491","filename":"file5"},{"photo_id":"1366516478","filename":"file2"},{"photo_id":"1366516484","filename":"file4"},{"photo_id":"1366516468","filename":"file1"},{"photo_id":"1366516459","filename":"file0"},{"photo_id":"1366516481","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366516459":["hashtag1","hashtag2"]},{"1366516468":["hashtag1","hashtag2"]},{"1366516491":["hashtag1","hashtag2"]},{"1366516484":["hashtag1","hashtag2"]},{"1366516478":["hashtag1","hashtag2"]},{"1366516481":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366516459, 1366516468, 1366516491, 1366516484, 1366516478, 1366516481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 136.50257349014282 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:38:26.394650
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/38/image_16062025_08_38_44_10097.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_38_35_10128.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_38_24_10135.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_38_14_8940.jpg', 2), ('/mnt/data/16062025/08/37/image_16062025_08_38_05_10441.jpg', 2), ('/mnt/data/16062025/08/37/image_16062025_08_37_54_10123.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/38/image_16062025_08_38_44_10097.jpg', '/mnt/data/16062025/08/38/image_16062025_08_38_35_10128.jpg', '/mnt/data/16062025/08/38/image_16062025_08_38_24_10135.jpg', '/mnt/data/16062025/08/38/image_16062025_08_38_14_8940.jpg', '/mnt/data/16062025/08/37/image_16062025_08_38_05_10441.jpg', '/mnt/data/16062025/08/37/image_16062025_08_37_54_10123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/38/image_16062025_08_38_44_10097.jpg
/mnt/data/16062025/08/38/image_16062025_08_38_35_10128.jpg
/mnt/data/16062025/08/38/image_16062025_08_38_24_10135.jpg
/mnt/data/16062025/08/38/image_16062025_08_38_14_8940.jpg
/mnt/data/16062025/08/37/image_16062025_08_38_05_10441.jpg
/mnt/data/16062025/08/37/image_16062025_08_37_54_10123.jpg
uploaded 0 photos
time to upload: 30.222426176071167 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:39:03.320341
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/39/image_16062025_08_39_44_10140.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_38_44_10097.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_38_35_10128.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_38_24_10135.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_38_14_8940.jpg', 2), ('/mnt/data/16062025/08/37/image_16062025_08_38_05_10441.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/39/image_16062025_08_39_44_10140.jpg', '/mnt/data/16062025/08/38/image_16062025_08_38_44_10097.jpg', '/mnt/data/16062025/08/38/image_16062025_08_38_35_10128.jpg', '/mnt/data/16062025/08/38/image_16062025_08_38_24_10135.jpg', '/mnt/data/16062025/08/38/image_16062025_08_38_14_8940.jpg', '/mnt/data/16062025/08/37/image_16062025_08_38_05_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/39/image_16062025_08_39_44_10140.jpg
/mnt/data/16062025/08/38/image_16062025_08_38_44_10097.jpg
/mnt/data/16062025/08/38/image_16062025_08_38_35_10128.jpg
/mnt/data/16062025/08/38/image_16062025_08_38_24_10135.jpg
/mnt/data/16062025/08/38/image_16062025_08_38_14_8940.jpg
/mnt/data/16062025/08/37/image_16062025_08_38_05_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.61609077453613 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:40:02.492115
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/39/image_16062025_08_39_44_10140.jpg', 2), ('/mnt/data/16062025/08/39/image_16062025_08_39_34_10311.jpg', 2), ('/mnt/data/16062025/08/39/image_16062025_08_39_24_9050.jpg', 2), ('/mnt/data/16062025/08/39/image_16062025_08_39_15_10173.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_39_05_10333.jpg', 2), ('/mnt/data/16062025/08/38/image_16062025_08_38_54_10155.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/39/image_16062025_08_39_44_10140.jpg', '/mnt/data/16062025/08/39/image_16062025_08_39_34_10311.jpg', '/mnt/data/16062025/08/39/image_16062025_08_39_24_9050.jpg', '/mnt/data/16062025/08/39/image_16062025_08_39_15_10173.jpg', '/mnt/data/16062025/08/38/image_16062025_08_39_05_10333.jpg', '/mnt/data/16062025/08/38/image_16062025_08_38_54_10155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/39/image_16062025_08_39_44_10140.jpg
/mnt/data/16062025/08/39/image_16062025_08_39_34_10311.jpg
/mnt/data/16062025/08/39/image_16062025_08_39_24_9050.jpg
/mnt/data/16062025/08/39/image_16062025_08_39_15_10173.jpg
/mnt/data/16062025/08/38/image_16062025_08_39_05_10333.jpg
/mnt/data/16062025/08/38/image_16062025_08_38_54_10155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.824671506881714 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:41:02.803498
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/40/image_16062025_08_40_44_10071.jpg', 2), ('/mnt/data/16062025/08/40/image_16062025_08_40_34_9914.jpg', 2), ('/mnt/data/16062025/08/40/image_16062025_08_40_24_10046.jpg', 2), ('/mnt/data/16062025/08/40/image_16062025_08_40_14_10005.jpg', 2), ('/mnt/data/16062025/08/39/image_16062025_08_40_04_9614.jpg', 2), ('/mnt/data/16062025/08/39/image_16062025_08_39_54_10076.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/40/image_16062025_08_40_44_10071.jpg', '/mnt/data/16062025/08/40/image_16062025_08_40_34_9914.jpg', '/mnt/data/16062025/08/40/image_16062025_08_40_24_10046.jpg', '/mnt/data/16062025/08/40/image_16062025_08_40_14_10005.jpg', '/mnt/data/16062025/08/39/image_16062025_08_40_04_9614.jpg', '/mnt/data/16062025/08/39/image_16062025_08_39_54_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/40/image_16062025_08_40_44_10071.jpg
/mnt/data/16062025/08/40/image_16062025_08_40_34_9914.jpg
/mnt/data/16062025/08/40/image_16062025_08_40_24_10046.jpg
/mnt/data/16062025/08/40/image_16062025_08_40_14_10005.jpg
/mnt/data/16062025/08/39/image_16062025_08_40_04_9614.jpg
/mnt/data/16062025/08/39/image_16062025_08_39_54_10076.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.916324615478516 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:42:02.749054
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/41/image_16062025_08_41_45_10115.jpg', 2), ('/mnt/data/16062025/08/40/image_16062025_08_41_04_10314.jpg', 2), ('/mnt/data/16062025/08/40/image_16062025_08_40_54_9949.jpg', 2), ('/mnt/data/16062025/08/40/image_16062025_08_40_44_10071.jpg', 2), ('/mnt/data/16062025/08/40/image_16062025_08_40_34_9914.jpg', 2), ('/mnt/data/16062025/08/40/image_16062025_08_40_24_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/41/image_16062025_08_41_45_10115.jpg', '/mnt/data/16062025/08/40/image_16062025_08_41_04_10314.jpg', '/mnt/data/16062025/08/40/image_16062025_08_40_54_9949.jpg', '/mnt/data/16062025/08/40/image_16062025_08_40_44_10071.jpg', '/mnt/data/16062025/08/40/image_16062025_08_40_34_9914.jpg', '/mnt/data/16062025/08/40/image_16062025_08_40_24_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/41/image_16062025_08_41_45_10115.jpg
/mnt/data/16062025/08/40/image_16062025_08_41_04_10314.jpg
/mnt/data/16062025/08/40/image_16062025_08_40_54_9949.jpg
/mnt/data/16062025/08/40/image_16062025_08_40_44_10071.jpg
/mnt/data/16062025/08/40/image_16062025_08_40_34_9914.jpg
/mnt/data/16062025/08/40/image_16062025_08_40_24_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.260169506073 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:43:02.954610
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/42/image_16062025_08_42_44_9938.jpg', 2), ('/mnt/data/16062025/08/42/image_16062025_08_42_34_9955.jpg', 2), ('/mnt/data/16062025/08/42/image_16062025_08_42_25_9984.jpg', 2), ('/mnt/data/16062025/08/42/image_16062025_08_42_15_9925.jpg', 2), ('/mnt/data/16062025/08/41/image_16062025_08_42_05_10116.jpg', 2), ('/mnt/data/16062025/08/41/image_16062025_08_41_54_9967.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/42/image_16062025_08_42_44_9938.jpg', '/mnt/data/16062025/08/42/image_16062025_08_42_34_9955.jpg', '/mnt/data/16062025/08/42/image_16062025_08_42_25_9984.jpg', '/mnt/data/16062025/08/42/image_16062025_08_42_15_9925.jpg', '/mnt/data/16062025/08/41/image_16062025_08_42_05_10116.jpg', '/mnt/data/16062025/08/41/image_16062025_08_41_54_9967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/42/image_16062025_08_42_44_9938.jpg
/mnt/data/16062025/08/42/image_16062025_08_42_34_9955.jpg
/mnt/data/16062025/08/42/image_16062025_08_42_25_9984.jpg
/mnt/data/16062025/08/42/image_16062025_08_42_15_9925.jpg
/mnt/data/16062025/08/41/image_16062025_08_42_05_10116.jpg
/mnt/data/16062025/08/41/image_16062025_08_41_54_9967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.26330828666687 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:44:03.038379
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/43/image_16062025_08_43_44_9957.jpg', 2), ('/mnt/data/16062025/08/43/image_16062025_08_43_34_10003.jpg', 2), ('/mnt/data/16062025/08/43/image_16062025_08_43_24_10012.jpg', 2), ('/mnt/data/16062025/08/43/image_16062025_08_43_14_9954.jpg', 2), ('/mnt/data/16062025/08/42/image_16062025_08_43_04_10106.jpg', 2), ('/mnt/data/16062025/08/42/image_16062025_08_42_54_9944.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/43/image_16062025_08_43_44_9957.jpg', '/mnt/data/16062025/08/43/image_16062025_08_43_34_10003.jpg', '/mnt/data/16062025/08/43/image_16062025_08_43_24_10012.jpg', '/mnt/data/16062025/08/43/image_16062025_08_43_14_9954.jpg', '/mnt/data/16062025/08/42/image_16062025_08_43_04_10106.jpg', '/mnt/data/16062025/08/42/image_16062025_08_42_54_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/43/image_16062025_08_43_44_9957.jpg
/mnt/data/16062025/08/43/image_16062025_08_43_34_10003.jpg
/mnt/data/16062025/08/43/image_16062025_08_43_24_10012.jpg
/mnt/data/16062025/08/43/image_16062025_08_43_14_9954.jpg
/mnt/data/16062025/08/42/image_16062025_08_43_04_10106.jpg
/mnt/data/16062025/08/42/image_16062025_08_42_54_9944.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366516823","1366516788","1366516773","1366516767","1366516757","1366516760"],"photo_ids_order":["1366516757","1366516760","1366516767","1366516773","1366516788","1366516823"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e0d630ca3b5e40fe7be9a9fa3ce6b6e6.jpg","text":"TemporaryFile(/tmp/multipartBody6305440400389546577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750056330431,"filename":"image_16062025_08_42_54_9944.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b65aba34004598934851f00d550506a4.jpg","text":"TemporaryFile(/tmp/multipartBody8963510894149587453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750056330431,"filename":"image_16062025_08_43_04_10106.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/a5ff9109058fb66745fec99d977883d7.jpg","text":"TemporaryFile(/tmp/multipartBody132983839264295890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750056330431,"filename":"image_16062025_08_43_14_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/523996e211241d6927e22ad180e41bc4.jpg","text":"TemporaryFile(/tmp/multipartBody609760677595419648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750056330431,"filename":"image_16062025_08_43_24_10012.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/225afc8832a9fad81ee5df0648f3550c.jpg","text":"TemporaryFile(/tmp/multipartBody5705443282416595212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750056330431,"filename":"image_16062025_08_43_44_9957.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/01c522e3c2464f28203feb9c23594d36.jpg","text":"TemporaryFile(/tmp/multipartBody5985983928692679964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750056330431,"filename":"image_16062025_08_43_34_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366516767","file1":"1366516760","file0":"1366516757","file4":"1366516788","file5":"1366516823","file3":"1366516773"},"map_files_photo_id_array":[{"photo_id":"1366516823","filename":"file5"},{"photo_id":"1366516767","filename":"file2"},{"photo_id":"1366516788","filename":"file4"},{"photo_id":"1366516760","filename":"file1"},{"photo_id":"1366516757","filename":"file0"},{"photo_id":"1366516773","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366516823":["hashtag1","hashtag2"]},{"1366516788":["hashtag1","hashtag2"]},{"1366516773":["hashtag1","hashtag2"]},{"1366516767":["hashtag1","hashtag2"]},{"1366516757":["hashtag1","hashtag2"]},{"1366516760":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366516823, 1366516788, 1366516773, 1366516767, 1366516757, 1366516760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.12327337265015 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:46:03.309896
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/45/image_16062025_08_45_44_10176.jpg', 2), ('/mnt/data/16062025/08/45/image_16062025_08_45_34_9970.jpg', 2), ('/mnt/data/16062025/08/45/image_16062025_08_45_24_9991.jpg', 2), ('/mnt/data/16062025/08/45/image_16062025_08_45_14_10081.jpg', 2), ('/mnt/data/16062025/08/44/image_16062025_08_45_04_10225.jpg', 2), ('/mnt/data/16062025/08/44/image_16062025_08_44_45_10063.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/45/image_16062025_08_45_44_10176.jpg', '/mnt/data/16062025/08/45/image_16062025_08_45_34_9970.jpg', '/mnt/data/16062025/08/45/image_16062025_08_45_24_9991.jpg', '/mnt/data/16062025/08/45/image_16062025_08_45_14_10081.jpg', '/mnt/data/16062025/08/44/image_16062025_08_45_04_10225.jpg', '/mnt/data/16062025/08/44/image_16062025_08_44_45_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/45/image_16062025_08_45_44_10176.jpg
/mnt/data/16062025/08/45/image_16062025_08_45_34_9970.jpg
/mnt/data/16062025/08/45/image_16062025_08_45_24_9991.jpg
/mnt/data/16062025/08/45/image_16062025_08_45_14_10081.jpg
/mnt/data/16062025/08/44/image_16062025_08_45_04_10225.jpg
/mnt/data/16062025/08/44/image_16062025_08_44_45_10063.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.243417263031006 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:47:02.634522
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/46/image_16062025_08_46_44_9977.jpg', 2), ('/mnt/data/16062025/08/46/image_16062025_08_46_34_9998.jpg', 2), ('/mnt/data/16062025/08/46/image_16062025_08_46_24_9946.jpg', 2), ('/mnt/data/16062025/08/46/image_16062025_08_46_14_9990.jpg', 2), ('/mnt/data/16062025/08/45/image_16062025_08_46_04_10153.jpg', 2), ('/mnt/data/16062025/08/45/image_16062025_08_45_54_10028.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/46/image_16062025_08_46_44_9977.jpg', '/mnt/data/16062025/08/46/image_16062025_08_46_34_9998.jpg', '/mnt/data/16062025/08/46/image_16062025_08_46_24_9946.jpg', '/mnt/data/16062025/08/46/image_16062025_08_46_14_9990.jpg', '/mnt/data/16062025/08/45/image_16062025_08_46_04_10153.jpg', '/mnt/data/16062025/08/45/image_16062025_08_45_54_10028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/46/image_16062025_08_46_44_9977.jpg
/mnt/data/16062025/08/46/image_16062025_08_46_34_9998.jpg
/mnt/data/16062025/08/46/image_16062025_08_46_24_9946.jpg
/mnt/data/16062025/08/46/image_16062025_08_46_14_9990.jpg
/mnt/data/16062025/08/45/image_16062025_08_46_04_10153.jpg
/mnt/data/16062025/08/45/image_16062025_08_45_54_10028.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.681093215942383 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:48:02.427231
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg', 2), ('/mnt/data/16062025/08/47/image_16062025_08_47_44_8986.jpg', 2), ('/mnt/data/16062025/08/47/image_16062025_08_47_35_10140.jpg', 2), ('/mnt/data/16062025/08/47/image_16062025_08_47_25_9996.jpg', 2), ('/mnt/data/16062025/08/47/image_16062025_08_47_15_9987.jpg', 2), ('/mnt/data/16062025/08/46/image_16062025_08_47_05_10270.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg', '/mnt/data/16062025/08/47/image_16062025_08_47_44_8986.jpg', '/mnt/data/16062025/08/47/image_16062025_08_47_35_10140.jpg', '/mnt/data/16062025/08/47/image_16062025_08_47_25_9996.jpg', '/mnt/data/16062025/08/47/image_16062025_08_47_15_9987.jpg', '/mnt/data/16062025/08/46/image_16062025_08_47_05_10270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg
/mnt/data/16062025/08/47/image_16062025_08_47_44_8986.jpg
/mnt/data/16062025/08/47/image_16062025_08_47_35_10140.jpg
/mnt/data/16062025/08/47/image_16062025_08_47_25_9996.jpg
/mnt/data/16062025/08/47/image_16062025_08_47_15_9987.jpg
/mnt/data/16062025/08/46/image_16062025_08_47_05_10270.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.232595443725586 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:49:02.971009
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg', 2), ('/mnt/data/16062025/08/48/image_16062025_08_48_35_10263.jpg', 2), ('/mnt/data/16062025/08/48/image_16062025_08_48_24_10201.jpg', 2), ('/mnt/data/16062025/08/48/image_16062025_08_48_14_9985.jpg', 2), ('/mnt/data/16062025/08/47/image_16062025_08_48_04_10174.jpg', 2), ('/mnt/data/16062025/08/47/image_16062025_08_47_54_10151.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg', '/mnt/data/16062025/08/48/image_16062025_08_48_35_10263.jpg', '/mnt/data/16062025/08/48/image_16062025_08_48_24_10201.jpg', '/mnt/data/16062025/08/48/image_16062025_08_48_14_9985.jpg', '/mnt/data/16062025/08/47/image_16062025_08_48_04_10174.jpg', '/mnt/data/16062025/08/47/image_16062025_08_47_54_10151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg
/mnt/data/16062025/08/48/image_16062025_08_48_35_10263.jpg
/mnt/data/16062025/08/48/image_16062025_08_48_24_10201.jpg
/mnt/data/16062025/08/48/image_16062025_08_48_14_9985.jpg
/mnt/data/16062025/08/47/image_16062025_08_48_04_10174.jpg
/mnt/data/16062025/08/47/image_16062025_08_47_54_10151.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.224814653396606 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:50:02.820167
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/49/image_16062025_08_49_44_8964.jpg', 2), ('/mnt/data/16062025/08/49/image_16062025_08_49_25_10216.jpg', 2), ('/mnt/data/16062025/08/49/image_16062025_08_49_14_10221.jpg', 2), ('/mnt/data/16062025/08/48/image_16062025_08_49_04_10367.jpg', 2), ('/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg', 2), ('/mnt/data/16062025/08/48/image_16062025_08_48_45_10265.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/49/image_16062025_08_49_44_8964.jpg', '/mnt/data/16062025/08/49/image_16062025_08_49_25_10216.jpg', '/mnt/data/16062025/08/49/image_16062025_08_49_14_10221.jpg', '/mnt/data/16062025/08/48/image_16062025_08_49_04_10367.jpg', '/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg', '/mnt/data/16062025/08/48/image_16062025_08_48_45_10265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/49/image_16062025_08_49_44_8964.jpg
/mnt/data/16062025/08/49/image_16062025_08_49_25_10216.jpg
/mnt/data/16062025/08/49/image_16062025_08_49_14_10221.jpg
/mnt/data/16062025/08/48/image_16062025_08_49_04_10367.jpg
/mnt/data/16062025/08/48/image_16062025_08_48_54_8924.jpg
/mnt/data/16062025/08/48/image_16062025_08_48_45_10265.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.223748683929443 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:51:03.106851
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/50/image_16062025_08_50_44_9991.jpg', 2), ('/mnt/data/16062025/08/50/image_16062025_08_50_34_10179.jpg', 2), ('/mnt/data/16062025/08/50/image_16062025_08_50_24_9128.jpg', 2), ('/mnt/data/16062025/08/50/image_16062025_08_50_15_10273.jpg', 2), ('/mnt/data/16062025/08/49/image_16062025_08_50_04_10458.jpg', 2), ('/mnt/data/16062025/08/49/image_16062025_08_49_54_10210.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/50/image_16062025_08_50_44_9991.jpg', '/mnt/data/16062025/08/50/image_16062025_08_50_34_10179.jpg', '/mnt/data/16062025/08/50/image_16062025_08_50_24_9128.jpg', '/mnt/data/16062025/08/50/image_16062025_08_50_15_10273.jpg', '/mnt/data/16062025/08/49/image_16062025_08_50_04_10458.jpg', '/mnt/data/16062025/08/49/image_16062025_08_49_54_10210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/50/image_16062025_08_50_44_9991.jpg
/mnt/data/16062025/08/50/image_16062025_08_50_34_10179.jpg
/mnt/data/16062025/08/50/image_16062025_08_50_24_9128.jpg
/mnt/data/16062025/08/50/image_16062025_08_50_15_10273.jpg
/mnt/data/16062025/08/49/image_16062025_08_50_04_10458.jpg
/mnt/data/16062025/08/49/image_16062025_08_49_54_10210.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21307134628296 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:52:02.820411
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/51/image_16062025_08_51_44_10064.jpg', 2), ('/mnt/data/16062025/08/51/image_16062025_08_51_34_10011.jpg', 2), ('/mnt/data/16062025/08/51/image_16062025_08_51_24_10103.jpg', 2), ('/mnt/data/16062025/08/51/image_16062025_08_51_14_9019.jpg', 2), ('/mnt/data/16062025/08/50/image_16062025_08_50_54_10146.jpg', 2), ('/mnt/data/16062025/08/50/image_16062025_08_50_44_9991.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/51/image_16062025_08_51_44_10064.jpg', '/mnt/data/16062025/08/51/image_16062025_08_51_34_10011.jpg', '/mnt/data/16062025/08/51/image_16062025_08_51_24_10103.jpg', '/mnt/data/16062025/08/51/image_16062025_08_51_14_9019.jpg', '/mnt/data/16062025/08/50/image_16062025_08_50_54_10146.jpg', '/mnt/data/16062025/08/50/image_16062025_08_50_44_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/51/image_16062025_08_51_44_10064.jpg
/mnt/data/16062025/08/51/image_16062025_08_51_34_10011.jpg
/mnt/data/16062025/08/51/image_16062025_08_51_24_10103.jpg
/mnt/data/16062025/08/51/image_16062025_08_51_14_9019.jpg
/mnt/data/16062025/08/50/image_16062025_08_50_54_10146.jpg
/mnt/data/16062025/08/50/image_16062025_08_50_44_9991.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.47755217552185 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:53:03.212118
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/52/image_16062025_08_52_44_9920.jpg', 2), ('/mnt/data/16062025/08/52/image_16062025_08_52_34_9940.jpg', 2), ('/mnt/data/16062025/08/52/image_16062025_08_52_24_9951.jpg', 2), ('/mnt/data/16062025/08/52/image_16062025_08_52_14_9965.jpg', 2), ('/mnt/data/16062025/08/51/image_16062025_08_52_04_10309.jpg', 2), ('/mnt/data/16062025/08/51/image_16062025_08_51_54_10034.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/52/image_16062025_08_52_44_9920.jpg', '/mnt/data/16062025/08/52/image_16062025_08_52_34_9940.jpg', '/mnt/data/16062025/08/52/image_16062025_08_52_24_9951.jpg', '/mnt/data/16062025/08/52/image_16062025_08_52_14_9965.jpg', '/mnt/data/16062025/08/51/image_16062025_08_52_04_10309.jpg', '/mnt/data/16062025/08/51/image_16062025_08_51_54_10034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/52/image_16062025_08_52_44_9920.jpg
/mnt/data/16062025/08/52/image_16062025_08_52_34_9940.jpg
/mnt/data/16062025/08/52/image_16062025_08_52_24_9951.jpg
/mnt/data/16062025/08/52/image_16062025_08_52_14_9965.jpg
/mnt/data/16062025/08/51/image_16062025_08_52_04_10309.jpg
/mnt/data/16062025/08/51/image_16062025_08_51_54_10034.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19976830482483 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:54:02.619609
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/53/image_16062025_08_53_44_10109.jpg', 2), ('/mnt/data/16062025/08/53/image_16062025_08_53_14_10019.jpg', 2), ('/mnt/data/16062025/08/52/image_16062025_08_53_04_10109.jpg', 2), ('/mnt/data/16062025/08/52/image_16062025_08_52_54_9921.jpg', 2), ('/mnt/data/16062025/08/52/image_16062025_08_52_44_9920.jpg', 2), ('/mnt/data/16062025/08/52/image_16062025_08_52_34_9940.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/53/image_16062025_08_53_44_10109.jpg', '/mnt/data/16062025/08/53/image_16062025_08_53_14_10019.jpg', '/mnt/data/16062025/08/52/image_16062025_08_53_04_10109.jpg', '/mnt/data/16062025/08/52/image_16062025_08_52_54_9921.jpg', '/mnt/data/16062025/08/52/image_16062025_08_52_44_9920.jpg', '/mnt/data/16062025/08/52/image_16062025_08_52_34_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/53/image_16062025_08_53_44_10109.jpg
/mnt/data/16062025/08/53/image_16062025_08_53_14_10019.jpg
/mnt/data/16062025/08/52/image_16062025_08_53_04_10109.jpg
/mnt/data/16062025/08/52/image_16062025_08_52_54_9921.jpg
/mnt/data/16062025/08/52/image_16062025_08_52_44_9920.jpg
/mnt/data/16062025/08/52/image_16062025_08_52_34_9940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.62564563751221 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 08:59:03.158520
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/58/image_16062025_08_58_44_9928.jpg', 2), ('/mnt/data/16062025/08/58/image_16062025_08_58_34_9975.jpg', 2), ('/mnt/data/16062025/08/58/image_16062025_08_58_24_9944.jpg', 2), ('/mnt/data/16062025/08/58/image_16062025_08_58_14_9967.jpg', 2), ('/mnt/data/16062025/08/57/image_16062025_08_58_04_10079.jpg', 2), ('/mnt/data/16062025/08/57/image_16062025_08_57_54_10066.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/58/image_16062025_08_58_44_9928.jpg', '/mnt/data/16062025/08/58/image_16062025_08_58_34_9975.jpg', '/mnt/data/16062025/08/58/image_16062025_08_58_24_9944.jpg', '/mnt/data/16062025/08/58/image_16062025_08_58_14_9967.jpg', '/mnt/data/16062025/08/57/image_16062025_08_58_04_10079.jpg', '/mnt/data/16062025/08/57/image_16062025_08_57_54_10066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/58/image_16062025_08_58_44_9928.jpg
/mnt/data/16062025/08/58/image_16062025_08_58_34_9975.jpg
/mnt/data/16062025/08/58/image_16062025_08_58_24_9944.jpg
/mnt/data/16062025/08/58/image_16062025_08_58_14_9967.jpg
/mnt/data/16062025/08/57/image_16062025_08_58_04_10079.jpg
/mnt/data/16062025/08/57/image_16062025_08_57_54_10066.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.17157483100891 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:00:03.001439
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/08/59/image_16062025_08_59_45_9947.jpg', 2), ('/mnt/data/16062025/08/59/image_16062025_08_59_35_9942.jpg', 2), ('/mnt/data/16062025/08/59/image_16062025_08_59_25_11140.jpg', 2), ('/mnt/data/16062025/08/59/image_16062025_08_59_14_9980.jpg', 2), ('/mnt/data/16062025/08/58/image_16062025_08_59_04_9945.jpg', 2), ('/mnt/data/16062025/08/58/image_16062025_08_58_54_9970.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/08/59/image_16062025_08_59_45_9947.jpg', '/mnt/data/16062025/08/59/image_16062025_08_59_35_9942.jpg', '/mnt/data/16062025/08/59/image_16062025_08_59_25_11140.jpg', '/mnt/data/16062025/08/59/image_16062025_08_59_14_9980.jpg', '/mnt/data/16062025/08/58/image_16062025_08_59_04_9945.jpg', '/mnt/data/16062025/08/58/image_16062025_08_58_54_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/08/59/image_16062025_08_59_45_9947.jpg
/mnt/data/16062025/08/59/image_16062025_08_59_35_9942.jpg
/mnt/data/16062025/08/59/image_16062025_08_59_25_11140.jpg
/mnt/data/16062025/08/59/image_16062025_08_59_14_9980.jpg
/mnt/data/16062025/08/58/image_16062025_08_59_04_9945.jpg
/mnt/data/16062025/08/58/image_16062025_08_58_54_9970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.019502639770508 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:01:03.306022
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/00/image_16062025_09_00_44_8874.jpg', 2), ('/mnt/data/16062025/09/00/image_16062025_09_00_35_10025.jpg', 2), ('/mnt/data/16062025/09/00/image_16062025_09_00_25_10031.jpg', 2), ('/mnt/data/16062025/09/00/image_16062025_09_00_15_9978.jpg', 2), ('/mnt/data/16062025/08/59/image_16062025_09_00_05_10049.jpg', 2), ('/mnt/data/16062025/08/59/image_16062025_08_59_55_9980.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/00/image_16062025_09_00_44_8874.jpg', '/mnt/data/16062025/09/00/image_16062025_09_00_35_10025.jpg', '/mnt/data/16062025/09/00/image_16062025_09_00_25_10031.jpg', '/mnt/data/16062025/09/00/image_16062025_09_00_15_9978.jpg', '/mnt/data/16062025/08/59/image_16062025_09_00_05_10049.jpg', '/mnt/data/16062025/08/59/image_16062025_08_59_55_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/00/image_16062025_09_00_44_8874.jpg
/mnt/data/16062025/09/00/image_16062025_09_00_35_10025.jpg
/mnt/data/16062025/09/00/image_16062025_09_00_25_10031.jpg
/mnt/data/16062025/09/00/image_16062025_09_00_15_9978.jpg
/mnt/data/16062025/08/59/image_16062025_09_00_05_10049.jpg
/mnt/data/16062025/08/59/image_16062025_08_59_55_9980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.273657083511353 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:02:03.336674
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/01/image_16062025_09_01_45_10150.jpg', 2), ('/mnt/data/16062025/09/01/image_16062025_09_01_35_10110.jpg', 2), ('/mnt/data/16062025/09/01/image_16062025_09_01_25_10161.jpg', 2), ('/mnt/data/16062025/09/01/image_16062025_09_01_14_10149.jpg', 2), ('/mnt/data/16062025/09/00/image_16062025_09_01_04_10455.jpg', 2), ('/mnt/data/16062025/09/00/image_16062025_09_00_54_10183.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/01/image_16062025_09_01_45_10150.jpg', '/mnt/data/16062025/09/01/image_16062025_09_01_35_10110.jpg', '/mnt/data/16062025/09/01/image_16062025_09_01_25_10161.jpg', '/mnt/data/16062025/09/01/image_16062025_09_01_14_10149.jpg', '/mnt/data/16062025/09/00/image_16062025_09_01_04_10455.jpg', '/mnt/data/16062025/09/00/image_16062025_09_00_54_10183.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/01/image_16062025_09_01_45_10150.jpg
/mnt/data/16062025/09/01/image_16062025_09_01_35_10110.jpg
/mnt/data/16062025/09/01/image_16062025_09_01_25_10161.jpg
/mnt/data/16062025/09/01/image_16062025_09_01_14_10149.jpg
/mnt/data/16062025/09/00/image_16062025_09_01_04_10455.jpg
/mnt/data/16062025/09/00/image_16062025_09_00_54_10183.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.001845598220825 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:03:02.621209
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_15_10170.jpg', 2), ('/mnt/data/16062025/09/01/image_16062025_09_02_04_10631.jpg', 2), ('/mnt/data/16062025/09/01/image_16062025_09_01_54_8938.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_15_10170.jpg', '/mnt/data/16062025/09/01/image_16062025_09_02_04_10631.jpg', '/mnt/data/16062025/09/01/image_16062025_09_01_54_8938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_15_10170.jpg
/mnt/data/16062025/09/01/image_16062025_09_02_04_10631.jpg
/mnt/data/16062025/09/01/image_16062025_09_01_54_8938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21512269973755 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:04:02.610614
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_15_10170.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_15_10170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_15_10170.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.183815240859985 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:05:02.827399
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', '/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_25_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.32474708557129 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:06:02.813361
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', '/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_35_9926.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.206544876098633 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:07:03.030619
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', '/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', '/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_45_9969.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.305715799331665 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:08:03.025616
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', '/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', '/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19424843788147 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:09:03.453629
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', '/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', '/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', '/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg
/mnt/data/16062025/09/02/image_16062025_09_02_54_9949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.618305683135986 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:10:03.450443
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2), ('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2), ('/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', '/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', '/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', '/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
/mnt/data/16062025/09/02/image_16062025_09_03_05_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.4386043548584 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:11:03.660704
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2), ('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2), ('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', '/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', '/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', '/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.193641185760498 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:12:02.439121
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2), ('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2), ('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', '/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', '/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', '/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.356807708740234 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:13:02.788542
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2), ('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2), ('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', '/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', '/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', '/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2355854511261 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:14:02.781135
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2), ('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2), ('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', 2), ('/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', '/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', '/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', '/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg', '/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
/mnt/data/16062025/09/04/image_16062025_09_04_45_10186.jpg
/mnt/data/16062025/09/03/image_16062025_09_03_24_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.222402334213257 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:15:02.849137
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2), ('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2), ('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', '/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', '/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', '/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', '/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg
/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.230022430419922 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:16:02.925175
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2), ('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2), ('/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', 2), ('/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', '/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', '/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', '/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', '/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg', '/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg
/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
/mnt/data/16062025/09/06/image_16062025_09_06_34_9034.jpg
/mnt/data/16062025/09/04/image_16062025_09_05_04_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21028423309326 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:17:03.500734
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2), ('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', '/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', '/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', '/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg
/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.323326349258423 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:18:02.426421
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2), ('/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', '/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', '/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', '/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg
/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
/mnt/data/16062025/09/07/image_16062025_09_07_24_9027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.369722366333008 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:19:02.702916
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg', 2), ('/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg', '/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', '/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', '/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg
/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg
/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg
/mnt/data/16062025/09/09/image_16062025_09_09_44_10199.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.192169427871704 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:20:02.505284
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg', 2), ('/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg', 2), ('/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', 2), ('/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg', '/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg', '/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg', '/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg
/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg
/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_25_10230.jpg
/mnt/data/16062025/09/09/image_16062025_09_10_05_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.384743452072144 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:21:02.910847
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', 2), ('/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg', 2), ('/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg', 2), ('/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg', 2), ('/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', 2), ('/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', '/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg', '/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg', '/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg', '/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg', '/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg
/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg
/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg
/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg
/mnt/data/16062025/09/16/image_16062025_09_16_44_8987.jpg
/mnt/data/16062025/09/14/image_16062025_09_14_46_10197.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.867305040359497 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:22:03.179287
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', 2), ('/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg', 2), ('/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg', 2), ('/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg', '/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg', '/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', '/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg', '/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg', '/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg
/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg
/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg
/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg
/mnt/data/16062025/09/17/image_16062025_09_18_05_10554.jpg
/mnt/data/16062025/09/16/image_16062025_09_16_54_10166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.232072114944458 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:23:03.401901
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg', 2), ('/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', 2), ('/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg', '/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg', '/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg', '/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg', '/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', '/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg
/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg
/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg
/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg
/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg
/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2011616230011 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:24:03.019478
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg', 2), ('/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', 2), ('/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg', '/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg', '/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg', '/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg', '/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', '/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg
/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg
/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg
/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg
/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg
/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.695834159851074 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:25:03.098355
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg', 2), ('/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg', 2), ('/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', 2), ('/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg', '/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg', '/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg', '/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg', '/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg', '/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg
/mnt/data/16062025/09/21/image_16062025_09_21_15_10225.jpg
/mnt/data/16062025/09/20/image_16062025_09_21_04_10524.jpg
/mnt/data/16062025/09/20/image_16062025_09_20_44_8967.jpg
/mnt/data/16062025/09/20/image_16062025_09_20_14_10180.jpg
/mnt/data/16062025/09/19/image_16062025_09_19_24_10210.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.497512340545654 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:26:03.343117
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_14_10251.jpg', 2), ('/mnt/data/16062025/09/22/image_16062025_09_22_44_10168.jpg', 2), ('/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_14_10251.jpg', '/mnt/data/16062025/09/22/image_16062025_09_22_44_10168.jpg', '/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_14_10251.jpg
/mnt/data/16062025/09/22/image_16062025_09_22_44_10168.jpg
/mnt/data/16062025/09/21/image_16062025_09_22_05_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.574697256088257 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:27:02.427603
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_14_10251.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_14_10251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_14_10251.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.260533332824707 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:28:02.464905
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg', '/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg
/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_24_10381.jpg
uploaded 0 photos
time to upload: 31.967326879501343 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:29:03.542346
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg', 2), ('/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', '/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg', '/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg', '/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg
/mnt/data/16062025/09/25/image_16062025_09_26_04_10393.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_54_8958.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_45_10197.jpg
/mnt/data/16062025/09/25/image_16062025_09_25_35_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.406550407409668 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:30:03.184355
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', '/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
/mnt/data/16062025/09/26/image_16062025_09_26_14_10182.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.248467683792114 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:31:03.569216
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.914632081985474 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:32:02.627042
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.2636775970459 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:33:02.844151
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.68273401260376 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:34:02.770684
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.03663492202759 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:35:02.903381
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.39676785469055 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:36:02.866860
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2756564617157 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:37:03.330167
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.83714532852173 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:38:03.400671
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', 2), ('/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', 2), ('/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', '/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg', '/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg', '/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
/mnt/data/16062025/09/28/image_16062025_09_29_04_10238.jpg
/mnt/data/16062025/09/28/image_16062025_09_28_15_10175.jpg
/mnt/data/16062025/09/26/image_16062025_09_27_04_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.13340950012207 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:39:03.239783
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/38/image_16062025_09_38_44_10018.jpg', 2), ('/mnt/data/16062025/09/38/image_16062025_09_38_24_10046.jpg', 2), ('/mnt/data/16062025/09/30/image_16062025_09_30_15_10118.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', 2), ('/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/38/image_16062025_09_38_44_10018.jpg', '/mnt/data/16062025/09/38/image_16062025_09_38_24_10046.jpg', '/mnt/data/16062025/09/30/image_16062025_09_30_15_10118.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg', '/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/38/image_16062025_09_38_44_10018.jpg
/mnt/data/16062025/09/38/image_16062025_09_38_24_10046.jpg
/mnt/data/16062025/09/30/image_16062025_09_30_15_10118.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_54_10168.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_35_10162.jpg
/mnt/data/16062025/09/29/image_16062025_09_29_25_10161.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.357858896255493 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:40:03.311229
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/39/image_16062025_09_39_44_10126.jpg', 2), ('/mnt/data/16062025/09/39/image_16062025_09_39_34_10001.jpg', 2), ('/mnt/data/16062025/09/39/image_16062025_09_39_24_9960.jpg', 2), ('/mnt/data/16062025/09/39/image_16062025_09_39_14_9919.jpg', 2), ('/mnt/data/16062025/09/38/image_16062025_09_39_04_10162.jpg', 2), ('/mnt/data/16062025/09/38/image_16062025_09_38_54_9912.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/39/image_16062025_09_39_44_10126.jpg', '/mnt/data/16062025/09/39/image_16062025_09_39_34_10001.jpg', '/mnt/data/16062025/09/39/image_16062025_09_39_24_9960.jpg', '/mnt/data/16062025/09/39/image_16062025_09_39_14_9919.jpg', '/mnt/data/16062025/09/38/image_16062025_09_39_04_10162.jpg', '/mnt/data/16062025/09/38/image_16062025_09_38_54_9912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/39/image_16062025_09_39_44_10126.jpg
/mnt/data/16062025/09/39/image_16062025_09_39_34_10001.jpg
/mnt/data/16062025/09/39/image_16062025_09_39_24_9960.jpg
/mnt/data/16062025/09/39/image_16062025_09_39_14_9919.jpg
/mnt/data/16062025/09/38/image_16062025_09_39_04_10162.jpg
/mnt/data/16062025/09/38/image_16062025_09_38_54_9912.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! 
uploaded 0 photos
time to upload: 149.38685202598572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:43:02.853038
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/42/image_16062025_09_43_04_10267.jpg', 2), ('/mnt/data/16062025/09/42/image_16062025_09_42_44_8924.jpg', 2), ('/mnt/data/16062025/09/42/image_16062025_09_42_35_10256.jpg', 2), ('/mnt/data/16062025/09/42/image_16062025_09_42_25_10092.jpg', 2), ('/mnt/data/16062025/09/42/image_16062025_09_42_15_10087.jpg', 2), ('/mnt/data/16062025/09/41/image_16062025_09_42_04_10081.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/42/image_16062025_09_43_04_10267.jpg', '/mnt/data/16062025/09/42/image_16062025_09_42_44_8924.jpg', '/mnt/data/16062025/09/42/image_16062025_09_42_35_10256.jpg', '/mnt/data/16062025/09/42/image_16062025_09_42_25_10092.jpg', '/mnt/data/16062025/09/42/image_16062025_09_42_15_10087.jpg', '/mnt/data/16062025/09/41/image_16062025_09_42_04_10081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/42/image_16062025_09_43_04_10267.jpg
/mnt/data/16062025/09/42/image_16062025_09_42_44_8924.jpg
/mnt/data/16062025/09/42/image_16062025_09_42_35_10256.jpg
/mnt/data/16062025/09/42/image_16062025_09_42_25_10092.jpg
/mnt/data/16062025/09/42/image_16062025_09_42_15_10087.jpg
/mnt/data/16062025/09/41/image_16062025_09_42_04_10081.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20163893699646 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:44:02.731638
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/43/image_16062025_09_43_44_10165.jpg', 2), ('/mnt/data/16062025/09/43/image_16062025_09_43_34_8978.jpg', 2), ('/mnt/data/16062025/09/43/image_16062025_09_43_25_10303.jpg', 2), ('/mnt/data/16062025/09/43/image_16062025_09_43_14_10175.jpg', 2), ('/mnt/data/16062025/09/42/image_16062025_09_43_04_10267.jpg', 2), ('/mnt/data/16062025/09/42/image_16062025_09_42_54_10146.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/43/image_16062025_09_43_44_10165.jpg', '/mnt/data/16062025/09/43/image_16062025_09_43_34_8978.jpg', '/mnt/data/16062025/09/43/image_16062025_09_43_25_10303.jpg', '/mnt/data/16062025/09/43/image_16062025_09_43_14_10175.jpg', '/mnt/data/16062025/09/42/image_16062025_09_43_04_10267.jpg', '/mnt/data/16062025/09/42/image_16062025_09_42_54_10146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/43/image_16062025_09_43_44_10165.jpg
/mnt/data/16062025/09/43/image_16062025_09_43_34_8978.jpg
/mnt/data/16062025/09/43/image_16062025_09_43_25_10303.jpg
/mnt/data/16062025/09/43/image_16062025_09_43_14_10175.jpg
/mnt/data/16062025/09/42/image_16062025_09_43_04_10267.jpg
/mnt/data/16062025/09/42/image_16062025_09_42_54_10146.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20113968849182 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:45:02.772667
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/44/image_16062025_09_44_44_9086.jpg', 2), ('/mnt/data/16062025/09/44/image_16062025_09_44_35_10163.jpg', 2), ('/mnt/data/16062025/09/44/image_16062025_09_44_25_10213.jpg', 2), ('/mnt/data/16062025/09/44/image_16062025_09_44_14_10200.jpg', 2), ('/mnt/data/16062025/09/43/image_16062025_09_44_04_10264.jpg', 2), ('/mnt/data/16062025/09/43/image_16062025_09_43_54_10178.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/44/image_16062025_09_44_44_9086.jpg', '/mnt/data/16062025/09/44/image_16062025_09_44_35_10163.jpg', '/mnt/data/16062025/09/44/image_16062025_09_44_25_10213.jpg', '/mnt/data/16062025/09/44/image_16062025_09_44_14_10200.jpg', '/mnt/data/16062025/09/43/image_16062025_09_44_04_10264.jpg', '/mnt/data/16062025/09/43/image_16062025_09_43_54_10178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/44/image_16062025_09_44_44_9086.jpg
/mnt/data/16062025/09/44/image_16062025_09_44_35_10163.jpg
/mnt/data/16062025/09/44/image_16062025_09_44_25_10213.jpg
/mnt/data/16062025/09/44/image_16062025_09_44_14_10200.jpg
/mnt/data/16062025/09/43/image_16062025_09_44_04_10264.jpg
/mnt/data/16062025/09/43/image_16062025_09_43_54_10178.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23741126060486 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:46:02.853961
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/45/image_16062025_09_45_44_10136.jpg', 2), ('/mnt/data/16062025/09/45/image_16062025_09_45_34_10174.jpg', 2), ('/mnt/data/16062025/09/45/image_16062025_09_45_24_8965.jpg', 2), ('/mnt/data/16062025/09/45/image_16062025_09_45_15_10194.jpg', 2), ('/mnt/data/16062025/09/44/image_16062025_09_45_05_10375.jpg', 2), ('/mnt/data/16062025/09/44/image_16062025_09_44_54_10222.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/45/image_16062025_09_45_44_10136.jpg', '/mnt/data/16062025/09/45/image_16062025_09_45_34_10174.jpg', '/mnt/data/16062025/09/45/image_16062025_09_45_24_8965.jpg', '/mnt/data/16062025/09/45/image_16062025_09_45_15_10194.jpg', '/mnt/data/16062025/09/44/image_16062025_09_45_05_10375.jpg', '/mnt/data/16062025/09/44/image_16062025_09_44_54_10222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/45/image_16062025_09_45_44_10136.jpg
/mnt/data/16062025/09/45/image_16062025_09_45_34_10174.jpg
/mnt/data/16062025/09/45/image_16062025_09_45_24_8965.jpg
/mnt/data/16062025/09/45/image_16062025_09_45_15_10194.jpg
/mnt/data/16062025/09/44/image_16062025_09_45_05_10375.jpg
/mnt/data/16062025/09/44/image_16062025_09_44_54_10222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.64285135269165 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:47:02.832459
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg', 2), ('/mnt/data/16062025/09/45/image_16062025_09_46_05_10367.jpg', 2), ('/mnt/data/16062025/09/45/image_16062025_09_45_54_10267.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg', '/mnt/data/16062025/09/45/image_16062025_09_46_05_10367.jpg', '/mnt/data/16062025/09/45/image_16062025_09_45_54_10267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg
/mnt/data/16062025/09/45/image_16062025_09_46_05_10367.jpg
/mnt/data/16062025/09/45/image_16062025_09_45_54_10267.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.85723423957825 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:48:03.006740
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.85391592979431 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:49:02.915976
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.969407081604004 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:50:02.779751
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_15_10162.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.348050594329834 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:51:03.196585
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.309354066848755 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:52:02.871725
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_25_9947.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.476168155670166 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:53:03.136448
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', 2), ('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', '/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.239415407180786 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:54:03.383709
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', 2), ('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', '/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.68014931678772 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 09:59:03.170399
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', 2), ('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', '/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.04534649848938 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:00:03.184511
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', 2), ('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', '/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.07496929168701 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:01:02.670812
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', 2), ('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', '/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_35_9996.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.332990646362305 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:02:02.508977
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/01/image_16062025_10_01_24_10030.jpg', 2), ('/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', 2), ('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/01/image_16062025_10_01_24_10030.jpg', '/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', '/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/01/image_16062025_10_01_24_10030.jpg
/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_45_9915.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.299516201019287 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:03:02.861342
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/01/image_16062025_10_01_24_10030.jpg', 2), ('/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', 2), ('/mnt/data/16062025/09/50/image_16062025_09_50_14_10025.jpg', 2), ('/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', 2), ('/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/01/image_16062025_10_01_24_10030.jpg', '/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg', '/mnt/data/16062025/09/50/image_16062025_09_50_14_10025.jpg', '/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg', '/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg', '/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/01/image_16062025_10_01_24_10030.jpg
/mnt/data/16062025/09/52/image_16062025_09_52_15_10078.jpg
/mnt/data/16062025/09/50/image_16062025_09_50_14_10025.jpg
/mnt/data/16062025/09/47/image_16062025_09_47_15_9989.jpg
/mnt/data/16062025/09/46/image_16062025_09_47_05_10036.jpg
/mnt/data/16062025/09/46/image_16062025_09_46_55_9906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.05359363555908 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:04:02.994698
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/03/image_16062025_10_03_45_9948.jpg', 2), ('/mnt/data/16062025/10/03/image_16062025_10_03_35_9988.jpg', 2), ('/mnt/data/16062025/10/03/image_16062025_10_03_25_9993.jpg', 2), ('/mnt/data/16062025/10/03/image_16062025_10_03_15_9984.jpg', 2), ('/mnt/data/16062025/10/02/image_16062025_10_03_05_10172.jpg', 2), ('/mnt/data/16062025/10/02/image_16062025_10_02_55_10002.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/03/image_16062025_10_03_45_9948.jpg', '/mnt/data/16062025/10/03/image_16062025_10_03_35_9988.jpg', '/mnt/data/16062025/10/03/image_16062025_10_03_25_9993.jpg', '/mnt/data/16062025/10/03/image_16062025_10_03_15_9984.jpg', '/mnt/data/16062025/10/02/image_16062025_10_03_05_10172.jpg', '/mnt/data/16062025/10/02/image_16062025_10_02_55_10002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/03/image_16062025_10_03_45_9948.jpg
/mnt/data/16062025/10/03/image_16062025_10_03_35_9988.jpg
/mnt/data/16062025/10/03/image_16062025_10_03_25_9993.jpg
/mnt/data/16062025/10/03/image_16062025_10_03_15_9984.jpg
/mnt/data/16062025/10/02/image_16062025_10_03_05_10172.jpg
/mnt/data/16062025/10/02/image_16062025_10_02_55_10002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.229613304138184 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:05:03.363289
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/04/image_16062025_10_04_44_9924.jpg', 2), ('/mnt/data/16062025/10/04/image_16062025_10_04_34_9940.jpg', 2), ('/mnt/data/16062025/10/04/image_16062025_10_04_24_9900.jpg', 2), ('/mnt/data/16062025/10/04/image_16062025_10_04_15_9953.jpg', 2), ('/mnt/data/16062025/10/03/image_16062025_10_04_05_10003.jpg', 2), ('/mnt/data/16062025/10/03/image_16062025_10_03_55_9945.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/04/image_16062025_10_04_44_9924.jpg', '/mnt/data/16062025/10/04/image_16062025_10_04_34_9940.jpg', '/mnt/data/16062025/10/04/image_16062025_10_04_24_9900.jpg', '/mnt/data/16062025/10/04/image_16062025_10_04_15_9953.jpg', '/mnt/data/16062025/10/03/image_16062025_10_04_05_10003.jpg', '/mnt/data/16062025/10/03/image_16062025_10_03_55_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/04/image_16062025_10_04_44_9924.jpg
/mnt/data/16062025/10/04/image_16062025_10_04_34_9940.jpg
/mnt/data/16062025/10/04/image_16062025_10_04_24_9900.jpg
/mnt/data/16062025/10/04/image_16062025_10_04_15_9953.jpg
/mnt/data/16062025/10/03/image_16062025_10_04_05_10003.jpg
/mnt/data/16062025/10/03/image_16062025_10_03_55_9945.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23050594329834 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:06:02.993648
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/05/image_16062025_10_05_45_10160.jpg', 2), ('/mnt/data/16062025/10/05/image_16062025_10_05_35_10031.jpg', 2), ('/mnt/data/16062025/10/05/image_16062025_10_05_25_10084.jpg', 2), ('/mnt/data/16062025/10/05/image_16062025_10_05_14_10028.jpg', 2), ('/mnt/data/16062025/10/04/image_16062025_10_05_04_10188.jpg', 2), ('/mnt/data/16062025/10/04/image_16062025_10_04_54_9941.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/05/image_16062025_10_05_45_10160.jpg', '/mnt/data/16062025/10/05/image_16062025_10_05_35_10031.jpg', '/mnt/data/16062025/10/05/image_16062025_10_05_25_10084.jpg', '/mnt/data/16062025/10/05/image_16062025_10_05_14_10028.jpg', '/mnt/data/16062025/10/04/image_16062025_10_05_04_10188.jpg', '/mnt/data/16062025/10/04/image_16062025_10_04_54_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/05/image_16062025_10_05_45_10160.jpg
/mnt/data/16062025/10/05/image_16062025_10_05_35_10031.jpg
/mnt/data/16062025/10/05/image_16062025_10_05_25_10084.jpg
/mnt/data/16062025/10/05/image_16062025_10_05_14_10028.jpg
/mnt/data/16062025/10/04/image_16062025_10_05_04_10188.jpg
/mnt/data/16062025/10/04/image_16062025_10_04_54_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.35218071937561 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:07:03.259011
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/06/image_16062025_10_06_44_8957.jpg', 2), ('/mnt/data/16062025/10/06/image_16062025_10_06_35_10171.jpg', 2), ('/mnt/data/16062025/10/06/image_16062025_10_06_25_10183.jpg', 2), ('/mnt/data/16062025/10/06/image_16062025_10_06_14_10151.jpg', 2), ('/mnt/data/16062025/10/05/image_16062025_10_06_04_10530.jpg', 2), ('/mnt/data/16062025/10/05/image_16062025_10_05_54_8914.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/06/image_16062025_10_06_44_8957.jpg', '/mnt/data/16062025/10/06/image_16062025_10_06_35_10171.jpg', '/mnt/data/16062025/10/06/image_16062025_10_06_25_10183.jpg', '/mnt/data/16062025/10/06/image_16062025_10_06_14_10151.jpg', '/mnt/data/16062025/10/05/image_16062025_10_06_04_10530.jpg', '/mnt/data/16062025/10/05/image_16062025_10_05_54_8914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/06/image_16062025_10_06_44_8957.jpg
/mnt/data/16062025/10/06/image_16062025_10_06_35_10171.jpg
/mnt/data/16062025/10/06/image_16062025_10_06_25_10183.jpg
/mnt/data/16062025/10/06/image_16062025_10_06_14_10151.jpg
/mnt/data/16062025/10/05/image_16062025_10_06_04_10530.jpg
/mnt/data/16062025/10/05/image_16062025_10_05_54_8914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.65681767463684 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:08:03.018205
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/07/image_16062025_10_07_45_9959.jpg', 2), ('/mnt/data/16062025/10/07/image_16062025_10_07_35_10226.jpg', 2), ('/mnt/data/16062025/10/07/image_16062025_10_07_24_9966.jpg', 2), ('/mnt/data/16062025/10/07/image_16062025_10_07_14_10124.jpg', 2), ('/mnt/data/16062025/10/06/image_16062025_10_07_04_10364.jpg', 2), ('/mnt/data/16062025/10/06/image_16062025_10_06_54_10253.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/07/image_16062025_10_07_45_9959.jpg', '/mnt/data/16062025/10/07/image_16062025_10_07_35_10226.jpg', '/mnt/data/16062025/10/07/image_16062025_10_07_24_9966.jpg', '/mnt/data/16062025/10/07/image_16062025_10_07_14_10124.jpg', '/mnt/data/16062025/10/06/image_16062025_10_07_04_10364.jpg', '/mnt/data/16062025/10/06/image_16062025_10_06_54_10253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/07/image_16062025_10_07_45_9959.jpg
/mnt/data/16062025/10/07/image_16062025_10_07_35_10226.jpg
/mnt/data/16062025/10/07/image_16062025_10_07_24_9966.jpg
/mnt/data/16062025/10/07/image_16062025_10_07_14_10124.jpg
/mnt/data/16062025/10/06/image_16062025_10_07_04_10364.jpg
/mnt/data/16062025/10/06/image_16062025_10_06_54_10253.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.72087049484253 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:09:03.576524
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/08/image_16062025_10_08_45_9955.jpg', 2), ('/mnt/data/16062025/10/08/image_16062025_10_08_35_9962.jpg', 2), ('/mnt/data/16062025/10/08/image_16062025_10_08_25_9944.jpg', 2), ('/mnt/data/16062025/10/08/image_16062025_10_08_15_11155.jpg', 2), ('/mnt/data/16062025/10/07/image_16062025_10_08_04_9137.jpg', 2), ('/mnt/data/16062025/10/07/image_16062025_10_07_55_9976.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/08/image_16062025_10_08_45_9955.jpg', '/mnt/data/16062025/10/08/image_16062025_10_08_35_9962.jpg', '/mnt/data/16062025/10/08/image_16062025_10_08_25_9944.jpg', '/mnt/data/16062025/10/08/image_16062025_10_08_15_11155.jpg', '/mnt/data/16062025/10/07/image_16062025_10_08_04_9137.jpg', '/mnt/data/16062025/10/07/image_16062025_10_07_55_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/08/image_16062025_10_08_45_9955.jpg
/mnt/data/16062025/10/08/image_16062025_10_08_35_9962.jpg
/mnt/data/16062025/10/08/image_16062025_10_08_25_9944.jpg
/mnt/data/16062025/10/08/image_16062025_10_08_15_11155.jpg
/mnt/data/16062025/10/07/image_16062025_10_08_04_9137.jpg
/mnt/data/16062025/10/07/image_16062025_10_07_55_9976.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.21527028083801 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:10:03.256961
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/10/image_16062025_10_10_34_10032.jpg', 2), ('/mnt/data/16062025/10/09/image_16062025_10_09_45_9976.jpg', 2), ('/mnt/data/16062025/10/09/image_16062025_10_09_35_9913.jpg', 2), ('/mnt/data/16062025/10/09/image_16062025_10_09_25_9910.jpg', 2), ('/mnt/data/16062025/10/09/image_16062025_10_09_15_9941.jpg', 2), ('/mnt/data/16062025/10/08/image_16062025_10_09_05_10190.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/10/image_16062025_10_10_34_10032.jpg', '/mnt/data/16062025/10/09/image_16062025_10_09_45_9976.jpg', '/mnt/data/16062025/10/09/image_16062025_10_09_35_9913.jpg', '/mnt/data/16062025/10/09/image_16062025_10_09_25_9910.jpg', '/mnt/data/16062025/10/09/image_16062025_10_09_15_9941.jpg', '/mnt/data/16062025/10/08/image_16062025_10_09_05_10190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/10/image_16062025_10_10_34_10032.jpg
/mnt/data/16062025/10/09/image_16062025_10_09_45_9976.jpg
/mnt/data/16062025/10/09/image_16062025_10_09_35_9913.jpg
/mnt/data/16062025/10/09/image_16062025_10_09_25_9910.jpg
/mnt/data/16062025/10/09/image_16062025_10_09_15_9941.jpg
/mnt/data/16062025/10/08/image_16062025_10_09_05_10190.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.53245258331299 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:11:02.655457
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/10/image_16062025_10_10_44_10072.jpg', 2), ('/mnt/data/16062025/10/10/image_16062025_10_10_34_10032.jpg', 2), ('/mnt/data/16062025/10/10/image_16062025_10_10_24_10040.jpg', 2), ('/mnt/data/16062025/10/10/image_16062025_10_10_14_10064.jpg', 2), ('/mnt/data/16062025/10/09/image_16062025_10_10_04_9178.jpg', 2), ('/mnt/data/16062025/10/09/image_16062025_10_09_55_9992.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/10/image_16062025_10_10_44_10072.jpg', '/mnt/data/16062025/10/10/image_16062025_10_10_34_10032.jpg', '/mnt/data/16062025/10/10/image_16062025_10_10_24_10040.jpg', '/mnt/data/16062025/10/10/image_16062025_10_10_14_10064.jpg', '/mnt/data/16062025/10/09/image_16062025_10_10_04_9178.jpg', '/mnt/data/16062025/10/09/image_16062025_10_09_55_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/10/image_16062025_10_10_44_10072.jpg
/mnt/data/16062025/10/10/image_16062025_10_10_34_10032.jpg
/mnt/data/16062025/10/10/image_16062025_10_10_24_10040.jpg
/mnt/data/16062025/10/10/image_16062025_10_10_14_10064.jpg
/mnt/data/16062025/10/09/image_16062025_10_10_04_9178.jpg
/mnt/data/16062025/10/09/image_16062025_10_09_55_9992.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.65952157974243 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:12:02.601607
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/11/image_16062025_10_11_44_9929.jpg', 2), ('/mnt/data/16062025/10/11/image_16062025_10_11_34_9950.jpg', 2), ('/mnt/data/16062025/10/11/image_16062025_10_11_24_9954.jpg', 2), ('/mnt/data/16062025/10/11/image_16062025_10_11_14_9986.jpg', 2), ('/mnt/data/16062025/10/10/image_16062025_10_11_04_10150.jpg', 2), ('/mnt/data/16062025/10/10/image_16062025_10_10_54_10082.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/11/image_16062025_10_11_44_9929.jpg', '/mnt/data/16062025/10/11/image_16062025_10_11_34_9950.jpg', '/mnt/data/16062025/10/11/image_16062025_10_11_24_9954.jpg', '/mnt/data/16062025/10/11/image_16062025_10_11_14_9986.jpg', '/mnt/data/16062025/10/10/image_16062025_10_11_04_10150.jpg', '/mnt/data/16062025/10/10/image_16062025_10_10_54_10082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/11/image_16062025_10_11_44_9929.jpg
/mnt/data/16062025/10/11/image_16062025_10_11_34_9950.jpg
/mnt/data/16062025/10/11/image_16062025_10_11_24_9954.jpg
/mnt/data/16062025/10/11/image_16062025_10_11_14_9986.jpg
/mnt/data/16062025/10/10/image_16062025_10_11_04_10150.jpg
/mnt/data/16062025/10/10/image_16062025_10_10_54_10082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.237950086593628 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:13:02.857714
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/12/image_16062025_10_12_44_9963.jpg', 2), ('/mnt/data/16062025/10/12/image_16062025_10_12_34_9996.jpg', 2), ('/mnt/data/16062025/10/12/image_16062025_10_12_24_9991.jpg', 2), ('/mnt/data/16062025/10/12/image_16062025_10_12_14_9961.jpg', 2), ('/mnt/data/16062025/10/11/image_16062025_10_12_04_10222.jpg', 2), ('/mnt/data/16062025/10/11/image_16062025_10_11_54_9925.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/12/image_16062025_10_12_44_9963.jpg', '/mnt/data/16062025/10/12/image_16062025_10_12_34_9996.jpg', '/mnt/data/16062025/10/12/image_16062025_10_12_24_9991.jpg', '/mnt/data/16062025/10/12/image_16062025_10_12_14_9961.jpg', '/mnt/data/16062025/10/11/image_16062025_10_12_04_10222.jpg', '/mnt/data/16062025/10/11/image_16062025_10_11_54_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/12/image_16062025_10_12_44_9963.jpg
/mnt/data/16062025/10/12/image_16062025_10_12_34_9996.jpg
/mnt/data/16062025/10/12/image_16062025_10_12_24_9991.jpg
/mnt/data/16062025/10/12/image_16062025_10_12_14_9961.jpg
/mnt/data/16062025/10/11/image_16062025_10_12_04_10222.jpg
/mnt/data/16062025/10/11/image_16062025_10_11_54_9925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.382642030715942 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:14:03.051066
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/13/image_16062025_10_13_45_10123.jpg', 2), ('/mnt/data/16062025/10/13/image_16062025_10_13_34_10127.jpg', 2), ('/mnt/data/16062025/10/13/image_16062025_10_13_24_10141.jpg', 2), ('/mnt/data/16062025/10/13/image_16062025_10_13_14_9997.jpg', 2), ('/mnt/data/16062025/10/12/image_16062025_10_13_04_10204.jpg', 2), ('/mnt/data/16062025/10/12/image_16062025_10_12_54_9977.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/13/image_16062025_10_13_45_10123.jpg', '/mnt/data/16062025/10/13/image_16062025_10_13_34_10127.jpg', '/mnt/data/16062025/10/13/image_16062025_10_13_24_10141.jpg', '/mnt/data/16062025/10/13/image_16062025_10_13_14_9997.jpg', '/mnt/data/16062025/10/12/image_16062025_10_13_04_10204.jpg', '/mnt/data/16062025/10/12/image_16062025_10_12_54_9977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/13/image_16062025_10_13_45_10123.jpg
/mnt/data/16062025/10/13/image_16062025_10_13_34_10127.jpg
/mnt/data/16062025/10/13/image_16062025_10_13_24_10141.jpg
/mnt/data/16062025/10/13/image_16062025_10_13_14_9997.jpg
/mnt/data/16062025/10/12/image_16062025_10_13_04_10204.jpg
/mnt/data/16062025/10/12/image_16062025_10_12_54_9977.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.545900344848633 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:15:03.170300
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/14/image_16062025_10_14_44_10148.jpg', 2), ('/mnt/data/16062025/10/14/image_16062025_10_14_34_9961.jpg', 2), ('/mnt/data/16062025/10/14/image_16062025_10_14_24_10274.jpg', 2), ('/mnt/data/16062025/10/14/image_16062025_10_14_14_10201.jpg', 2), ('/mnt/data/16062025/10/13/image_16062025_10_14_04_9275.jpg', 2), ('/mnt/data/16062025/10/13/image_16062025_10_13_55_9966.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/14/image_16062025_10_14_44_10148.jpg', '/mnt/data/16062025/10/14/image_16062025_10_14_34_9961.jpg', '/mnt/data/16062025/10/14/image_16062025_10_14_24_10274.jpg', '/mnt/data/16062025/10/14/image_16062025_10_14_14_10201.jpg', '/mnt/data/16062025/10/13/image_16062025_10_14_04_9275.jpg', '/mnt/data/16062025/10/13/image_16062025_10_13_55_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/14/image_16062025_10_14_44_10148.jpg
/mnt/data/16062025/10/14/image_16062025_10_14_34_9961.jpg
/mnt/data/16062025/10/14/image_16062025_10_14_24_10274.jpg
/mnt/data/16062025/10/14/image_16062025_10_14_14_10201.jpg
/mnt/data/16062025/10/13/image_16062025_10_14_04_9275.jpg
/mnt/data/16062025/10/13/image_16062025_10_13_55_9966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.35347628593445 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:16:03.109389
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/15/image_16062025_10_15_44_10155.jpg', 2), ('/mnt/data/16062025/10/15/image_16062025_10_15_34_9916.jpg', 2), ('/mnt/data/16062025/10/15/image_16062025_10_15_24_10081.jpg', 2), ('/mnt/data/16062025/10/15/image_16062025_10_15_14_9093.jpg', 2), ('/mnt/data/16062025/10/14/image_16062025_10_15_05_10334.jpg', 2), ('/mnt/data/16062025/10/14/image_16062025_10_14_54_9937.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/15/image_16062025_10_15_44_10155.jpg', '/mnt/data/16062025/10/15/image_16062025_10_15_34_9916.jpg', '/mnt/data/16062025/10/15/image_16062025_10_15_24_10081.jpg', '/mnt/data/16062025/10/15/image_16062025_10_15_14_9093.jpg', '/mnt/data/16062025/10/14/image_16062025_10_15_05_10334.jpg', '/mnt/data/16062025/10/14/image_16062025_10_14_54_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/15/image_16062025_10_15_44_10155.jpg
/mnt/data/16062025/10/15/image_16062025_10_15_34_9916.jpg
/mnt/data/16062025/10/15/image_16062025_10_15_24_10081.jpg
/mnt/data/16062025/10/15/image_16062025_10_15_14_9093.jpg
/mnt/data/16062025/10/14/image_16062025_10_15_05_10334.jpg
/mnt/data/16062025/10/14/image_16062025_10_14_54_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.011348724365234 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:17:03.357019
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/16/image_16062025_10_16_44_9004.jpg', 2), ('/mnt/data/16062025/10/16/image_16062025_10_16_35_9924.jpg', 2), ('/mnt/data/16062025/10/16/image_16062025_10_16_25_9971.jpg', 2), ('/mnt/data/16062025/10/16/image_16062025_10_16_15_10201.jpg', 2), ('/mnt/data/16062025/10/15/image_16062025_10_15_54_9947.jpg', 2), ('/mnt/data/16062025/10/15/image_16062025_10_15_44_10155.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/16/image_16062025_10_16_44_9004.jpg', '/mnt/data/16062025/10/16/image_16062025_10_16_35_9924.jpg', '/mnt/data/16062025/10/16/image_16062025_10_16_25_9971.jpg', '/mnt/data/16062025/10/16/image_16062025_10_16_15_10201.jpg', '/mnt/data/16062025/10/15/image_16062025_10_15_54_9947.jpg', '/mnt/data/16062025/10/15/image_16062025_10_15_44_10155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/16/image_16062025_10_16_44_9004.jpg
/mnt/data/16062025/10/16/image_16062025_10_16_35_9924.jpg
/mnt/data/16062025/10/16/image_16062025_10_16_25_9971.jpg
/mnt/data/16062025/10/16/image_16062025_10_16_15_10201.jpg
/mnt/data/16062025/10/15/image_16062025_10_15_54_9947.jpg
/mnt/data/16062025/10/15/image_16062025_10_15_44_10155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.27241086959839 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:18:03.377987
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/17/image_16062025_10_17_44_9937.jpg', 2), ('/mnt/data/16062025/10/17/image_16062025_10_17_34_9977.jpg', 2), ('/mnt/data/16062025/10/17/image_16062025_10_17_24_9985.jpg', 2), ('/mnt/data/16062025/10/17/image_16062025_10_17_15_10048.jpg', 2), ('/mnt/data/16062025/10/16/image_16062025_10_17_04_10224.jpg', 2), ('/mnt/data/16062025/10/16/image_16062025_10_16_54_10551.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/17/image_16062025_10_17_44_9937.jpg', '/mnt/data/16062025/10/17/image_16062025_10_17_34_9977.jpg', '/mnt/data/16062025/10/17/image_16062025_10_17_24_9985.jpg', '/mnt/data/16062025/10/17/image_16062025_10_17_15_10048.jpg', '/mnt/data/16062025/10/16/image_16062025_10_17_04_10224.jpg', '/mnt/data/16062025/10/16/image_16062025_10_16_54_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/17/image_16062025_10_17_44_9937.jpg
/mnt/data/16062025/10/17/image_16062025_10_17_34_9977.jpg
/mnt/data/16062025/10/17/image_16062025_10_17_24_9985.jpg
/mnt/data/16062025/10/17/image_16062025_10_17_15_10048.jpg
/mnt/data/16062025/10/16/image_16062025_10_17_04_10224.jpg
/mnt/data/16062025/10/16/image_16062025_10_16_54_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2031831741333 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:19:02.632366
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/19/image_16062025_10_19_44_9979.jpg', 2), ('/mnt/data/16062025/10/18/image_16062025_10_18_44_9944.jpg', 2), ('/mnt/data/16062025/10/18/image_16062025_10_18_34_9950.jpg', 2), ('/mnt/data/16062025/10/18/image_16062025_10_18_24_9961.jpg', 2), ('/mnt/data/16062025/10/18/image_16062025_10_18_15_9979.jpg', 2), ('/mnt/data/16062025/10/17/image_16062025_10_18_05_10159.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/19/image_16062025_10_19_44_9979.jpg', '/mnt/data/16062025/10/18/image_16062025_10_18_44_9944.jpg', '/mnt/data/16062025/10/18/image_16062025_10_18_34_9950.jpg', '/mnt/data/16062025/10/18/image_16062025_10_18_24_9961.jpg', '/mnt/data/16062025/10/18/image_16062025_10_18_15_9979.jpg', '/mnt/data/16062025/10/17/image_16062025_10_18_05_10159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/19/image_16062025_10_19_44_9979.jpg
/mnt/data/16062025/10/18/image_16062025_10_18_44_9944.jpg
/mnt/data/16062025/10/18/image_16062025_10_18_34_9950.jpg
/mnt/data/16062025/10/18/image_16062025_10_18_24_9961.jpg
/mnt/data/16062025/10/18/image_16062025_10_18_15_9979.jpg
/mnt/data/16062025/10/17/image_16062025_10_18_05_10159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.827441215515137 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:20:02.518344
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/19/image_16062025_10_19_44_9979.jpg', 2), ('/mnt/data/16062025/10/19/image_16062025_10_19_34_9912.jpg', 2), ('/mnt/data/16062025/10/19/image_16062025_10_19_24_9895.jpg', 2), ('/mnt/data/16062025/10/19/image_16062025_10_19_14_9951.jpg', 2), ('/mnt/data/16062025/10/18/image_16062025_10_19_04_10114.jpg', 2), ('/mnt/data/16062025/10/18/image_16062025_10_18_54_9968.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/19/image_16062025_10_19_44_9979.jpg', '/mnt/data/16062025/10/19/image_16062025_10_19_34_9912.jpg', '/mnt/data/16062025/10/19/image_16062025_10_19_24_9895.jpg', '/mnt/data/16062025/10/19/image_16062025_10_19_14_9951.jpg', '/mnt/data/16062025/10/18/image_16062025_10_19_04_10114.jpg', '/mnt/data/16062025/10/18/image_16062025_10_18_54_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/19/image_16062025_10_19_44_9979.jpg
/mnt/data/16062025/10/19/image_16062025_10_19_34_9912.jpg
/mnt/data/16062025/10/19/image_16062025_10_19_24_9895.jpg
/mnt/data/16062025/10/19/image_16062025_10_19_14_9951.jpg
/mnt/data/16062025/10/18/image_16062025_10_19_04_10114.jpg
/mnt/data/16062025/10/18/image_16062025_10_18_54_9968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.309494495391846 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:21:02.916797
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/20/image_16062025_10_20_44_10245.jpg', 2), ('/mnt/data/16062025/10/20/image_16062025_10_20_34_10279.jpg', 2), ('/mnt/data/16062025/10/20/image_16062025_10_20_24_10139.jpg', 2), ('/mnt/data/16062025/10/20/image_16062025_10_20_14_8948.jpg', 2), ('/mnt/data/16062025/10/19/image_16062025_10_20_05_10441.jpg', 2), ('/mnt/data/16062025/10/19/image_16062025_10_19_54_10185.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/20/image_16062025_10_20_44_10245.jpg', '/mnt/data/16062025/10/20/image_16062025_10_20_34_10279.jpg', '/mnt/data/16062025/10/20/image_16062025_10_20_24_10139.jpg', '/mnt/data/16062025/10/20/image_16062025_10_20_14_8948.jpg', '/mnt/data/16062025/10/19/image_16062025_10_20_05_10441.jpg', '/mnt/data/16062025/10/19/image_16062025_10_19_54_10185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/20/image_16062025_10_20_44_10245.jpg
/mnt/data/16062025/10/20/image_16062025_10_20_34_10279.jpg
/mnt/data/16062025/10/20/image_16062025_10_20_24_10139.jpg
/mnt/data/16062025/10/20/image_16062025_10_20_14_8948.jpg
/mnt/data/16062025/10/19/image_16062025_10_20_05_10441.jpg
/mnt/data/16062025/10/19/image_16062025_10_19_54_10185.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.932697057724 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:22:02.776840
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/21/image_16062025_10_21_44_9918.jpg', 2), ('/mnt/data/16062025/10/21/image_16062025_10_21_34_10199.jpg', 2), ('/mnt/data/16062025/10/21/image_16062025_10_21_24_10287.jpg', 2), ('/mnt/data/16062025/10/21/image_16062025_10_21_14_10168.jpg', 2), ('/mnt/data/16062025/10/20/image_16062025_10_21_04_9243.jpg', 2), ('/mnt/data/16062025/10/20/image_16062025_10_20_55_10145.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/21/image_16062025_10_21_44_9918.jpg', '/mnt/data/16062025/10/21/image_16062025_10_21_34_10199.jpg', '/mnt/data/16062025/10/21/image_16062025_10_21_24_10287.jpg', '/mnt/data/16062025/10/21/image_16062025_10_21_14_10168.jpg', '/mnt/data/16062025/10/20/image_16062025_10_21_04_9243.jpg', '/mnt/data/16062025/10/20/image_16062025_10_20_55_10145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/21/image_16062025_10_21_44_9918.jpg
/mnt/data/16062025/10/21/image_16062025_10_21_34_10199.jpg
/mnt/data/16062025/10/21/image_16062025_10_21_24_10287.jpg
/mnt/data/16062025/10/21/image_16062025_10_21_14_10168.jpg
/mnt/data/16062025/10/20/image_16062025_10_21_04_9243.jpg
/mnt/data/16062025/10/20/image_16062025_10_20_55_10145.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.630545377731323 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:23:03.067663
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/22/image_16062025_10_22_44_9045.jpg', 2), ('/mnt/data/16062025/10/22/image_16062025_10_22_35_10154.jpg', 2), ('/mnt/data/16062025/10/22/image_16062025_10_22_24_10230.jpg', 2), ('/mnt/data/16062025/10/22/image_16062025_10_22_14_10214.jpg', 2), ('/mnt/data/16062025/10/21/image_16062025_10_21_55_10140.jpg', 2), ('/mnt/data/16062025/10/21/image_16062025_10_21_44_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/22/image_16062025_10_22_44_9045.jpg', '/mnt/data/16062025/10/22/image_16062025_10_22_35_10154.jpg', '/mnt/data/16062025/10/22/image_16062025_10_22_24_10230.jpg', '/mnt/data/16062025/10/22/image_16062025_10_22_14_10214.jpg', '/mnt/data/16062025/10/21/image_16062025_10_21_55_10140.jpg', '/mnt/data/16062025/10/21/image_16062025_10_21_44_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/22/image_16062025_10_22_44_9045.jpg
/mnt/data/16062025/10/22/image_16062025_10_22_35_10154.jpg
/mnt/data/16062025/10/22/image_16062025_10_22_24_10230.jpg
/mnt/data/16062025/10/22/image_16062025_10_22_14_10214.jpg
/mnt/data/16062025/10/21/image_16062025_10_21_55_10140.jpg
/mnt/data/16062025/10/21/image_16062025_10_21_44_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21488642692566 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:24:03.097186
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/23/image_16062025_10_23_44_9926.jpg', 2), ('/mnt/data/16062025/10/23/image_16062025_10_23_35_9918.jpg', 2), ('/mnt/data/16062025/10/23/image_16062025_10_23_25_10172.jpg', 2), ('/mnt/data/16062025/10/23/image_16062025_10_23_14_10216.jpg', 2), ('/mnt/data/16062025/10/22/image_16062025_10_23_04_10386.jpg', 2), ('/mnt/data/16062025/10/22/image_16062025_10_22_54_10187.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/23/image_16062025_10_23_44_9926.jpg', '/mnt/data/16062025/10/23/image_16062025_10_23_35_9918.jpg', '/mnt/data/16062025/10/23/image_16062025_10_23_25_10172.jpg', '/mnt/data/16062025/10/23/image_16062025_10_23_14_10216.jpg', '/mnt/data/16062025/10/22/image_16062025_10_23_04_10386.jpg', '/mnt/data/16062025/10/22/image_16062025_10_22_54_10187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/23/image_16062025_10_23_44_9926.jpg
/mnt/data/16062025/10/23/image_16062025_10_23_35_9918.jpg
/mnt/data/16062025/10/23/image_16062025_10_23_25_10172.jpg
/mnt/data/16062025/10/23/image_16062025_10_23_14_10216.jpg
/mnt/data/16062025/10/22/image_16062025_10_23_04_10386.jpg
/mnt/data/16062025/10/22/image_16062025_10_22_54_10187.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.33676266670227 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:25:03.206332
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/24/image_16062025_10_24_44_9893.jpg', 2), ('/mnt/data/16062025/10/24/image_16062025_10_24_34_9916.jpg', 2), ('/mnt/data/16062025/10/24/image_16062025_10_24_24_9919.jpg', 2), ('/mnt/data/16062025/10/24/image_16062025_10_24_15_9949.jpg', 2), ('/mnt/data/16062025/10/23/image_16062025_10_24_05_10204.jpg', 2), ('/mnt/data/16062025/10/23/image_16062025_10_23_54_9952.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/24/image_16062025_10_24_44_9893.jpg', '/mnt/data/16062025/10/24/image_16062025_10_24_34_9916.jpg', '/mnt/data/16062025/10/24/image_16062025_10_24_24_9919.jpg', '/mnt/data/16062025/10/24/image_16062025_10_24_15_9949.jpg', '/mnt/data/16062025/10/23/image_16062025_10_24_05_10204.jpg', '/mnt/data/16062025/10/23/image_16062025_10_23_54_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/24/image_16062025_10_24_44_9893.jpg
/mnt/data/16062025/10/24/image_16062025_10_24_34_9916.jpg
/mnt/data/16062025/10/24/image_16062025_10_24_24_9919.jpg
/mnt/data/16062025/10/24/image_16062025_10_24_15_9949.jpg
/mnt/data/16062025/10/23/image_16062025_10_24_05_10204.jpg
/mnt/data/16062025/10/23/image_16062025_10_23_54_9952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.363595962524414 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:26:03.227130
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/25/image_16062025_10_25_44_9965.jpg', 2), ('/mnt/data/16062025/10/25/image_16062025_10_25_34_9966.jpg', 2), ('/mnt/data/16062025/10/25/image_16062025_10_25_24_9940.jpg', 2), ('/mnt/data/16062025/10/25/image_16062025_10_25_14_10015.jpg', 2), ('/mnt/data/16062025/10/24/image_16062025_10_25_04_10229.jpg', 2), ('/mnt/data/16062025/10/24/image_16062025_10_24_54_9904.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/25/image_16062025_10_25_44_9965.jpg', '/mnt/data/16062025/10/25/image_16062025_10_25_34_9966.jpg', '/mnt/data/16062025/10/25/image_16062025_10_25_24_9940.jpg', '/mnt/data/16062025/10/25/image_16062025_10_25_14_10015.jpg', '/mnt/data/16062025/10/24/image_16062025_10_25_04_10229.jpg', '/mnt/data/16062025/10/24/image_16062025_10_24_54_9904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/25/image_16062025_10_25_44_9965.jpg
/mnt/data/16062025/10/25/image_16062025_10_25_34_9966.jpg
/mnt/data/16062025/10/25/image_16062025_10_25_24_9940.jpg
/mnt/data/16062025/10/25/image_16062025_10_25_14_10015.jpg
/mnt/data/16062025/10/24/image_16062025_10_25_04_10229.jpg
/mnt/data/16062025/10/24/image_16062025_10_24_54_9904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.240623950958252 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:27:03.503901
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/26/image_16062025_10_26_44_10009.jpg', 2), ('/mnt/data/16062025/10/26/image_16062025_10_26_34_10255.jpg', 2), ('/mnt/data/16062025/10/26/image_16062025_10_26_24_9000.jpg', 2), ('/mnt/data/16062025/10/26/image_16062025_10_26_15_10000.jpg', 2), ('/mnt/data/16062025/10/25/image_16062025_10_26_05_10337.jpg', 2), ('/mnt/data/16062025/10/25/image_16062025_10_25_54_10150.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/26/image_16062025_10_26_44_10009.jpg', '/mnt/data/16062025/10/26/image_16062025_10_26_34_10255.jpg', '/mnt/data/16062025/10/26/image_16062025_10_26_24_9000.jpg', '/mnt/data/16062025/10/26/image_16062025_10_26_15_10000.jpg', '/mnt/data/16062025/10/25/image_16062025_10_26_05_10337.jpg', '/mnt/data/16062025/10/25/image_16062025_10_25_54_10150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/26/image_16062025_10_26_44_10009.jpg
/mnt/data/16062025/10/26/image_16062025_10_26_34_10255.jpg
/mnt/data/16062025/10/26/image_16062025_10_26_24_9000.jpg
/mnt/data/16062025/10/26/image_16062025_10_26_15_10000.jpg
/mnt/data/16062025/10/25/image_16062025_10_26_05_10337.jpg
/mnt/data/16062025/10/25/image_16062025_10_25_54_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.483627319335938 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:28:02.164287
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/27/image_16062025_10_27_44_10196.jpg', 2), ('/mnt/data/16062025/10/27/image_16062025_10_27_34_10069.jpg', 2), ('/mnt/data/16062025/10/27/image_16062025_10_27_24_8983.jpg', 2), ('/mnt/data/16062025/10/27/image_16062025_10_27_15_10102.jpg', 2), ('/mnt/data/16062025/10/26/image_16062025_10_27_05_10417.jpg', 2), ('/mnt/data/16062025/10/26/image_16062025_10_26_54_10249.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/27/image_16062025_10_27_44_10196.jpg', '/mnt/data/16062025/10/27/image_16062025_10_27_34_10069.jpg', '/mnt/data/16062025/10/27/image_16062025_10_27_24_8983.jpg', '/mnt/data/16062025/10/27/image_16062025_10_27_15_10102.jpg', '/mnt/data/16062025/10/26/image_16062025_10_27_05_10417.jpg', '/mnt/data/16062025/10/26/image_16062025_10_26_54_10249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/27/image_16062025_10_27_44_10196.jpg
/mnt/data/16062025/10/27/image_16062025_10_27_34_10069.jpg
/mnt/data/16062025/10/27/image_16062025_10_27_24_8983.jpg
/mnt/data/16062025/10/27/image_16062025_10_27_15_10102.jpg
/mnt/data/16062025/10/26/image_16062025_10_27_05_10417.jpg
/mnt/data/16062025/10/26/image_16062025_10_26_54_10249.jpg
uploaded 0 photos
time to upload: 31.04167604446411 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:29:03.555478
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/28/image_16062025_10_28_54_9910.jpg', 2), ('/mnt/data/16062025/10/27/image_16062025_10_27_44_10196.jpg', 2), ('/mnt/data/16062025/10/27/image_16062025_10_27_34_10069.jpg', 2), ('/mnt/data/16062025/10/27/image_16062025_10_27_24_8983.jpg', 2), ('/mnt/data/16062025/10/27/image_16062025_10_27_15_10102.jpg', 2), ('/mnt/data/16062025/10/26/image_16062025_10_27_05_10417.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/28/image_16062025_10_28_54_9910.jpg', '/mnt/data/16062025/10/27/image_16062025_10_27_44_10196.jpg', '/mnt/data/16062025/10/27/image_16062025_10_27_34_10069.jpg', '/mnt/data/16062025/10/27/image_16062025_10_27_24_8983.jpg', '/mnt/data/16062025/10/27/image_16062025_10_27_15_10102.jpg', '/mnt/data/16062025/10/26/image_16062025_10_27_05_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/28/image_16062025_10_28_54_9910.jpg
/mnt/data/16062025/10/27/image_16062025_10_27_44_10196.jpg
/mnt/data/16062025/10/27/image_16062025_10_27_34_10069.jpg
/mnt/data/16062025/10/27/image_16062025_10_27_24_8983.jpg
/mnt/data/16062025/10/27/image_16062025_10_27_15_10102.jpg
/mnt/data/16062025/10/26/image_16062025_10_27_05_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 35.12655687332153 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:30:02.368038
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/29/image_16062025_10_29_44_9964.jpg', 2), ('/mnt/data/16062025/10/29/image_16062025_10_29_34_9953.jpg', 2), ('/mnt/data/16062025/10/29/image_16062025_10_29_24_9931.jpg', 2), ('/mnt/data/16062025/10/29/image_16062025_10_29_14_9942.jpg', 2), ('/mnt/data/16062025/10/28/image_16062025_10_29_04_9994.jpg', 2), ('/mnt/data/16062025/10/28/image_16062025_10_28_54_9910.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/29/image_16062025_10_29_44_9964.jpg', '/mnt/data/16062025/10/29/image_16062025_10_29_34_9953.jpg', '/mnt/data/16062025/10/29/image_16062025_10_29_24_9931.jpg', '/mnt/data/16062025/10/29/image_16062025_10_29_14_9942.jpg', '/mnt/data/16062025/10/28/image_16062025_10_29_04_9994.jpg', '/mnt/data/16062025/10/28/image_16062025_10_28_54_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/29/image_16062025_10_29_44_9964.jpg
/mnt/data/16062025/10/29/image_16062025_10_29_34_9953.jpg
/mnt/data/16062025/10/29/image_16062025_10_29_24_9931.jpg
/mnt/data/16062025/10/29/image_16062025_10_29_14_9942.jpg
/mnt/data/16062025/10/28/image_16062025_10_29_04_9994.jpg
/mnt/data/16062025/10/28/image_16062025_10_28_54_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.54570484161377 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:31:02.814939
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/30/image_16062025_10_30_44_9958.jpg', 2), ('/mnt/data/16062025/10/30/image_16062025_10_30_34_9935.jpg', 2), ('/mnt/data/16062025/10/30/image_16062025_10_30_24_9969.jpg', 2), ('/mnt/data/16062025/10/30/image_16062025_10_30_14_9975.jpg', 2), ('/mnt/data/16062025/10/29/image_16062025_10_30_04_10148.jpg', 2), ('/mnt/data/16062025/10/29/image_16062025_10_29_54_10001.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/30/image_16062025_10_30_44_9958.jpg', '/mnt/data/16062025/10/30/image_16062025_10_30_34_9935.jpg', '/mnt/data/16062025/10/30/image_16062025_10_30_24_9969.jpg', '/mnt/data/16062025/10/30/image_16062025_10_30_14_9975.jpg', '/mnt/data/16062025/10/29/image_16062025_10_30_04_10148.jpg', '/mnt/data/16062025/10/29/image_16062025_10_29_54_10001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/30/image_16062025_10_30_44_9958.jpg
/mnt/data/16062025/10/30/image_16062025_10_30_34_9935.jpg
/mnt/data/16062025/10/30/image_16062025_10_30_24_9969.jpg
/mnt/data/16062025/10/30/image_16062025_10_30_14_9975.jpg
/mnt/data/16062025/10/29/image_16062025_10_30_04_10148.jpg
/mnt/data/16062025/10/29/image_16062025_10_29_54_10001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21694040298462 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:32:02.403475
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/31/image_16062025_10_31_44_9997.jpg', 2), ('/mnt/data/16062025/10/31/image_16062025_10_31_34_9996.jpg', 2), ('/mnt/data/16062025/10/31/image_16062025_10_31_24_9928.jpg', 2), ('/mnt/data/16062025/10/31/image_16062025_10_31_14_9924.jpg', 2), ('/mnt/data/16062025/10/30/image_16062025_10_31_04_10128.jpg', 2), ('/mnt/data/16062025/10/30/image_16062025_10_30_54_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/31/image_16062025_10_31_44_9997.jpg', '/mnt/data/16062025/10/31/image_16062025_10_31_34_9996.jpg', '/mnt/data/16062025/10/31/image_16062025_10_31_24_9928.jpg', '/mnt/data/16062025/10/31/image_16062025_10_31_14_9924.jpg', '/mnt/data/16062025/10/30/image_16062025_10_31_04_10128.jpg', '/mnt/data/16062025/10/30/image_16062025_10_30_54_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/31/image_16062025_10_31_44_9997.jpg
/mnt/data/16062025/10/31/image_16062025_10_31_34_9996.jpg
/mnt/data/16062025/10/31/image_16062025_10_31_24_9928.jpg
/mnt/data/16062025/10/31/image_16062025_10_31_14_9924.jpg
/mnt/data/16062025/10/30/image_16062025_10_31_04_10128.jpg
/mnt/data/16062025/10/30/image_16062025_10_30_54_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.451313972473145 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:33:02.758241
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/32/image_16062025_10_32_44_9987.jpg', 2), ('/mnt/data/16062025/10/32/image_16062025_10_32_34_10089.jpg', 2), ('/mnt/data/16062025/10/32/image_16062025_10_32_24_9791.jpg', 2), ('/mnt/data/16062025/10/32/image_16062025_10_32_14_9980.jpg', 2), ('/mnt/data/16062025/10/31/image_16062025_10_32_04_10316.jpg', 2), ('/mnt/data/16062025/10/31/image_16062025_10_31_54_9989.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/32/image_16062025_10_32_44_9987.jpg', '/mnt/data/16062025/10/32/image_16062025_10_32_34_10089.jpg', '/mnt/data/16062025/10/32/image_16062025_10_32_24_9791.jpg', '/mnt/data/16062025/10/32/image_16062025_10_32_14_9980.jpg', '/mnt/data/16062025/10/31/image_16062025_10_32_04_10316.jpg', '/mnt/data/16062025/10/31/image_16062025_10_31_54_9989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/32/image_16062025_10_32_44_9987.jpg
/mnt/data/16062025/10/32/image_16062025_10_32_34_10089.jpg
/mnt/data/16062025/10/32/image_16062025_10_32_24_9791.jpg
/mnt/data/16062025/10/32/image_16062025_10_32_14_9980.jpg
/mnt/data/16062025/10/31/image_16062025_10_32_04_10316.jpg
/mnt/data/16062025/10/31/image_16062025_10_31_54_9989.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366529811","1366529805","1366529820","1366529814","1366529808","1366529798"],"photo_ids_order":["1366529798","1366529805","1366529808","1366529811","1366529814","1366529820"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/8fd55499956beb98e05942f00675fe00.jpg","text":"TemporaryFile(/tmp/multipartBody2690813859454442597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750062869666,"filename":"image_16062025_10_32_14_9980.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/da7298c081f25ba5bccc2da45bbb564a.jpg","text":"TemporaryFile(/tmp/multipartBody4068446612984880659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750062869666,"filename":"image_16062025_10_32_34_10089.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/512fd76aab5ba2727bc94b58311c6529.jpg","text":"TemporaryFile(/tmp/multipartBody6940573719842134884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750062869666,"filename":"image_16062025_10_31_54_9989.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/2e6c6a23eaf61aba34eb4e82ad39fe91.jpg","text":"TemporaryFile(/tmp/multipartBody5829097035741217915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750062869666,"filename":"image_16062025_10_32_04_10316.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/257ce549c713753f8f4b436778db32af.jpg","text":"TemporaryFile(/tmp/multipartBody4913412252832144188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750062869666,"filename":"image_16062025_10_32_24_9791.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/c4f5e485ad91d406572e1fafd57e42b2.jpg","text":"TemporaryFile(/tmp/multipartBody5839303459606619282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750062869666,"filename":"image_16062025_10_32_44_9987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366529808","file1":"1366529805","file0":"1366529798","file4":"1366529814","file5":"1366529820","file3":"1366529811"},"map_files_photo_id_array":[{"photo_id":"1366529820","filename":"file5"},{"photo_id":"1366529808","filename":"file2"},{"photo_id":"1366529814","filename":"file4"},{"photo_id":"1366529805","filename":"file1"},{"photo_id":"1366529798","filename":"file0"},{"photo_id":"1366529811","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366529811":["hashtag1","hashtag2"]},{"1366529805":["hashtag1","hashtag2"]},{"1366529820":["hashtag1","hashtag2"]},{"1366529814":["hashtag1","hashtag2"]},{"1366529808":["hashtag1","hashtag2"]},{"1366529798":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366529811, 1366529805, 1366529820, 1366529814, 1366529808, 1366529798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.88273239135742 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:35:03.355927
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/34/image_16062025_10_34_45_9995.jpg', 2), ('/mnt/data/16062025/10/34/image_16062025_10_34_35_9931.jpg', 2), ('/mnt/data/16062025/10/34/image_16062025_10_34_25_9943.jpg', 2), ('/mnt/data/16062025/10/34/image_16062025_10_34_15_9956.jpg', 2), ('/mnt/data/16062025/10/33/image_16062025_10_34_05_10287.jpg', 2), ('/mnt/data/16062025/10/33/image_16062025_10_33_54_10022.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/34/image_16062025_10_34_45_9995.jpg', '/mnt/data/16062025/10/34/image_16062025_10_34_35_9931.jpg', '/mnt/data/16062025/10/34/image_16062025_10_34_25_9943.jpg', '/mnt/data/16062025/10/34/image_16062025_10_34_15_9956.jpg', '/mnt/data/16062025/10/33/image_16062025_10_34_05_10287.jpg', '/mnt/data/16062025/10/33/image_16062025_10_33_54_10022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/34/image_16062025_10_34_45_9995.jpg
/mnt/data/16062025/10/34/image_16062025_10_34_35_9931.jpg
/mnt/data/16062025/10/34/image_16062025_10_34_25_9943.jpg
/mnt/data/16062025/10/34/image_16062025_10_34_15_9956.jpg
/mnt/data/16062025/10/33/image_16062025_10_34_05_10287.jpg
/mnt/data/16062025/10/33/image_16062025_10_33_54_10022.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22516918182373 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:36:03.106670
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/35/image_16062025_10_35_44_9966.jpg', 2), ('/mnt/data/16062025/10/35/image_16062025_10_35_34_9948.jpg', 2), ('/mnt/data/16062025/10/35/image_16062025_10_35_24_9893.jpg', 2), ('/mnt/data/16062025/10/35/image_16062025_10_35_14_9937.jpg', 2), ('/mnt/data/16062025/10/34/image_16062025_10_35_05_10018.jpg', 2), ('/mnt/data/16062025/10/34/image_16062025_10_34_54_9971.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/35/image_16062025_10_35_44_9966.jpg', '/mnt/data/16062025/10/35/image_16062025_10_35_34_9948.jpg', '/mnt/data/16062025/10/35/image_16062025_10_35_24_9893.jpg', '/mnt/data/16062025/10/35/image_16062025_10_35_14_9937.jpg', '/mnt/data/16062025/10/34/image_16062025_10_35_05_10018.jpg', '/mnt/data/16062025/10/34/image_16062025_10_34_54_9971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/35/image_16062025_10_35_44_9966.jpg
/mnt/data/16062025/10/35/image_16062025_10_35_34_9948.jpg
/mnt/data/16062025/10/35/image_16062025_10_35_24_9893.jpg
/mnt/data/16062025/10/35/image_16062025_10_35_14_9937.jpg
/mnt/data/16062025/10/34/image_16062025_10_35_05_10018.jpg
/mnt/data/16062025/10/34/image_16062025_10_34_54_9971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22069025039673 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:37:03.507455
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/36/image_16062025_10_36_44_9945.jpg', 2), ('/mnt/data/16062025/10/36/image_16062025_10_36_34_9974.jpg', 2), ('/mnt/data/16062025/10/36/image_16062025_10_36_24_9935.jpg', 2), ('/mnt/data/16062025/10/36/image_16062025_10_36_14_9940.jpg', 2), ('/mnt/data/16062025/10/35/image_16062025_10_36_04_10170.jpg', 2), ('/mnt/data/16062025/10/35/image_16062025_10_35_54_9954.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/36/image_16062025_10_36_44_9945.jpg', '/mnt/data/16062025/10/36/image_16062025_10_36_34_9974.jpg', '/mnt/data/16062025/10/36/image_16062025_10_36_24_9935.jpg', '/mnt/data/16062025/10/36/image_16062025_10_36_14_9940.jpg', '/mnt/data/16062025/10/35/image_16062025_10_36_04_10170.jpg', '/mnt/data/16062025/10/35/image_16062025_10_35_54_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/36/image_16062025_10_36_44_9945.jpg
/mnt/data/16062025/10/36/image_16062025_10_36_34_9974.jpg
/mnt/data/16062025/10/36/image_16062025_10_36_24_9935.jpg
/mnt/data/16062025/10/36/image_16062025_10_36_14_9940.jpg
/mnt/data/16062025/10/35/image_16062025_10_36_04_10170.jpg
/mnt/data/16062025/10/35/image_16062025_10_35_54_9954.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366530152","1366530136","1366530145","1366530159","1366530129","1366530123"],"photo_ids_order":["1366530123","1366530129","1366530136","1366530145","1366530152","1366530159"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/fd1e6e0b2bef6244f7c3201db552ce95.jpg","text":"TemporaryFile(/tmp/multipartBody57684521566727988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750063119552,"filename":"image_16062025_10_36_04_10170.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0d36cca63578f7e3c4769835a0c4af85.jpg","text":"TemporaryFile(/tmp/multipartBody6430695462257502068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750063119552,"filename":"image_16062025_10_36_24_9935.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/f3f3c2cdc7f1ba115df8b8727001b680.jpg","text":"TemporaryFile(/tmp/multipartBody7386823153666032524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750063119552,"filename":"image_16062025_10_36_14_9940.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/676cb2b44f797662c2a32452acfa9a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7650058318774343521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750063119552,"filename":"image_16062025_10_35_54_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/98ece732e6e4f2c3c5263a0c847fd20a.jpg","text":"TemporaryFile(/tmp/multipartBody7487789061148102730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750063119552,"filename":"image_16062025_10_36_34_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/3a17c97572f4bac7f8ae8ed03decc59c.jpg","text":"TemporaryFile(/tmp/multipartBody3493810390658314849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750063119552,"filename":"image_16062025_10_36_44_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366530136","file1":"1366530129","file0":"1366530123","file4":"1366530152","file5":"1366530159","file3":"1366530145"},"map_files_photo_id_array":[{"photo_id":"1366530159","filename":"file5"},{"photo_id":"1366530136","filename":"file2"},{"photo_id":"1366530152","filename":"file4"},{"photo_id":"1366530129","filename":"file1"},{"photo_id":"1366530123","filename":"file0"},{"photo_id":"1366530145","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366530152":["hashtag1","hashtag2"]},{"1366530136":["hashtag1","hashtag2"]},{"1366530145":["hashtag1","hashtag2"]},{"1366530159":["hashtag1","hashtag2"]},{"1366530129":["hashtag1","hashtag2"]},{"1366530123":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366530152, 1366530136, 1366530145, 1366530159, 1366530129, 1366530123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 120.73683071136475 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:39:14.094011
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/39/image_16062025_10_39_45_11093.jpg', 2), ('/mnt/data/16062025/10/39/image_16062025_10_39_34_9928.jpg', 2), ('/mnt/data/16062025/10/39/image_16062025_10_39_24_9919.jpg', 2), ('/mnt/data/16062025/10/39/image_16062025_10_39_14_9972.jpg', 2), ('/mnt/data/16062025/10/38/image_16062025_10_39_04_10113.jpg', 2), ('/mnt/data/16062025/10/38/image_16062025_10_38_54_10006.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/39/image_16062025_10_39_45_11093.jpg', '/mnt/data/16062025/10/39/image_16062025_10_39_34_9928.jpg', '/mnt/data/16062025/10/39/image_16062025_10_39_24_9919.jpg', '/mnt/data/16062025/10/39/image_16062025_10_39_14_9972.jpg', '/mnt/data/16062025/10/38/image_16062025_10_39_04_10113.jpg', '/mnt/data/16062025/10/38/image_16062025_10_38_54_10006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/39/image_16062025_10_39_45_11093.jpg
/mnt/data/16062025/10/39/image_16062025_10_39_34_9928.jpg
/mnt/data/16062025/10/39/image_16062025_10_39_24_9919.jpg
/mnt/data/16062025/10/39/image_16062025_10_39_14_9972.jpg
/mnt/data/16062025/10/38/image_16062025_10_39_04_10113.jpg
/mnt/data/16062025/10/38/image_16062025_10_38_54_10006.jpg
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.725579977035522 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:40:02.529298
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/39/image_16062025_10_39_45_11093.jpg', 2), ('/mnt/data/16062025/10/39/image_16062025_10_39_34_9928.jpg', 2), ('/mnt/data/16062025/10/39/image_16062025_10_39_24_9919.jpg', 2), ('/mnt/data/16062025/10/39/image_16062025_10_39_14_9972.jpg', 2), ('/mnt/data/16062025/10/38/image_16062025_10_39_04_10113.jpg', 2), ('/mnt/data/16062025/10/38/image_16062025_10_38_54_10006.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/39/image_16062025_10_39_45_11093.jpg', '/mnt/data/16062025/10/39/image_16062025_10_39_34_9928.jpg', '/mnt/data/16062025/10/39/image_16062025_10_39_24_9919.jpg', '/mnt/data/16062025/10/39/image_16062025_10_39_14_9972.jpg', '/mnt/data/16062025/10/38/image_16062025_10_39_04_10113.jpg', '/mnt/data/16062025/10/38/image_16062025_10_38_54_10006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/39/image_16062025_10_39_45_11093.jpg
/mnt/data/16062025/10/39/image_16062025_10_39_34_9928.jpg
/mnt/data/16062025/10/39/image_16062025_10_39_24_9919.jpg
/mnt/data/16062025/10/39/image_16062025_10_39_14_9972.jpg
/mnt/data/16062025/10/38/image_16062025_10_39_04_10113.jpg
/mnt/data/16062025/10/38/image_16062025_10_38_54_10006.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.358912706375122 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:41:02.880772
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/40/image_16062025_10_40_45_9976.jpg', 2), ('/mnt/data/16062025/10/40/image_16062025_10_40_35_10018.jpg', 2), ('/mnt/data/16062025/10/40/image_16062025_10_40_25_10100.jpg', 2), ('/mnt/data/16062025/10/40/image_16062025_10_40_15_9930.jpg', 2), ('/mnt/data/16062025/10/39/image_16062025_10_40_05_10045.jpg', 2), ('/mnt/data/16062025/10/39/image_16062025_10_39_55_9890.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/40/image_16062025_10_40_45_9976.jpg', '/mnt/data/16062025/10/40/image_16062025_10_40_35_10018.jpg', '/mnt/data/16062025/10/40/image_16062025_10_40_25_10100.jpg', '/mnt/data/16062025/10/40/image_16062025_10_40_15_9930.jpg', '/mnt/data/16062025/10/39/image_16062025_10_40_05_10045.jpg', '/mnt/data/16062025/10/39/image_16062025_10_39_55_9890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/40/image_16062025_10_40_45_9976.jpg
/mnt/data/16062025/10/40/image_16062025_10_40_35_10018.jpg
/mnt/data/16062025/10/40/image_16062025_10_40_25_10100.jpg
/mnt/data/16062025/10/40/image_16062025_10_40_15_9930.jpg
/mnt/data/16062025/10/39/image_16062025_10_40_05_10045.jpg
/mnt/data/16062025/10/39/image_16062025_10_39_55_9890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.203446626663208 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:42:02.941280
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_14_10084.jpg', 2), ('/mnt/data/16062025/10/40/image_16062025_10_41_04_9099.jpg', 2), ('/mnt/data/16062025/10/40/image_16062025_10_40_55_10066.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_14_10084.jpg', '/mnt/data/16062025/10/40/image_16062025_10_41_04_9099.jpg', '/mnt/data/16062025/10/40/image_16062025_10_40_55_10066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_14_10084.jpg
/mnt/data/16062025/10/40/image_16062025_10_41_04_9099.jpg
/mnt/data/16062025/10/40/image_16062025_10_40_55_10066.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.217309713363647 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:43:03.252667
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', '/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg
/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.202933073043823 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:44:03.430288
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', '/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg
/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.202598571777344 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:45:03.543867
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', '/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg
/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.193458318710327 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:46:02.550141
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', '/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg
/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.292107343673706 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:47:02.800731
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', '/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg
/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_34_10080.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_24_10091.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.329334020614624 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:48:02.685839
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/47/image_16062025_10_47_45_10209.jpg', 2), ('/mnt/data/16062025/10/42/image_16062025_10_42_24_10130.jpg', 2), ('/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', 2), ('/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/47/image_16062025_10_47_45_10209.jpg', '/mnt/data/16062025/10/42/image_16062025_10_42_24_10130.jpg', '/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg', '/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg', '/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/47/image_16062025_10_47_45_10209.jpg
/mnt/data/16062025/10/42/image_16062025_10_42_24_10130.jpg
/mnt/data/16062025/10/42/image_16062025_10_42_14_10108.jpg
/mnt/data/16062025/10/41/image_16062025_10_42_04_9219.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_54_10118.jpg
/mnt/data/16062025/10/41/image_16062025_10_41_44_10155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19733428955078 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:49:03.222236
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/48/image_16062025_10_48_45_10082.jpg', 2), ('/mnt/data/16062025/10/48/image_16062025_10_48_14_10123.jpg', 2), ('/mnt/data/16062025/10/47/image_16062025_10_48_04_10372.jpg', 2), ('/mnt/data/16062025/10/47/image_16062025_10_47_54_8901.jpg', 2), ('/mnt/data/16062025/10/47/image_16062025_10_47_45_10209.jpg', 2), ('/mnt/data/16062025/10/42/image_16062025_10_42_24_10130.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/48/image_16062025_10_48_45_10082.jpg', '/mnt/data/16062025/10/48/image_16062025_10_48_14_10123.jpg', '/mnt/data/16062025/10/47/image_16062025_10_48_04_10372.jpg', '/mnt/data/16062025/10/47/image_16062025_10_47_54_8901.jpg', '/mnt/data/16062025/10/47/image_16062025_10_47_45_10209.jpg', '/mnt/data/16062025/10/42/image_16062025_10_42_24_10130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/48/image_16062025_10_48_45_10082.jpg
/mnt/data/16062025/10/48/image_16062025_10_48_14_10123.jpg
/mnt/data/16062025/10/47/image_16062025_10_48_04_10372.jpg
/mnt/data/16062025/10/47/image_16062025_10_47_54_8901.jpg
/mnt/data/16062025/10/47/image_16062025_10_47_45_10209.jpg
/mnt/data/16062025/10/42/image_16062025_10_42_24_10130.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.181628227233887 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:50:02.923532
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/49/image_16062025_10_49_44_9977.jpg', 2), ('/mnt/data/16062025/10/49/image_16062025_10_49_34_10002.jpg', 2), ('/mnt/data/16062025/10/49/image_16062025_10_49_24_10113.jpg', 2), ('/mnt/data/16062025/10/49/image_16062025_10_49_14_10142.jpg', 2), ('/mnt/data/16062025/10/48/image_16062025_10_49_04_9162.jpg', 2), ('/mnt/data/16062025/10/48/image_16062025_10_48_55_10056.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/49/image_16062025_10_49_44_9977.jpg', '/mnt/data/16062025/10/49/image_16062025_10_49_34_10002.jpg', '/mnt/data/16062025/10/49/image_16062025_10_49_24_10113.jpg', '/mnt/data/16062025/10/49/image_16062025_10_49_14_10142.jpg', '/mnt/data/16062025/10/48/image_16062025_10_49_04_9162.jpg', '/mnt/data/16062025/10/48/image_16062025_10_48_55_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/49/image_16062025_10_49_44_9977.jpg
/mnt/data/16062025/10/49/image_16062025_10_49_34_10002.jpg
/mnt/data/16062025/10/49/image_16062025_10_49_24_10113.jpg
/mnt/data/16062025/10/49/image_16062025_10_49_14_10142.jpg
/mnt/data/16062025/10/48/image_16062025_10_49_04_9162.jpg
/mnt/data/16062025/10/48/image_16062025_10_48_55_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.82330560684204 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:51:03.270609
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/50/image_16062025_10_50_15_9979.jpg', 2), ('/mnt/data/16062025/10/49/image_16062025_10_50_05_10305.jpg', 2), ('/mnt/data/16062025/10/49/image_16062025_10_49_54_10088.jpg', 2), ('/mnt/data/16062025/10/49/image_16062025_10_49_44_9977.jpg', 2), ('/mnt/data/16062025/10/49/image_16062025_10_49_34_10002.jpg', 2), ('/mnt/data/16062025/10/49/image_16062025_10_49_24_10113.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/50/image_16062025_10_50_15_9979.jpg', '/mnt/data/16062025/10/49/image_16062025_10_50_05_10305.jpg', '/mnt/data/16062025/10/49/image_16062025_10_49_54_10088.jpg', '/mnt/data/16062025/10/49/image_16062025_10_49_44_9977.jpg', '/mnt/data/16062025/10/49/image_16062025_10_49_34_10002.jpg', '/mnt/data/16062025/10/49/image_16062025_10_49_24_10113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/50/image_16062025_10_50_15_9979.jpg
/mnt/data/16062025/10/49/image_16062025_10_50_05_10305.jpg
/mnt/data/16062025/10/49/image_16062025_10_49_54_10088.jpg
/mnt/data/16062025/10/49/image_16062025_10_49_44_9977.jpg
/mnt/data/16062025/10/49/image_16062025_10_49_34_10002.jpg
/mnt/data/16062025/10/49/image_16062025_10_49_24_10113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.57314419746399 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:52:03.202339
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/51/image_16062025_10_51_45_9897.jpg', 2), ('/mnt/data/16062025/10/51/image_16062025_10_51_35_9908.jpg', 2), ('/mnt/data/16062025/10/51/image_16062025_10_51_25_11143.jpg', 2), ('/mnt/data/16062025/10/51/image_16062025_10_51_14_9963.jpg', 2), ('/mnt/data/16062025/10/50/image_16062025_10_50_25_10015.jpg', 2), ('/mnt/data/16062025/10/50/image_16062025_10_50_15_9979.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/51/image_16062025_10_51_45_9897.jpg', '/mnt/data/16062025/10/51/image_16062025_10_51_35_9908.jpg', '/mnt/data/16062025/10/51/image_16062025_10_51_25_11143.jpg', '/mnt/data/16062025/10/51/image_16062025_10_51_14_9963.jpg', '/mnt/data/16062025/10/50/image_16062025_10_50_25_10015.jpg', '/mnt/data/16062025/10/50/image_16062025_10_50_15_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/51/image_16062025_10_51_45_9897.jpg
/mnt/data/16062025/10/51/image_16062025_10_51_35_9908.jpg
/mnt/data/16062025/10/51/image_16062025_10_51_25_11143.jpg
/mnt/data/16062025/10/51/image_16062025_10_51_14_9963.jpg
/mnt/data/16062025/10/50/image_16062025_10_50_25_10015.jpg
/mnt/data/16062025/10/50/image_16062025_10_50_15_9979.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366531112","1366531135","1366531105","1366531125","1366531119","1366531121"],"photo_ids_order":["1366531105","1366531112","1366531119","1366531121","1366531125","1366531135"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/3107fb0fb262bf1b945ffff79c5e19d6.jpg","text":"TemporaryFile(/tmp/multipartBody5883998707563916013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750064009472,"filename":"image_16062025_10_51_35_9908.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/8997658206ecd27d6877df1459335951.jpg","text":"TemporaryFile(/tmp/multipartBody3431373429260664152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750064009472,"filename":"image_16062025_10_50_15_9979.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0227d1ad8a8ac2593de403d1025088f1.jpg","text":"TemporaryFile(/tmp/multipartBody2930344240666751606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750064009472,"filename":"image_16062025_10_51_45_9897.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0b7af7667f90a54be76b4e2ca931b3a1.jpg","text":"TemporaryFile(/tmp/multipartBody4440920296096675137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750064009472,"filename":"image_16062025_10_50_25_10015.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/9f511f35017f460cfbaa6349f23bae9e.jpg","text":"TemporaryFile(/tmp/multipartBody3527087971775953741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750064009472,"filename":"image_16062025_10_51_25_11143.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/a06ebc230bb4fbafb66ee73398bdd0ca.jpg","text":"TemporaryFile(/tmp/multipartBody5228435187752035331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750064009472,"filename":"image_16062025_10_51_14_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366531119","file1":"1366531112","file0":"1366531105","file4":"1366531125","file5":"1366531135","file3":"1366531121"},"map_files_photo_id_array":[{"photo_id":"1366531135","filename":"file5"},{"photo_id":"1366531119","filename":"file2"},{"photo_id":"1366531125","filename":"file4"},{"photo_id":"1366531112","filename":"file1"},{"photo_id":"1366531105","filename":"file0"},{"photo_id":"1366531121","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366531112":["hashtag1","hashtag2"]},{"1366531135":["hashtag1","hashtag2"]},{"1366531105":["hashtag1","hashtag2"]},{"1366531125":["hashtag1","hashtag2"]},{"1366531119":["hashtag1","hashtag2"]},{"1366531121":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366531112, 1366531135, 1366531105, 1366531125, 1366531119, 1366531121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.09790062904358 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:54:02.401967
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/53/image_16062025_10_53_45_9966.jpg', 2), ('/mnt/data/16062025/10/53/image_16062025_10_53_35_11126.jpg', 2), ('/mnt/data/16062025/10/53/image_16062025_10_53_24_8939.jpg', 2), ('/mnt/data/16062025/10/53/image_16062025_10_53_15_10211.jpg', 2), ('/mnt/data/16062025/10/52/image_16062025_10_53_05_10049.jpg', 2), ('/mnt/data/16062025/10/52/image_16062025_10_52_54_10306.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/53/image_16062025_10_53_45_9966.jpg', '/mnt/data/16062025/10/53/image_16062025_10_53_35_11126.jpg', '/mnt/data/16062025/10/53/image_16062025_10_53_24_8939.jpg', '/mnt/data/16062025/10/53/image_16062025_10_53_15_10211.jpg', '/mnt/data/16062025/10/52/image_16062025_10_53_05_10049.jpg', '/mnt/data/16062025/10/52/image_16062025_10_52_54_10306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/53/image_16062025_10_53_45_9966.jpg
/mnt/data/16062025/10/53/image_16062025_10_53_35_11126.jpg
/mnt/data/16062025/10/53/image_16062025_10_53_24_8939.jpg
/mnt/data/16062025/10/53/image_16062025_10_53_15_10211.jpg
/mnt/data/16062025/10/52/image_16062025_10_53_05_10049.jpg
/mnt/data/16062025/10/52/image_16062025_10_52_54_10306.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.389856100082397 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 10:59:02.981808
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/55/image_16062025_10_55_54_10012.jpg', 2), ('/mnt/data/16062025/10/55/image_16062025_10_55_44_9792.jpg', 2), ('/mnt/data/16062025/10/55/image_16062025_10_55_34_9951.jpg', 2), ('/mnt/data/16062025/10/55/image_16062025_10_55_24_9968.jpg', 2), ('/mnt/data/16062025/10/55/image_16062025_10_55_14_9061.jpg', 2), ('/mnt/data/16062025/10/54/image_16062025_10_55_05_10323.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/55/image_16062025_10_55_54_10012.jpg', '/mnt/data/16062025/10/55/image_16062025_10_55_44_9792.jpg', '/mnt/data/16062025/10/55/image_16062025_10_55_34_9951.jpg', '/mnt/data/16062025/10/55/image_16062025_10_55_24_9968.jpg', '/mnt/data/16062025/10/55/image_16062025_10_55_14_9061.jpg', '/mnt/data/16062025/10/54/image_16062025_10_55_05_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/55/image_16062025_10_55_54_10012.jpg
/mnt/data/16062025/10/55/image_16062025_10_55_44_9792.jpg
/mnt/data/16062025/10/55/image_16062025_10_55_34_9951.jpg
/mnt/data/16062025/10/55/image_16062025_10_55_24_9968.jpg
/mnt/data/16062025/10/55/image_16062025_10_55_14_9061.jpg
/mnt/data/16062025/10/54/image_16062025_10_55_05_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.174830675125122 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:00:02.768849
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/10/59/image_16062025_10_59_44_9931.jpg', 2), ('/mnt/data/16062025/10/59/image_16062025_10_59_34_9895.jpg', 2), ('/mnt/data/16062025/10/59/image_16062025_10_59_24_9856.jpg', 2), ('/mnt/data/16062025/10/59/image_16062025_10_59_14_10033.jpg', 2), ('/mnt/data/16062025/10/58/image_16062025_10_59_04_9966.jpg', 2), ('/mnt/data/16062025/10/58/image_16062025_10_58_54_10215.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/10/59/image_16062025_10_59_44_9931.jpg', '/mnt/data/16062025/10/59/image_16062025_10_59_34_9895.jpg', '/mnt/data/16062025/10/59/image_16062025_10_59_24_9856.jpg', '/mnt/data/16062025/10/59/image_16062025_10_59_14_10033.jpg', '/mnt/data/16062025/10/58/image_16062025_10_59_04_9966.jpg', '/mnt/data/16062025/10/58/image_16062025_10_58_54_10215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/10/59/image_16062025_10_59_44_9931.jpg
/mnt/data/16062025/10/59/image_16062025_10_59_34_9895.jpg
/mnt/data/16062025/10/59/image_16062025_10_59_24_9856.jpg
/mnt/data/16062025/10/59/image_16062025_10_59_14_10033.jpg
/mnt/data/16062025/10/58/image_16062025_10_59_04_9966.jpg
/mnt/data/16062025/10/58/image_16062025_10_58_54_10215.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.460297107696533 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:01:02.991532
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_24_9902.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_14_10032.jpg', 2), ('/mnt/data/16062025/10/59/image_16062025_11_00_04_10281.jpg', 2), ('/mnt/data/16062025/10/59/image_16062025_10_59_54_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_24_9902.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_14_10032.jpg', '/mnt/data/16062025/10/59/image_16062025_11_00_04_10281.jpg', '/mnt/data/16062025/10/59/image_16062025_10_59_54_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_24_9902.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_14_10032.jpg
/mnt/data/16062025/10/59/image_16062025_11_00_04_10281.jpg
/mnt/data/16062025/10/59/image_16062025_10_59_54_9918.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! 
uploaded 0 photos
time to upload: 135.05262994766235 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:03:26.478061
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg
uploaded 0 photos
time to upload: 31.08591103553772 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:04:03.157255
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.13612747192383 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:05:03.336110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:05:14.774259
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.242135286331177 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:06:02.270115
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.16912341117859 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:07:02.498306
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.466288328170776 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:08:02.615641
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_34_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.265963792800903 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:09:02.901671
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.354655742645264 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:10:02.875107
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_44_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.209476709365845 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:11:03.099312
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.205295085906982 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:12:02.964734
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.261888027191162 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:13:03.436040
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.163803100585938 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:14:02.627846
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2), ('/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', '/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
/mnt/data/16062025/11/00/image_16062025_11_00_54_10150.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! 
uploaded 0 photos
time to upload: 147.4447774887085 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:17:03.090931
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.203269720077515 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:18:02.862326
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20009469985962 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:19:02.524108
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19983434677124 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:20:02.585972
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.229607343673706 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:21:02.814427
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.885281801223755 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:22:02.810609
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2), ('/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', '/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
/mnt/data/16062025/11/01/image_16062025_11_01_34_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.88409399986267 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:23:03.429647
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2), ('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', '/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.54152822494507 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:24:02.825796
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2), ('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', '/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.26434254646301 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:25:03.254310
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2), ('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', '/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.377272367477417 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:26:03.131950
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2), ('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', '/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.33194398880005 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:27:03.278179
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2), ('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', '/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.33866786956787 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:29:03.134389
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2), ('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', '/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg', '/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_45_10139.jpg
/mnt/data/16062025/11/02/image_16062025_11_02_35_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.344581127166748 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:30:02.903329
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg', 2), ('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2), ('/mnt/data/16062025/11/14/image_16062025_11_14_24_10119.jpg', 2), ('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2), ('/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', 2), ('/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg', '/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', '/mnt/data/16062025/11/14/image_16062025_11_14_24_10119.jpg', '/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', '/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg', '/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
/mnt/data/16062025/11/14/image_16062025_11_14_24_10119.jpg
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
/mnt/data/16062025/11/08/image_16062025_11_08_44_10142.jpg
/mnt/data/16062025/11/02/image_16062025_11_03_04_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.75921130180359 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:31:03.096349
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/30/image_16062025_11_30_25_10066.jpg', 2), ('/mnt/data/16062025/11/29/image_16062025_11_29_14_10091.jpg', 2), ('/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg', 2), ('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2), ('/mnt/data/16062025/11/14/image_16062025_11_14_24_10119.jpg', 2), ('/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/30/image_16062025_11_30_25_10066.jpg', '/mnt/data/16062025/11/29/image_16062025_11_29_14_10091.jpg', '/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg', '/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', '/mnt/data/16062025/11/14/image_16062025_11_14_24_10119.jpg', '/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/30/image_16062025_11_30_25_10066.jpg
/mnt/data/16062025/11/29/image_16062025_11_29_14_10091.jpg
/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
/mnt/data/16062025/11/14/image_16062025_11_14_24_10119.jpg
/mnt/data/16062025/11/10/image_16062025_11_10_15_10212.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2074875831604 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:32:03.139186
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/32/image_16062025_11_32_14_9909.jpg', 2), ('/mnt/data/16062025/11/30/image_16062025_11_30_35_10089.jpg', 2), ('/mnt/data/16062025/11/30/image_16062025_11_30_25_10066.jpg', 2), ('/mnt/data/16062025/11/29/image_16062025_11_29_14_10091.jpg', 2), ('/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg', 2), ('/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/32/image_16062025_11_32_14_9909.jpg', '/mnt/data/16062025/11/30/image_16062025_11_30_35_10089.jpg', '/mnt/data/16062025/11/30/image_16062025_11_30_25_10066.jpg', '/mnt/data/16062025/11/29/image_16062025_11_29_14_10091.jpg', '/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg', '/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/32/image_16062025_11_32_14_9909.jpg
/mnt/data/16062025/11/30/image_16062025_11_30_35_10089.jpg
/mnt/data/16062025/11/30/image_16062025_11_30_25_10066.jpg
/mnt/data/16062025/11/29/image_16062025_11_29_14_10091.jpg
/mnt/data/16062025/11/28/image_16062025_11_29_04_10128.jpg
/mnt/data/16062025/11/22/image_16062025_11_23_04_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.4566433429718 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:33:03.493115
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/32/image_16062025_11_32_44_9925.jpg', 2), ('/mnt/data/16062025/11/32/image_16062025_11_32_34_9878.jpg', 2), ('/mnt/data/16062025/11/32/image_16062025_11_32_24_9877.jpg', 2), ('/mnt/data/16062025/11/32/image_16062025_11_32_14_9909.jpg', 2), ('/mnt/data/16062025/11/31/image_16062025_11_32_05_10197.jpg', 2), ('/mnt/data/16062025/11/31/image_16062025_11_31_54_9953.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/32/image_16062025_11_32_44_9925.jpg', '/mnt/data/16062025/11/32/image_16062025_11_32_34_9878.jpg', '/mnt/data/16062025/11/32/image_16062025_11_32_24_9877.jpg', '/mnt/data/16062025/11/32/image_16062025_11_32_14_9909.jpg', '/mnt/data/16062025/11/31/image_16062025_11_32_05_10197.jpg', '/mnt/data/16062025/11/31/image_16062025_11_31_54_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/32/image_16062025_11_32_44_9925.jpg
/mnt/data/16062025/11/32/image_16062025_11_32_34_9878.jpg
/mnt/data/16062025/11/32/image_16062025_11_32_24_9877.jpg
/mnt/data/16062025/11/32/image_16062025_11_32_14_9909.jpg
/mnt/data/16062025/11/31/image_16062025_11_32_05_10197.jpg
/mnt/data/16062025/11/31/image_16062025_11_31_54_9953.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! 
uploaded 0 photos
time to upload: 140.61522126197815 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:35:25.846632
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/35/image_16062025_11_35_44_9932.jpg', 2), ('/mnt/data/16062025/11/35/image_16062025_11_35_34_10048.jpg', 2), ('/mnt/data/16062025/11/35/image_16062025_11_35_24_10050.jpg', 2), ('/mnt/data/16062025/11/35/image_16062025_11_35_14_8948.jpg', 2), ('/mnt/data/16062025/11/34/image_16062025_11_35_05_10455.jpg', 2), ('/mnt/data/16062025/11/34/image_16062025_11_34_44_10059.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/35/image_16062025_11_35_44_9932.jpg', '/mnt/data/16062025/11/35/image_16062025_11_35_34_10048.jpg', '/mnt/data/16062025/11/35/image_16062025_11_35_24_10050.jpg', '/mnt/data/16062025/11/35/image_16062025_11_35_14_8948.jpg', '/mnt/data/16062025/11/34/image_16062025_11_35_05_10455.jpg', '/mnt/data/16062025/11/34/image_16062025_11_34_44_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/35/image_16062025_11_35_44_9932.jpg
/mnt/data/16062025/11/35/image_16062025_11_35_34_10048.jpg
/mnt/data/16062025/11/35/image_16062025_11_35_24_10050.jpg
/mnt/data/16062025/11/35/image_16062025_11_35_14_8948.jpg
/mnt/data/16062025/11/34/image_16062025_11_35_05_10455.jpg
/mnt/data/16062025/11/34/image_16062025_11_34_44_10059.jpg
uploaded 0 photos
time to upload: 30.327296018600464 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:36:02.549334
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/35/image_16062025_11_35_44_9932.jpg', 2), ('/mnt/data/16062025/11/35/image_16062025_11_35_34_10048.jpg', 2), ('/mnt/data/16062025/11/35/image_16062025_11_35_24_10050.jpg', 2), ('/mnt/data/16062025/11/35/image_16062025_11_35_14_8948.jpg', 2), ('/mnt/data/16062025/11/34/image_16062025_11_35_05_10455.jpg', 2), ('/mnt/data/16062025/11/34/image_16062025_11_34_44_10059.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/35/image_16062025_11_35_44_9932.jpg', '/mnt/data/16062025/11/35/image_16062025_11_35_34_10048.jpg', '/mnt/data/16062025/11/35/image_16062025_11_35_24_10050.jpg', '/mnt/data/16062025/11/35/image_16062025_11_35_14_8948.jpg', '/mnt/data/16062025/11/34/image_16062025_11_35_05_10455.jpg', '/mnt/data/16062025/11/34/image_16062025_11_34_44_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/35/image_16062025_11_35_44_9932.jpg
/mnt/data/16062025/11/35/image_16062025_11_35_34_10048.jpg
/mnt/data/16062025/11/35/image_16062025_11_35_24_10050.jpg
/mnt/data/16062025/11/35/image_16062025_11_35_14_8948.jpg
/mnt/data/16062025/11/34/image_16062025_11_35_05_10455.jpg
/mnt/data/16062025/11/34/image_16062025_11_34_44_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.156523942947388 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:37:02.827487
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/36/image_16062025_11_36_44_9916.jpg', 2), ('/mnt/data/16062025/11/36/image_16062025_11_36_34_9931.jpg', 2), ('/mnt/data/16062025/11/36/image_16062025_11_36_24_9908.jpg', 2), ('/mnt/data/16062025/11/36/image_16062025_11_36_14_9968.jpg', 2), ('/mnt/data/16062025/11/35/image_16062025_11_36_04_10180.jpg', 2), ('/mnt/data/16062025/11/35/image_16062025_11_35_54_9949.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/36/image_16062025_11_36_44_9916.jpg', '/mnt/data/16062025/11/36/image_16062025_11_36_34_9931.jpg', '/mnt/data/16062025/11/36/image_16062025_11_36_24_9908.jpg', '/mnt/data/16062025/11/36/image_16062025_11_36_14_9968.jpg', '/mnt/data/16062025/11/35/image_16062025_11_36_04_10180.jpg', '/mnt/data/16062025/11/35/image_16062025_11_35_54_9949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/36/image_16062025_11_36_44_9916.jpg
/mnt/data/16062025/11/36/image_16062025_11_36_34_9931.jpg
/mnt/data/16062025/11/36/image_16062025_11_36_24_9908.jpg
/mnt/data/16062025/11/36/image_16062025_11_36_14_9968.jpg
/mnt/data/16062025/11/35/image_16062025_11_36_04_10180.jpg
/mnt/data/16062025/11/35/image_16062025_11_35_54_9949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.317111492156982 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:38:02.911320
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/37/image_16062025_11_37_45_11157.jpg', 2), ('/mnt/data/16062025/11/37/image_16062025_11_37_34_9972.jpg', 2), ('/mnt/data/16062025/11/37/image_16062025_11_37_24_9920.jpg', 2), ('/mnt/data/16062025/11/37/image_16062025_11_37_14_9915.jpg', 2), ('/mnt/data/16062025/11/36/image_16062025_11_37_04_9024.jpg', 2), ('/mnt/data/16062025/11/36/image_16062025_11_36_55_11147.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/37/image_16062025_11_37_45_11157.jpg', '/mnt/data/16062025/11/37/image_16062025_11_37_34_9972.jpg', '/mnt/data/16062025/11/37/image_16062025_11_37_24_9920.jpg', '/mnt/data/16062025/11/37/image_16062025_11_37_14_9915.jpg', '/mnt/data/16062025/11/36/image_16062025_11_37_04_9024.jpg', '/mnt/data/16062025/11/36/image_16062025_11_36_55_11147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/37/image_16062025_11_37_45_11157.jpg
/mnt/data/16062025/11/37/image_16062025_11_37_34_9972.jpg
/mnt/data/16062025/11/37/image_16062025_11_37_24_9920.jpg
/mnt/data/16062025/11/37/image_16062025_11_37_14_9915.jpg
/mnt/data/16062025/11/36/image_16062025_11_37_04_9024.jpg
/mnt/data/16062025/11/36/image_16062025_11_36_55_11147.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.025866746902466 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:39:03.139500
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/38/image_16062025_11_38_44_10214.jpg', 2), ('/mnt/data/16062025/11/38/image_16062025_11_38_34_10136.jpg', 2), ('/mnt/data/16062025/11/38/image_16062025_11_38_24_10074.jpg', 2), ('/mnt/data/16062025/11/38/image_16062025_11_38_14_9980.jpg', 2), ('/mnt/data/16062025/11/37/image_16062025_11_38_04_9073.jpg', 2), ('/mnt/data/16062025/11/37/image_16062025_11_37_55_9964.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/38/image_16062025_11_38_44_10214.jpg', '/mnt/data/16062025/11/38/image_16062025_11_38_34_10136.jpg', '/mnt/data/16062025/11/38/image_16062025_11_38_24_10074.jpg', '/mnt/data/16062025/11/38/image_16062025_11_38_14_9980.jpg', '/mnt/data/16062025/11/37/image_16062025_11_38_04_9073.jpg', '/mnt/data/16062025/11/37/image_16062025_11_37_55_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/38/image_16062025_11_38_44_10214.jpg
/mnt/data/16062025/11/38/image_16062025_11_38_34_10136.jpg
/mnt/data/16062025/11/38/image_16062025_11_38_24_10074.jpg
/mnt/data/16062025/11/38/image_16062025_11_38_14_9980.jpg
/mnt/data/16062025/11/37/image_16062025_11_38_04_9073.jpg
/mnt/data/16062025/11/37/image_16062025_11_37_55_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.867616891860962 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:40:02.464370
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/39/image_16062025_11_39_44_10130.jpg', 2), ('/mnt/data/16062025/11/39/image_16062025_11_39_34_10183.jpg', 2), ('/mnt/data/16062025/11/39/image_16062025_11_39_24_8915.jpg', 2), ('/mnt/data/16062025/11/39/image_16062025_11_39_15_10130.jpg', 2), ('/mnt/data/16062025/11/38/image_16062025_11_39_05_10243.jpg', 2), ('/mnt/data/16062025/11/38/image_16062025_11_38_54_10105.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/39/image_16062025_11_39_44_10130.jpg', '/mnt/data/16062025/11/39/image_16062025_11_39_34_10183.jpg', '/mnt/data/16062025/11/39/image_16062025_11_39_24_8915.jpg', '/mnt/data/16062025/11/39/image_16062025_11_39_15_10130.jpg', '/mnt/data/16062025/11/38/image_16062025_11_39_05_10243.jpg', '/mnt/data/16062025/11/38/image_16062025_11_38_54_10105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/39/image_16062025_11_39_44_10130.jpg
/mnt/data/16062025/11/39/image_16062025_11_39_34_10183.jpg
/mnt/data/16062025/11/39/image_16062025_11_39_24_8915.jpg
/mnt/data/16062025/11/39/image_16062025_11_39_15_10130.jpg
/mnt/data/16062025/11/38/image_16062025_11_39_05_10243.jpg
/mnt/data/16062025/11/38/image_16062025_11_38_54_10105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.19497776031494 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:41:02.935363
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/41/image_16062025_11_41_24_10080.jpg', 2), ('/mnt/data/16062025/11/40/image_16062025_11_40_44_9913.jpg', 2), ('/mnt/data/16062025/11/40/image_16062025_11_40_34_9914.jpg', 2), ('/mnt/data/16062025/11/40/image_16062025_11_40_24_9906.jpg', 2), ('/mnt/data/16062025/11/40/image_16062025_11_40_14_9966.jpg', 2), ('/mnt/data/16062025/11/39/image_16062025_11_40_04_10280.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/41/image_16062025_11_41_24_10080.jpg', '/mnt/data/16062025/11/40/image_16062025_11_40_44_9913.jpg', '/mnt/data/16062025/11/40/image_16062025_11_40_34_9914.jpg', '/mnt/data/16062025/11/40/image_16062025_11_40_24_9906.jpg', '/mnt/data/16062025/11/40/image_16062025_11_40_14_9966.jpg', '/mnt/data/16062025/11/39/image_16062025_11_40_04_10280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/41/image_16062025_11_41_24_10080.jpg
/mnt/data/16062025/11/40/image_16062025_11_40_44_9913.jpg
/mnt/data/16062025/11/40/image_16062025_11_40_34_9914.jpg
/mnt/data/16062025/11/40/image_16062025_11_40_24_9906.jpg
/mnt/data/16062025/11/40/image_16062025_11_40_14_9966.jpg
/mnt/data/16062025/11/39/image_16062025_11_40_04_10280.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.29330801963806 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:42:02.326202
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/41/image_16062025_11_41_44_9998.jpg', 2), ('/mnt/data/16062025/11/41/image_16062025_11_41_24_10080.jpg', 2), ('/mnt/data/16062025/11/40/image_16062025_11_41_04_10066.jpg', 2), ('/mnt/data/16062025/11/40/image_16062025_11_40_54_9971.jpg', 2), ('/mnt/data/16062025/11/40/image_16062025_11_40_44_9913.jpg', 2), ('/mnt/data/16062025/11/40/image_16062025_11_40_34_9914.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/41/image_16062025_11_41_44_9998.jpg', '/mnt/data/16062025/11/41/image_16062025_11_41_24_10080.jpg', '/mnt/data/16062025/11/40/image_16062025_11_41_04_10066.jpg', '/mnt/data/16062025/11/40/image_16062025_11_40_54_9971.jpg', '/mnt/data/16062025/11/40/image_16062025_11_40_44_9913.jpg', '/mnt/data/16062025/11/40/image_16062025_11_40_34_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/41/image_16062025_11_41_44_9998.jpg
/mnt/data/16062025/11/41/image_16062025_11_41_24_10080.jpg
/mnt/data/16062025/11/40/image_16062025_11_41_04_10066.jpg
/mnt/data/16062025/11/40/image_16062025_11_40_54_9971.jpg
/mnt/data/16062025/11/40/image_16062025_11_40_44_9913.jpg
/mnt/data/16062025/11/40/image_16062025_11_40_34_9914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.496034145355225 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:43:03.504814
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/42/image_16062025_11_42_44_9929.jpg', 2), ('/mnt/data/16062025/11/42/image_16062025_11_42_34_9055.jpg', 2), ('/mnt/data/16062025/11/42/image_16062025_11_42_25_10143.jpg', 2), ('/mnt/data/16062025/11/42/image_16062025_11_42_15_10095.jpg', 2), ('/mnt/data/16062025/11/41/image_16062025_11_42_05_10302.jpg', 2), ('/mnt/data/16062025/11/41/image_16062025_11_41_54_10053.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/42/image_16062025_11_42_44_9929.jpg', '/mnt/data/16062025/11/42/image_16062025_11_42_34_9055.jpg', '/mnt/data/16062025/11/42/image_16062025_11_42_25_10143.jpg', '/mnt/data/16062025/11/42/image_16062025_11_42_15_10095.jpg', '/mnt/data/16062025/11/41/image_16062025_11_42_05_10302.jpg', '/mnt/data/16062025/11/41/image_16062025_11_41_54_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/42/image_16062025_11_42_44_9929.jpg
/mnt/data/16062025/11/42/image_16062025_11_42_34_9055.jpg
/mnt/data/16062025/11/42/image_16062025_11_42_25_10143.jpg
/mnt/data/16062025/11/42/image_16062025_11_42_15_10095.jpg
/mnt/data/16062025/11/41/image_16062025_11_42_05_10302.jpg
/mnt/data/16062025/11/41/image_16062025_11_41_54_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.981400966644287 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:44:02.705777
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/43/image_16062025_11_43_44_8971.jpg', 2), ('/mnt/data/16062025/11/43/image_16062025_11_43_35_10198.jpg', 2), ('/mnt/data/16062025/11/43/image_16062025_11_43_25_10139.jpg', 2), ('/mnt/data/16062025/11/43/image_16062025_11_43_14_10229.jpg', 2), ('/mnt/data/16062025/11/42/image_16062025_11_43_04_10243.jpg', 2), ('/mnt/data/16062025/11/42/image_16062025_11_42_54_10117.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/43/image_16062025_11_43_44_8971.jpg', '/mnt/data/16062025/11/43/image_16062025_11_43_35_10198.jpg', '/mnt/data/16062025/11/43/image_16062025_11_43_25_10139.jpg', '/mnt/data/16062025/11/43/image_16062025_11_43_14_10229.jpg', '/mnt/data/16062025/11/42/image_16062025_11_43_04_10243.jpg', '/mnt/data/16062025/11/42/image_16062025_11_42_54_10117.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/43/image_16062025_11_43_44_8971.jpg
/mnt/data/16062025/11/43/image_16062025_11_43_35_10198.jpg
/mnt/data/16062025/11/43/image_16062025_11_43_25_10139.jpg
/mnt/data/16062025/11/43/image_16062025_11_43_14_10229.jpg
/mnt/data/16062025/11/42/image_16062025_11_43_04_10243.jpg
/mnt/data/16062025/11/42/image_16062025_11_42_54_10117.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.827152967453003 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:45:02.993603
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/44/image_16062025_11_44_44_8971.jpg', 2), ('/mnt/data/16062025/11/44/image_16062025_11_44_35_10191.jpg', 2), ('/mnt/data/16062025/11/44/image_16062025_11_44_25_10128.jpg', 2), ('/mnt/data/16062025/11/44/image_16062025_11_44_15_10196.jpg', 2), ('/mnt/data/16062025/11/43/image_16062025_11_44_04_10443.jpg', 2), ('/mnt/data/16062025/11/43/image_16062025_11_43_54_10139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/44/image_16062025_11_44_44_8971.jpg', '/mnt/data/16062025/11/44/image_16062025_11_44_35_10191.jpg', '/mnt/data/16062025/11/44/image_16062025_11_44_25_10128.jpg', '/mnt/data/16062025/11/44/image_16062025_11_44_15_10196.jpg', '/mnt/data/16062025/11/43/image_16062025_11_44_04_10443.jpg', '/mnt/data/16062025/11/43/image_16062025_11_43_54_10139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/44/image_16062025_11_44_44_8971.jpg
/mnt/data/16062025/11/44/image_16062025_11_44_35_10191.jpg
/mnt/data/16062025/11/44/image_16062025_11_44_25_10128.jpg
/mnt/data/16062025/11/44/image_16062025_11_44_15_10196.jpg
/mnt/data/16062025/11/43/image_16062025_11_44_04_10443.jpg
/mnt/data/16062025/11/43/image_16062025_11_43_54_10139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.154479503631592 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:46:02.792304
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/45/image_16062025_11_45_44_10140.jpg', 2), ('/mnt/data/16062025/11/45/image_16062025_11_45_34_9013.jpg', 2), ('/mnt/data/16062025/11/45/image_16062025_11_45_25_10175.jpg', 2), ('/mnt/data/16062025/11/45/image_16062025_11_45_15_10124.jpg', 2), ('/mnt/data/16062025/11/44/image_16062025_11_45_04_10512.jpg', 2), ('/mnt/data/16062025/11/44/image_16062025_11_44_54_10143.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/45/image_16062025_11_45_44_10140.jpg', '/mnt/data/16062025/11/45/image_16062025_11_45_34_9013.jpg', '/mnt/data/16062025/11/45/image_16062025_11_45_25_10175.jpg', '/mnt/data/16062025/11/45/image_16062025_11_45_15_10124.jpg', '/mnt/data/16062025/11/44/image_16062025_11_45_04_10512.jpg', '/mnt/data/16062025/11/44/image_16062025_11_44_54_10143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/45/image_16062025_11_45_44_10140.jpg
/mnt/data/16062025/11/45/image_16062025_11_45_34_9013.jpg
/mnt/data/16062025/11/45/image_16062025_11_45_25_10175.jpg
/mnt/data/16062025/11/45/image_16062025_11_45_15_10124.jpg
/mnt/data/16062025/11/44/image_16062025_11_45_04_10512.jpg
/mnt/data/16062025/11/44/image_16062025_11_44_54_10143.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.242191314697266 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:47:03.008682
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/46/image_16062025_11_46_44_10165.jpg', 2), ('/mnt/data/16062025/11/46/image_16062025_11_46_34_10214.jpg', 2), ('/mnt/data/16062025/11/46/image_16062025_11_46_24_8991.jpg', 2), ('/mnt/data/16062025/11/46/image_16062025_11_46_15_10258.jpg', 2), ('/mnt/data/16062025/11/45/image_16062025_11_46_04_10245.jpg', 2), ('/mnt/data/16062025/11/45/image_16062025_11_45_54_10293.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/46/image_16062025_11_46_44_10165.jpg', '/mnt/data/16062025/11/46/image_16062025_11_46_34_10214.jpg', '/mnt/data/16062025/11/46/image_16062025_11_46_24_8991.jpg', '/mnt/data/16062025/11/46/image_16062025_11_46_15_10258.jpg', '/mnt/data/16062025/11/45/image_16062025_11_46_04_10245.jpg', '/mnt/data/16062025/11/45/image_16062025_11_45_54_10293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/46/image_16062025_11_46_44_10165.jpg
/mnt/data/16062025/11/46/image_16062025_11_46_34_10214.jpg
/mnt/data/16062025/11/46/image_16062025_11_46_24_8991.jpg
/mnt/data/16062025/11/46/image_16062025_11_46_15_10258.jpg
/mnt/data/16062025/11/45/image_16062025_11_46_04_10245.jpg
/mnt/data/16062025/11/45/image_16062025_11_45_54_10293.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.757011651992798 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:48:03.063660
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/47/image_16062025_11_47_44_10353.jpg', 2), ('/mnt/data/16062025/11/47/image_16062025_11_47_34_10181.jpg', 2), ('/mnt/data/16062025/11/47/image_16062025_11_47_24_9035.jpg', 2), ('/mnt/data/16062025/11/47/image_16062025_11_47_15_10114.jpg', 2), ('/mnt/data/16062025/11/46/image_16062025_11_47_05_10408.jpg', 2), ('/mnt/data/16062025/11/46/image_16062025_11_46_54_10157.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/47/image_16062025_11_47_44_10353.jpg', '/mnt/data/16062025/11/47/image_16062025_11_47_34_10181.jpg', '/mnt/data/16062025/11/47/image_16062025_11_47_24_9035.jpg', '/mnt/data/16062025/11/47/image_16062025_11_47_15_10114.jpg', '/mnt/data/16062025/11/46/image_16062025_11_47_05_10408.jpg', '/mnt/data/16062025/11/46/image_16062025_11_46_54_10157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/47/image_16062025_11_47_44_10353.jpg
/mnt/data/16062025/11/47/image_16062025_11_47_34_10181.jpg
/mnt/data/16062025/11/47/image_16062025_11_47_24_9035.jpg
/mnt/data/16062025/11/47/image_16062025_11_47_15_10114.jpg
/mnt/data/16062025/11/46/image_16062025_11_47_05_10408.jpg
/mnt/data/16062025/11/46/image_16062025_11_46_54_10157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.215665578842163 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:49:03.328505
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/48/image_16062025_11_48_44_9951.jpg', 2), ('/mnt/data/16062025/11/48/image_16062025_11_48_34_10008.jpg', 2), ('/mnt/data/16062025/11/48/image_16062025_11_48_14_10217.jpg', 2), ('/mnt/data/16062025/11/47/image_16062025_11_48_04_9223.jpg', 2), ('/mnt/data/16062025/11/47/image_16062025_11_47_55_10180.jpg', 2), ('/mnt/data/16062025/11/47/image_16062025_11_47_44_10353.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/48/image_16062025_11_48_44_9951.jpg', '/mnt/data/16062025/11/48/image_16062025_11_48_34_10008.jpg', '/mnt/data/16062025/11/48/image_16062025_11_48_14_10217.jpg', '/mnt/data/16062025/11/47/image_16062025_11_48_04_9223.jpg', '/mnt/data/16062025/11/47/image_16062025_11_47_55_10180.jpg', '/mnt/data/16062025/11/47/image_16062025_11_47_44_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/48/image_16062025_11_48_44_9951.jpg
/mnt/data/16062025/11/48/image_16062025_11_48_34_10008.jpg
/mnt/data/16062025/11/48/image_16062025_11_48_14_10217.jpg
/mnt/data/16062025/11/47/image_16062025_11_48_04_9223.jpg
/mnt/data/16062025/11/47/image_16062025_11_47_55_10180.jpg
/mnt/data/16062025/11/47/image_16062025_11_47_44_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.74106478691101 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:50:03.156055
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/49/image_16062025_11_49_44_9922.jpg', 2), ('/mnt/data/16062025/11/49/image_16062025_11_49_34_9982.jpg', 2), ('/mnt/data/16062025/11/49/image_16062025_11_49_24_9937.jpg', 2), ('/mnt/data/16062025/11/49/image_16062025_11_49_14_9961.jpg', 2), ('/mnt/data/16062025/11/48/image_16062025_11_49_04_10195.jpg', 2), ('/mnt/data/16062025/11/48/image_16062025_11_48_54_9980.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/49/image_16062025_11_49_44_9922.jpg', '/mnt/data/16062025/11/49/image_16062025_11_49_34_9982.jpg', '/mnt/data/16062025/11/49/image_16062025_11_49_24_9937.jpg', '/mnt/data/16062025/11/49/image_16062025_11_49_14_9961.jpg', '/mnt/data/16062025/11/48/image_16062025_11_49_04_10195.jpg', '/mnt/data/16062025/11/48/image_16062025_11_48_54_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/49/image_16062025_11_49_44_9922.jpg
/mnt/data/16062025/11/49/image_16062025_11_49_34_9982.jpg
/mnt/data/16062025/11/49/image_16062025_11_49_24_9937.jpg
/mnt/data/16062025/11/49/image_16062025_11_49_14_9961.jpg
/mnt/data/16062025/11/48/image_16062025_11_49_04_10195.jpg
/mnt/data/16062025/11/48/image_16062025_11_48_54_9980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.27445721626282 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:51:02.408848
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/50/image_16062025_11_50_45_9931.jpg', 2), ('/mnt/data/16062025/11/50/image_16062025_11_50_35_10013.jpg', 2), ('/mnt/data/16062025/11/50/image_16062025_11_50_15_10108.jpg', 2), ('/mnt/data/16062025/11/49/image_16062025_11_50_05_10505.jpg', 2), ('/mnt/data/16062025/11/49/image_16062025_11_49_54_9964.jpg', 2), ('/mnt/data/16062025/11/49/image_16062025_11_49_44_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/50/image_16062025_11_50_45_9931.jpg', '/mnt/data/16062025/11/50/image_16062025_11_50_35_10013.jpg', '/mnt/data/16062025/11/50/image_16062025_11_50_15_10108.jpg', '/mnt/data/16062025/11/49/image_16062025_11_50_05_10505.jpg', '/mnt/data/16062025/11/49/image_16062025_11_49_54_9964.jpg', '/mnt/data/16062025/11/49/image_16062025_11_49_44_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/50/image_16062025_11_50_45_9931.jpg
/mnt/data/16062025/11/50/image_16062025_11_50_35_10013.jpg
/mnt/data/16062025/11/50/image_16062025_11_50_15_10108.jpg
/mnt/data/16062025/11/49/image_16062025_11_50_05_10505.jpg
/mnt/data/16062025/11/49/image_16062025_11_49_54_9964.jpg
/mnt/data/16062025/11/49/image_16062025_11_49_44_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.510210037231445 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:52:02.434373
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/51/image_16062025_11_51_44_10197.jpg', 2), ('/mnt/data/16062025/11/51/image_16062025_11_51_34_9922.jpg', 2), ('/mnt/data/16062025/11/51/image_16062025_11_51_24_9933.jpg', 2), ('/mnt/data/16062025/11/51/image_16062025_11_51_14_10145.jpg', 2), ('/mnt/data/16062025/11/50/image_16062025_11_51_04_9130.jpg', 2), ('/mnt/data/16062025/11/50/image_16062025_11_50_55_10077.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/51/image_16062025_11_51_44_10197.jpg', '/mnt/data/16062025/11/51/image_16062025_11_51_34_9922.jpg', '/mnt/data/16062025/11/51/image_16062025_11_51_24_9933.jpg', '/mnt/data/16062025/11/51/image_16062025_11_51_14_10145.jpg', '/mnt/data/16062025/11/50/image_16062025_11_51_04_9130.jpg', '/mnt/data/16062025/11/50/image_16062025_11_50_55_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/51/image_16062025_11_51_44_10197.jpg
/mnt/data/16062025/11/51/image_16062025_11_51_34_9922.jpg
/mnt/data/16062025/11/51/image_16062025_11_51_24_9933.jpg
/mnt/data/16062025/11/51/image_16062025_11_51_14_10145.jpg
/mnt/data/16062025/11/50/image_16062025_11_51_04_9130.jpg
/mnt/data/16062025/11/50/image_16062025_11_50_55_10077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.403777837753296 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:53:03.002500
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/52/image_16062025_11_52_45_10259.jpg', 2), ('/mnt/data/16062025/11/52/image_16062025_11_52_34_10197.jpg', 2), ('/mnt/data/16062025/11/52/image_16062025_11_52_24_10168.jpg', 2), ('/mnt/data/16062025/11/52/image_16062025_11_52_14_9010.jpg', 2), ('/mnt/data/16062025/11/51/image_16062025_11_52_05_10606.jpg', 2), ('/mnt/data/16062025/11/51/image_16062025_11_51_54_10131.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/52/image_16062025_11_52_45_10259.jpg', '/mnt/data/16062025/11/52/image_16062025_11_52_34_10197.jpg', '/mnt/data/16062025/11/52/image_16062025_11_52_24_10168.jpg', '/mnt/data/16062025/11/52/image_16062025_11_52_14_9010.jpg', '/mnt/data/16062025/11/51/image_16062025_11_52_05_10606.jpg', '/mnt/data/16062025/11/51/image_16062025_11_51_54_10131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/52/image_16062025_11_52_45_10259.jpg
/mnt/data/16062025/11/52/image_16062025_11_52_34_10197.jpg
/mnt/data/16062025/11/52/image_16062025_11_52_24_10168.jpg
/mnt/data/16062025/11/52/image_16062025_11_52_14_9010.jpg
/mnt/data/16062025/11/51/image_16062025_11_52_05_10606.jpg
/mnt/data/16062025/11/51/image_16062025_11_51_54_10131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.940495491027832 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:54:02.869901
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/53/image_16062025_11_53_44_10306.jpg', 2), ('/mnt/data/16062025/11/53/image_16062025_11_53_25_10227.jpg', 2), ('/mnt/data/16062025/11/53/image_16062025_11_53_14_10216.jpg', 2), ('/mnt/data/16062025/11/52/image_16062025_11_53_04_9198.jpg', 2), ('/mnt/data/16062025/11/52/image_16062025_11_52_55_10359.jpg', 2), ('/mnt/data/16062025/11/52/image_16062025_11_52_45_10259.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/53/image_16062025_11_53_44_10306.jpg', '/mnt/data/16062025/11/53/image_16062025_11_53_25_10227.jpg', '/mnt/data/16062025/11/53/image_16062025_11_53_14_10216.jpg', '/mnt/data/16062025/11/52/image_16062025_11_53_04_9198.jpg', '/mnt/data/16062025/11/52/image_16062025_11_52_55_10359.jpg', '/mnt/data/16062025/11/52/image_16062025_11_52_45_10259.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/53/image_16062025_11_53_44_10306.jpg
/mnt/data/16062025/11/53/image_16062025_11_53_25_10227.jpg
/mnt/data/16062025/11/53/image_16062025_11_53_14_10216.jpg
/mnt/data/16062025/11/52/image_16062025_11_53_04_9198.jpg
/mnt/data/16062025/11/52/image_16062025_11_52_55_10359.jpg
/mnt/data/16062025/11/52/image_16062025_11_52_45_10259.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.261840343475342 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 11:59:03.368650
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/58/image_16062025_11_58_44_10264.jpg', 2), ('/mnt/data/16062025/11/58/image_16062025_11_58_34_10146.jpg', 2), ('/mnt/data/16062025/11/58/image_16062025_11_58_24_10204.jpg', 2), ('/mnt/data/16062025/11/58/image_16062025_11_58_14_9023.jpg', 2), ('/mnt/data/16062025/11/57/image_16062025_11_58_05_10268.jpg', 2), ('/mnt/data/16062025/11/57/image_16062025_11_57_55_10095.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/58/image_16062025_11_58_44_10264.jpg', '/mnt/data/16062025/11/58/image_16062025_11_58_34_10146.jpg', '/mnt/data/16062025/11/58/image_16062025_11_58_24_10204.jpg', '/mnt/data/16062025/11/58/image_16062025_11_58_14_9023.jpg', '/mnt/data/16062025/11/57/image_16062025_11_58_05_10268.jpg', '/mnt/data/16062025/11/57/image_16062025_11_57_55_10095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/58/image_16062025_11_58_44_10264.jpg
/mnt/data/16062025/11/58/image_16062025_11_58_34_10146.jpg
/mnt/data/16062025/11/58/image_16062025_11_58_24_10204.jpg
/mnt/data/16062025/11/58/image_16062025_11_58_14_9023.jpg
/mnt/data/16062025/11/57/image_16062025_11_58_05_10268.jpg
/mnt/data/16062025/11/57/image_16062025_11_57_55_10095.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.41720724105835 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:00:02.400678
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/11/59/image_16062025_11_59_44_9919.jpg', 2), ('/mnt/data/16062025/11/59/image_16062025_11_59_34_10062.jpg', 2), ('/mnt/data/16062025/11/59/image_16062025_11_59_24_10134.jpg', 2), ('/mnt/data/16062025/11/59/image_16062025_11_59_14_10145.jpg', 2), ('/mnt/data/16062025/11/58/image_16062025_11_59_04_9141.jpg', 2), ('/mnt/data/16062025/11/58/image_16062025_11_58_55_10233.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/11/59/image_16062025_11_59_44_9919.jpg', '/mnt/data/16062025/11/59/image_16062025_11_59_34_10062.jpg', '/mnt/data/16062025/11/59/image_16062025_11_59_24_10134.jpg', '/mnt/data/16062025/11/59/image_16062025_11_59_14_10145.jpg', '/mnt/data/16062025/11/58/image_16062025_11_59_04_9141.jpg', '/mnt/data/16062025/11/58/image_16062025_11_58_55_10233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/11/59/image_16062025_11_59_44_9919.jpg
/mnt/data/16062025/11/59/image_16062025_11_59_34_10062.jpg
/mnt/data/16062025/11/59/image_16062025_11_59_24_10134.jpg
/mnt/data/16062025/11/59/image_16062025_11_59_14_10145.jpg
/mnt/data/16062025/11/58/image_16062025_11_59_04_9141.jpg
/mnt/data/16062025/11/58/image_16062025_11_58_55_10233.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.249409437179565 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:01:02.572496
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_14_9952.jpg', 2), ('/mnt/data/16062025/11/59/image_16062025_12_00_04_10308.jpg', 2), ('/mnt/data/16062025/11/59/image_16062025_11_59_54_10006.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_14_9952.jpg', '/mnt/data/16062025/11/59/image_16062025_12_00_04_10308.jpg', '/mnt/data/16062025/11/59/image_16062025_11_59_54_10006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/00/image_16062025_12_00_44_9957.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_34_9942.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_24_9939.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_14_9952.jpg
/mnt/data/16062025/11/59/image_16062025_12_00_04_10308.jpg
/mnt/data/16062025/11/59/image_16062025_11_59_54_10006.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.408722639083862 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:02:02.642415
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', 2), ('/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg', '/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg', '/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/01/image_16062025_12_01_44_10114.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_34_9973.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_24_9975.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_14_10148.jpg
/mnt/data/16062025/12/00/image_16062025_12_01_04_10108.jpg
/mnt/data/16062025/12/00/image_16062025_12_00_54_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.93350887298584 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:03:02.821330
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', 2), ('/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg', '/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg', '/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/02/image_16062025_12_02_45_10274.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_34_10176.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_24_10122.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_14_10146.jpg
/mnt/data/16062025/12/01/image_16062025_12_02_04_9260.jpg
/mnt/data/16062025/12/01/image_16062025_12_01_55_10142.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.258212566375732 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:04:02.614174
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', 2), ('/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg', '/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg', '/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/03/image_16062025_12_03_44_10222.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_34_10223.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_24_10104.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_14_9745.jpg
/mnt/data/16062025/12/02/image_16062025_12_03_04_9082.jpg
/mnt/data/16062025/12/02/image_16062025_12_02_55_10225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.192378282546997 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:05:02.802434
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', 2), ('/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg', '/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg', '/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/04/image_16062025_12_04_44_10150.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_34_10298.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_24_9126.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_15_10253.jpg
/mnt/data/16062025/12/03/image_16062025_12_04_05_10271.jpg
/mnt/data/16062025/12/03/image_16062025_12_03_54_10104.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.519465446472168 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:06:02.684028
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', 2), ('/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg', '/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg', '/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/05/image_16062025_12_05_44_9965.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_34_10020.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_24_10177.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_14_10324.jpg
/mnt/data/16062025/12/04/image_16062025_12_05_04_9270.jpg
/mnt/data/16062025/12/04/image_16062025_12_04_55_10155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.238664865493774 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:07:02.990758
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/06/image_16062025_12_06_44_9979.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_06_34_9978.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_06_24_9952.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', 2), ('/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/06/image_16062025_12_06_44_9979.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_34_9978.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_24_9952.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg', '/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg', '/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/06/image_16062025_12_06_44_9979.jpg
/mnt/data/16062025/12/06/image_16062025_12_06_34_9978.jpg
/mnt/data/16062025/12/06/image_16062025_12_06_24_9952.jpg
/mnt/data/16062025/12/06/image_16062025_12_06_14_9966.jpg
/mnt/data/16062025/12/05/image_16062025_12_06_04_10144.jpg
/mnt/data/16062025/12/05/image_16062025_12_05_54_9959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.17909288406372 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:08:04.076273
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_14_9928.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_07_04_10019.jpg', 2), ('/mnt/data/16062025/12/06/image_16062025_12_06_54_9978.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_14_9928.jpg', '/mnt/data/16062025/12/06/image_16062025_12_07_04_10019.jpg', '/mnt/data/16062025/12/06/image_16062025_12_06_54_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/07/image_16062025_12_07_44_9952.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_34_9946.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_24_9964.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_14_9928.jpg
/mnt/data/16062025/12/06/image_16062025_12_07_04_10019.jpg
/mnt/data/16062025/12/06/image_16062025_12_06_54_9978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.367905139923096 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:09:02.790608
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', 2), ('/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg', '/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg', '/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_34_8936.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_25_10153.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_15_10228.jpg
/mnt/data/16062025/12/07/image_16062025_12_08_04_10254.jpg
/mnt/data/16062025/12/07/image_16062025_12_07_54_9996.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.61161231994629 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:10:02.690314
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_34_9026.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_25_10344.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', 2), ('/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_34_9026.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_25_10344.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg', '/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg', '/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_34_9026.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_25_10344.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_15_10159.jpg
/mnt/data/16062025/12/08/image_16062025_12_09_04_10227.jpg
/mnt/data/16062025/12/08/image_16062025_12_08_54_10147.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20559287071228 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:11:02.812761
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_14_10195.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_10_04_9600.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_54_10169.jpg', 2), ('/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_14_10195.jpg', '/mnt/data/16062025/12/09/image_16062025_12_10_04_9600.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_54_10169.jpg', '/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/10/image_16062025_12_10_35_10239.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_24_10185.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_14_10195.jpg
/mnt/data/16062025/12/09/image_16062025_12_10_04_9600.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_54_10169.jpg
/mnt/data/16062025/12/09/image_16062025_12_09_44_10206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.265719413757324 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:12:02.841471
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/11/image_16062025_12_11_45_10011.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_35_10153.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', 2), ('/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/11/image_16062025_12_11_45_10011.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_35_10153.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg', '/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg', '/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/11/image_16062025_12_11_45_10011.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_35_10153.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_25_10330.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_14_9996.jpg
/mnt/data/16062025/12/10/image_16062025_12_11_04_10309.jpg
/mnt/data/16062025/12/10/image_16062025_12_10_54_10205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.246355533599854 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:13:03.103260
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_24_9947.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_14_9923.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_12_04_9165.jpg', 2), ('/mnt/data/16062025/12/11/image_16062025_12_11_55_10055.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_24_9947.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_14_9923.jpg', '/mnt/data/16062025/12/11/image_16062025_12_12_04_9165.jpg', '/mnt/data/16062025/12/11/image_16062025_12_11_55_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/12/image_16062025_12_12_44_9924.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_34_9971.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_24_9947.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_14_9923.jpg
/mnt/data/16062025/12/11/image_16062025_12_12_04_9165.jpg
/mnt/data/16062025/12/11/image_16062025_12_11_55_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22905969619751 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:14:03.212827
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', '/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg
/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.244704008102417 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:15:02.679570
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', '/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg
/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.208219051361084 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:16:02.416447
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', 2), ('/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg', '/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg', '/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_15_11133.jpg
/mnt/data/16062025/12/12/image_16062025_12_13_04_8922.jpg
/mnt/data/16062025/12/12/image_16062025_12_12_55_11115.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.200242519378662 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:17:03.015293
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg', 2), ('/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', 2), ('/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg', '/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/16/image_16062025_12_16_45_9949.jpg
/mnt/data/16062025/12/16/image_16062025_12_16_35_10170.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_55_10021.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_45_9956.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_35_9923.jpg
/mnt/data/16062025/12/13/image_16062025_12_13_25_9953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.210023880004883 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:18:02.722170
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/17/image_16062025_12_17_45_9998.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_17_35_9951.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_17_25_9972.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_17_15_9931.jpg', 2), ('/mnt/data/16062025/12/16/image_16062025_12_17_05_10073.jpg', 2), ('/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/17/image_16062025_12_17_45_9998.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_35_9951.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_25_9972.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_15_9931.jpg', '/mnt/data/16062025/12/16/image_16062025_12_17_05_10073.jpg', '/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/17/image_16062025_12_17_45_9998.jpg
/mnt/data/16062025/12/17/image_16062025_12_17_35_9951.jpg
/mnt/data/16062025/12/17/image_16062025_12_17_25_9972.jpg
/mnt/data/16062025/12/17/image_16062025_12_17_15_9931.jpg
/mnt/data/16062025/12/16/image_16062025_12_17_05_10073.jpg
/mnt/data/16062025/12/16/image_16062025_12_16_55_9974.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.248369216918945 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:19:03.347085
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/18/image_16062025_12_18_44_9992.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_18_34_10058.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_18_24_10001.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_18_14_10081.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_18_04_9260.jpg', 2), ('/mnt/data/16062025/12/17/image_16062025_12_17_55_10006.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/18/image_16062025_12_18_44_9992.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_34_10058.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_24_10001.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_14_10081.jpg', '/mnt/data/16062025/12/17/image_16062025_12_18_04_9260.jpg', '/mnt/data/16062025/12/17/image_16062025_12_17_55_10006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/18/image_16062025_12_18_44_9992.jpg
/mnt/data/16062025/12/18/image_16062025_12_18_34_10058.jpg
/mnt/data/16062025/12/18/image_16062025_12_18_24_10001.jpg
/mnt/data/16062025/12/18/image_16062025_12_18_14_10081.jpg
/mnt/data/16062025/12/17/image_16062025_12_18_04_9260.jpg
/mnt/data/16062025/12/17/image_16062025_12_17_55_10006.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.49051260948181 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:20:02.933171
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg', 2), ('/mnt/data/16062025/12/18/image_16062025_12_18_54_10105.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg', '/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg', '/mnt/data/16062025/12/18/image_16062025_12_18_54_10105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/19/image_16062025_12_19_44_9917.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_34_10003.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_24_10037.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_14_9989.jpg
/mnt/data/16062025/12/18/image_16062025_12_19_04_10224.jpg
/mnt/data/16062025/12/18/image_16062025_12_18_54_10105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.41062021255493 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:21:03.309491
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/20/image_16062025_12_20_45_9927.jpg', 2), ('/mnt/data/16062025/12/20/image_16062025_12_20_35_9972.jpg', 2), ('/mnt/data/16062025/12/20/image_16062025_12_20_25_9962.jpg', 2), ('/mnt/data/16062025/12/20/image_16062025_12_20_15_10062.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_20_05_10261.jpg', 2), ('/mnt/data/16062025/12/19/image_16062025_12_19_54_10049.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/20/image_16062025_12_20_45_9927.jpg', '/mnt/data/16062025/12/20/image_16062025_12_20_35_9972.jpg', '/mnt/data/16062025/12/20/image_16062025_12_20_25_9962.jpg', '/mnt/data/16062025/12/20/image_16062025_12_20_15_10062.jpg', '/mnt/data/16062025/12/19/image_16062025_12_20_05_10261.jpg', '/mnt/data/16062025/12/19/image_16062025_12_19_54_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/20/image_16062025_12_20_45_9927.jpg
/mnt/data/16062025/12/20/image_16062025_12_20_35_9972.jpg
/mnt/data/16062025/12/20/image_16062025_12_20_25_9962.jpg
/mnt/data/16062025/12/20/image_16062025_12_20_15_10062.jpg
/mnt/data/16062025/12/19/image_16062025_12_20_05_10261.jpg
/mnt/data/16062025/12/19/image_16062025_12_19_54_10049.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366536544","1366536616","1366536573","1366536552","1366536564","1366536603"],"photo_ids_order":["1366536544","1366536552","1366536564","1366536573","1366536603","1366536616"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/dbc2cb18bc907baff7b85394c8e79011.jpg","text":"TemporaryFile(/tmp/multipartBody1673135776196394626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750069359150,"filename":"image_16062025_12_20_45_9927.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/7d666c4640418d53799f7efe2f07f201.jpg","text":"TemporaryFile(/tmp/multipartBody3921620044882890560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750069359150,"filename":"image_16062025_12_19_54_10049.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/f5f311e1a36d67faeedc5d4aabc56778.jpg","text":"TemporaryFile(/tmp/multipartBody3586926721784945893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750069359150,"filename":"image_16062025_12_20_15_10062.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/f8eede3ead02e569cd24e315b5984abf.jpg","text":"TemporaryFile(/tmp/multipartBody873401451833243292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750069359150,"filename":"image_16062025_12_20_35_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/6d72f0c7b7b1de02a830c55269adae0f.jpg","text":"TemporaryFile(/tmp/multipartBody9083012846995027301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750069359150,"filename":"image_16062025_12_20_25_9962.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/104942fb9f8781623f0a4799a2809ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4574465967425929514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750069359150,"filename":"image_16062025_12_20_05_10261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366536564","file1":"1366536552","file0":"1366536544","file4":"1366536603","file5":"1366536616","file3":"1366536573"},"map_files_photo_id_array":[{"photo_id":"1366536616","filename":"file5"},{"photo_id":"1366536564","filename":"file2"},{"photo_id":"1366536603","filename":"file4"},{"photo_id":"1366536552","filename":"file1"},{"photo_id":"1366536544","filename":"file0"},{"photo_id":"1366536573","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366536544":["hashtag1","hashtag2"]},{"1366536616":["hashtag1","hashtag2"]},{"1366536573":["hashtag1","hashtag2"]},{"1366536552":["hashtag1","hashtag2"]},{"1366536564":["hashtag1","hashtag2"]},{"1366536603":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366536544, 1366536616, 1366536573, 1366536552, 1366536564, 1366536603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.51870155334473 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:23:03.298614
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', 2), ('/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg', 2), ('/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg', '/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg', '/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg', '/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/22/image_16062025_12_22_44_10174.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_34_10110.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_24_10111.jpg
/mnt/data/16062025/12/22/image_16062025_12_22_14_10182.jpg
/mnt/data/16062025/12/21/image_16062025_12_22_04_9007.jpg
/mnt/data/16062025/12/21/image_16062025_12_21_55_10098.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! 
uploaded 0 photos
time to upload: 145.76190757751465 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:26:02.736773
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_45_10050.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_35_10080.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.1856791973114 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:27:02.972891
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.383007049560547 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:28:03.009572
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', 2), ('/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg', '/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_14_10059.jpg
/mnt/data/16062025/12/24/image_16062025_12_24_55_10065.jpg
uploaded 0 photos
time to upload: 30.501671314239502 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:29:02.965159
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_34_9950.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_24_9998.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20404839515686 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:30:02.627742
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', '/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
/mnt/data/16062025/12/25/image_16062025_12_25_54_10001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.766396284103394 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:31:02.824692
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 40.467833042144775 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:32:02.719600
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22467565536499 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:33:03.070348
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2166748046875 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:34:03.146577
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.337172985076904 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:35:03.286530
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.18009638786316 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:36:03.153977
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20274567604065 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:37:03.489057
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.561548948287964 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:38:02.505182
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.25293207168579 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:39:02.966181
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.30305242538452 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:40:02.773978
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2), ('/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', '/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
/mnt/data/16062025/12/25/image_16062025_12_26_04_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.17384624481201 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=30)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:41:02.779487
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.477638959884644 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:42:03.057265
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.202396392822266 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:43:03.161220
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.79990100860596 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:44:03.329841
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.82946586608887 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:45:02.724575
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.354292392730713 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:46:02.749341
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.242175102233887 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:47:03.183792
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2156400680542 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:48:03.042197
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.273658990859985 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:49:03.491187
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20223903656006 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:50:03.441835
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.529271125793457 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:51:03.037556
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', 2), ('/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', 2), ('/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', '/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg', '/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg', '/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
/mnt/data/16062025/12/28/image_16062025_12_29_04_10531.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_54_8953.jpg
/mnt/data/16062025/12/28/image_16062025_12_28_45_10164.jpg
/mnt/data/16062025/12/26/image_16062025_12_26_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.310190677642822 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:52:02.965472
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg', 2), ('/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', 2), ('/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', 2), ('/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', 2), ('/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg', '/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', '/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg', '/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg', '/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg
/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg
/mnt/data/16062025/12/40/image_16062025_12_40_14_10026.jpg
/mnt/data/16062025/12/30/image_16062025_12_30_14_10042.jpg
/mnt/data/16062025/12/29/image_16062025_12_29_14_10183.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.328617811203003 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:53:03.296934
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg', 2), ('/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', '/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg', '/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_15_10196.jpg
/mnt/data/16062025/12/50/image_16062025_12_51_05_10247.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.306737184524536 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:54:03.195130
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg', 2), ('/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', '/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg', '/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
/mnt/data/16062025/12/51/image_16062025_12_52_04_10242.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_54_10062.jpg
/mnt/data/16062025/12/51/image_16062025_12_51_44_10206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.176284790039062 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 12:59:03.658828
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg', '/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg
/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.285192012786865 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:00:02.407488
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg', 2), ('/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg', 2), ('/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg', 2), ('/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg', '/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg', '/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg', '/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg', '/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg
/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg
/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg
/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg
/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.49379849433899 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:01:02.789939
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg', 2), ('/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg', 2), ('/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg', 2), ('/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg', '/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg', '/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg', '/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg', '/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg
/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg
/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg
/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg
/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.294757843017578 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:02:02.544352
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/12/58/image_16062025_12_58_54_9925.jpg', 2), ('/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg', 2), ('/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg', 2), ('/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg', 2), ('/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/12/58/image_16062025_12_58_54_9925.jpg', '/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg', '/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg', '/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg', '/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg', '/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/12/58/image_16062025_12_58_54_9925.jpg
/mnt/data/16062025/12/58/image_16062025_12_58_44_9924.jpg
/mnt/data/16062025/12/58/image_16062025_12_58_24_9925.jpg
/mnt/data/16062025/12/56/image_16062025_12_56_14_9985.jpg
/mnt/data/16062025/12/55/image_16062025_12_56_04_10174.jpg
/mnt/data/16062025/12/54/image_16062025_12_55_04_10390.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366540191","1366539893","1366540131","1366540029","1366540238","1366539937"],"photo_ids_order":["1366539893","1366539937","1366540029","1366540131","1366540191","1366540238"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/fb5b0704e8a8169c5d27b39eb1e6a447.jpg","text":"TemporaryFile(/tmp/multipartBody686981497134529917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750071799698,"filename":"image_16062025_12_56_04_10174.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/302c367c631fbedf5722375fe19c554e.jpg","text":"TemporaryFile(/tmp/multipartBody1090616435493923517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750071799698,"filename":"image_16062025_12_58_54_9925.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/fe6f90b7641309d994327a7f1d23d26e.jpg","text":"TemporaryFile(/tmp/multipartBody1902070883924380711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750071799698,"filename":"image_16062025_12_56_14_9985.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/9450307eb2ec065e21941660a53e6a84.jpg","text":"TemporaryFile(/tmp/multipartBody751191948273556535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750071799698,"filename":"image_16062025_12_58_24_9925.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/a5a0879a04cda0ff6a73877ad1d75de0.jpg","text":"TemporaryFile(/tmp/multipartBody7261413420398396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750071799698,"filename":"image_16062025_12_55_04_10390.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/f715a1f2ad22b7471c51d900eec48fde.jpg","text":"TemporaryFile(/tmp/multipartBody2308711958426632555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750071799698,"filename":"image_16062025_12_58_44_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366540029","file1":"1366539937","file0":"1366539893","file4":"1366540191","file5":"1366540238","file3":"1366540131"},"map_files_photo_id_array":[{"photo_id":"1366540238","filename":"file5"},{"photo_id":"1366540029","filename":"file2"},{"photo_id":"1366540191","filename":"file4"},{"photo_id":"1366539937","filename":"file1"},{"photo_id":"1366539893","filename":"file0"},{"photo_id":"1366540131","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366540191":["hashtag1","hashtag2"]},{"1366539893":["hashtag1","hashtag2"]},{"1366540131":["hashtag1","hashtag2"]},{"1366540029":["hashtag1","hashtag2"]},{"1366540238":["hashtag1","hashtag2"]},{"1366539937":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366540191, 1366539893, 1366540131, 1366540029, 1366540238, 1366539937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.08291673660278 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:04:02.822655
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19993782043457 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:05:03.079010
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.62419605255127 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:06:03.003550
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.44635510444641 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:07:03.565634
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.670995235443115 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:08:03.250211
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.809108018875122 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:09:03.195113
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.89381408691406 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:10:03.098453
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg', '/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_34_9982.jpg
/mnt/data/16062025/12/52/image_16062025_12_52_24_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.04134440422058 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:11:03.091643
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2), ('/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', '/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
/mnt/data/16062025/12/52/image_16062025_12_53_04_10106.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 35.17291593551636 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:12:03.109747
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.72205400466919 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:13:03.267031
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.49359679222107 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:14:03.154981
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.38165259361267 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:15:03.694551
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.427131175994873 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:16:02.983367
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.848354816436768 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:17:03.376276
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.995208978652954 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:18:02.992680
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.11776328086853 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:19:03.021520
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.96101689338684 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:20:03.135397
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2), ('/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', '/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
/mnt/data/16062025/12/53/image_16062025_12_53_24_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.015793323516846 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:21:03.464793
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.303094625473022 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:22:03.328568
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.007251262664795 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:23:02.532772
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.913982152938843 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:24:02.625088
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.186288356781006 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:25:02.611003
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.262294054031372 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:26:02.633206
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.678213119506836 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:27:02.987024
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.78517937660217 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:28:03.068551
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.86583971977234 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:29:03.734961
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.45250701904297 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:30:02.379530
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2), ('/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', '/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
/mnt/data/16062025/12/54/image_16062025_12_54_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.928988218307495 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:31:02.792413
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', 2), ('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.08726954460144 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:32:02.565622
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', 2), ('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.68500566482544 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:33:02.744047
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', 2), ('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2), ('/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', '/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
/mnt/data/16062025/13/00/image_16062025_13_00_14_8847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.01066303253174 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:34:02.829726
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', 2), ('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.66037130355835 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:35:03.361646
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', 2), ('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.62109375 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:36:03.202571
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', 2), ('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2), ('/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg', 2), ('/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', 2), ('/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', '/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg', '/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg', '/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
/mnt/data/16062025/13/10/image_16062025_13_10_14_10126.jpg
/mnt/data/16062025/13/09/image_16062025_13_10_04_9290.jpg
/mnt/data/16062025/13/02/image_16062025_13_03_04_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.278654098510742 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:37:02.992440
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_36_24_9972.jpg', 2), ('/mnt/data/16062025/13/33/image_16062025_13_33_25_10013.jpg', 2), ('/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', 2), ('/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', 2), ('/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_24_9972.jpg', '/mnt/data/16062025/13/33/image_16062025_13_33_25_10013.jpg', '/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg', '/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg', '/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/36/image_16062025_13_36_44_9957.jpg
/mnt/data/16062025/13/36/image_16062025_13_36_24_9972.jpg
/mnt/data/16062025/13/33/image_16062025_13_33_25_10013.jpg
/mnt/data/16062025/13/30/image_16062025_13_30_34_10183.jpg
/mnt/data/16062025/13/21/image_16062025_13_21_24_10183.jpg
/mnt/data/16062025/13/12/image_16062025_13_12_15_10148.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.24948239326477 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:38:03.454126
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg', 2), ('/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg', '/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg', '/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg', '/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/37/image_16062025_13_37_44_9942.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_34_9955.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_24_9936.jpg
/mnt/data/16062025/13/37/image_16062025_13_37_14_9941.jpg
/mnt/data/16062025/13/36/image_16062025_13_37_04_10239.jpg
/mnt/data/16062025/13/36/image_16062025_13_36_54_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.294257402420044 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:39:02.658440
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/39/image_16062025_13_39_45_10030.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_38_44_9954.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_38_34_9955.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_38_24_9898.jpg', 2), ('/mnt/data/16062025/13/38/image_16062025_13_38_14_9929.jpg', 2), ('/mnt/data/16062025/13/37/image_16062025_13_38_05_10531.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/39/image_16062025_13_39_45_10030.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_44_9954.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_34_9955.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_24_9898.jpg', '/mnt/data/16062025/13/38/image_16062025_13_38_14_9929.jpg', '/mnt/data/16062025/13/37/image_16062025_13_38_05_10531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/39/image_16062025_13_39_45_10030.jpg
/mnt/data/16062025/13/38/image_16062025_13_38_44_9954.jpg
/mnt/data/16062025/13/38/image_16062025_13_38_34_9955.jpg
/mnt/data/16062025/13/38/image_16062025_13_38_24_9898.jpg
/mnt/data/16062025/13/38/image_16062025_13_38_14_9929.jpg
/mnt/data/16062025/13/37/image_16062025_13_38_05_10531.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
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366543694","1366543703","1366543709","1366543714","1366543686","1366543677"],"photo_ids_order":["1366543677","1366543686","1366543694","1366543703","1366543709","1366543714"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/07b8c145f80112b4a3e6d37ba3c0d07a.jpg","text":"TemporaryFile(/tmp/multipartBody5769013812889738984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750074033185,"filename":"image_16062025_13_38_34_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/298a782c0bdfcbc170a548b953a8f489.jpg","text":"TemporaryFile(/tmp/multipartBody4781721749937517671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750074033185,"filename":"image_16062025_13_38_24_9898.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/1ffe4b44242cd7da631cb71853edb6f6.jpg","text":"TemporaryFile(/tmp/multipartBody4792608719678122777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750074033185,"filename":"image_16062025_13_38_14_9929.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/bfec64a8d40c0eb098dd0200b74d31a9.jpg","text":"TemporaryFile(/tmp/multipartBody5595585192806346426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750074033185,"filename":"image_16062025_13_38_05_10531.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/a6f4c1e38a3d30dc5449758742ace3ae.jpg","text":"TemporaryFile(/tmp/multipartBody2658242264431236121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750074033185,"filename":"image_16062025_13_38_44_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/28d5dccf9a171a8bec8621ba89a80842.jpg","text":"TemporaryFile(/tmp/multipartBody5463875867537646650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750074033185,"filename":"image_16062025_13_39_45_10030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366543694","file1":"1366543686","file0":"1366543677","file4":"1366543709","file5":"1366543714","file3":"1366543703"},"map_files_photo_id_array":[{"photo_id":"1366543714","filename":"file5"},{"photo_id":"1366543694","filename":"file2"},{"photo_id":"1366543709","filename":"file4"},{"photo_id":"1366543686","filename":"file1"},{"photo_id":"1366543677","filename":"file0"},{"photo_id":"1366543703","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366543694":["hashtag1","hashtag2"]},{"1366543703":["hashtag1","hashtag2"]},{"1366543709":["hashtag1","hashtag2"]},{"1366543714":["hashtag1","hashtag2"]},{"1366543686":["hashtag1","hashtag2"]},{"1366543677":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366543694, 1366543703, 1366543709, 1366543714, 1366543686, 1366543677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 147.41107034683228 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:42:02.547666
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', '/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg
/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.184237241744995 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:43:02.736058
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', '/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg
/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.316298246383667 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:44:02.795596
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', '/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg
/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.272695779800415 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:45:02.987985
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', 2), ('/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg', '/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg', '/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/41/image_16062025_13_41_24_9942.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_14_9916.jpg
/mnt/data/16062025/13/40/image_16062025_13_41_04_9949.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_54_10024.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_44_10133.jpg
/mnt/data/16062025/13/40/image_16062025_13_40_24_10082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.166735887527466 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:46:03.156165
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg', 2), ('/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg', 2), ('/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg', '/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg', '/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/45/image_16062025_13_45_44_9913.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_34_9937.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_24_9964.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_14_9936.jpg
/mnt/data/16062025/13/44/image_16062025_13_45_04_10322.jpg
/mnt/data/16062025/13/41/image_16062025_13_41_34_10143.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.486252784729004 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:47:03.261618
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/46/image_16062025_13_46_44_9920.jpg', 2), ('/mnt/data/16062025/13/46/image_16062025_13_46_34_9944.jpg', 2), ('/mnt/data/16062025/13/46/image_16062025_13_46_24_9947.jpg', 2), ('/mnt/data/16062025/13/46/image_16062025_13_46_14_9932.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg', 2), ('/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/46/image_16062025_13_46_44_9920.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_34_9944.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_24_9947.jpg', '/mnt/data/16062025/13/46/image_16062025_13_46_14_9932.jpg', '/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg', '/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/46/image_16062025_13_46_44_9920.jpg
/mnt/data/16062025/13/46/image_16062025_13_46_34_9944.jpg
/mnt/data/16062025/13/46/image_16062025_13_46_24_9947.jpg
/mnt/data/16062025/13/46/image_16062025_13_46_14_9932.jpg
/mnt/data/16062025/13/45/image_16062025_13_46_04_10137.jpg
/mnt/data/16062025/13/45/image_16062025_13_45_54_9951.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! 
uploaded 0 photos
time to upload: 138.51079154014587 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:49:26.680036
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg', '/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg
/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg
uploaded 0 photos
time to upload: 30.227856874465942 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:50:02.655742
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', 2), ('/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg', '/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg', '/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg
/mnt/data/16062025/13/48/image_16062025_13_49_04_10449.jpg
/mnt/data/16062025/13/48/image_16062025_13_48_54_10170.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.192877054214478 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:51:02.845586
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_15_10171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.245407581329346 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:52:02.999160
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg', '/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg
/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_35_10006.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_25_10131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21100878715515 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:53:03.315738
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', 2), ('/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', 2), ('/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', '/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', '/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg', '/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg
/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg
/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg
/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_45_9968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.201154947280884 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:54:03.192530
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg', 2), ('/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', 2), ('/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', 2), ('/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', 2), ('/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg', '/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', '/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', '/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg', '/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg', '/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg
/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg
/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg
/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg
/mnt/data/16062025/13/49/image_16062025_13_50_05_10190.jpg
/mnt/data/16062025/13/49/image_16062025_13_49_55_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 143.2940697669983 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 13:59:03.180215
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/55/image_16062025_13_55_14_9996.jpg', 2), ('/mnt/data/16062025/13/53/image_16062025_13_53_14_9994.jpg', 2), ('/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg', 2), ('/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', 2), ('/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', 2), ('/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/55/image_16062025_13_55_14_9996.jpg', '/mnt/data/16062025/13/53/image_16062025_13_53_14_9994.jpg', '/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg', '/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg', '/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg', '/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/55/image_16062025_13_55_14_9996.jpg
/mnt/data/16062025/13/53/image_16062025_13_53_14_9994.jpg
/mnt/data/16062025/13/52/image_16062025_13_52_34_9954.jpg
/mnt/data/16062025/13/51/image_16062025_13_52_04_10316.jpg
/mnt/data/16062025/13/51/image_16062025_13_51_24_10026.jpg
/mnt/data/16062025/13/50/image_16062025_13_50_15_9981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.62079739570618 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:00:03.059628
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', 2), ('/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg', '/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg', '/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/13/59/image_16062025_13_59_44_10103.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_34_10064.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_24_10012.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_14_9971.jpg
/mnt/data/16062025/13/58/image_16062025_13_59_04_9964.jpg
/mnt/data/16062025/13/58/image_16062025_13_58_54_9933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.30892539024353 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:01:03.284473
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg', 2), ('/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg', '/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg', '/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/00/image_16062025_14_00_44_10165.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_34_10073.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_24_8900.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_15_10141.jpg
/mnt/data/16062025/13/59/image_16062025_14_00_05_10511.jpg
/mnt/data/16062025/13/59/image_16062025_13_59_54_10083.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.232866525650024 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:02:03.263719
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg', 2), ('/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg', '/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg', '/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/01/image_16062025_14_01_44_8932.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_35_10141.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_25_10160.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_14_10092.jpg
/mnt/data/16062025/14/00/image_16062025_14_01_04_10236.jpg
/mnt/data/16062025/14/00/image_16062025_14_00_54_10165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.610310792922974 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:03:03.678727
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', 2), ('/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg', '/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg', '/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/02/image_16062025_14_02_45_11183.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_34_9014.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_25_10180.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_14_10135.jpg
/mnt/data/16062025/14/01/image_16062025_14_02_04_10456.jpg
/mnt/data/16062025/14/01/image_16062025_14_01_54_10194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.244143962860107 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:04:02.610146
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', 2), ('/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg', '/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg', '/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/03/image_16062025_14_03_44_9062.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_35_10196.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_25_10202.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_14_10204.jpg
/mnt/data/16062025/14/02/image_16062025_14_03_04_10478.jpg
/mnt/data/16062025/14/02/image_16062025_14_02_54_8895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.741952657699585 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:05:02.690630
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', 2), ('/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg', '/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg', '/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/04/image_16062025_14_04_44_10285.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_34_10094.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_24_10185.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_14_8950.jpg
/mnt/data/16062025/14/03/image_16062025_14_04_05_10651.jpg
/mnt/data/16062025/14/03/image_16062025_14_03_54_10176.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22627067565918 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:06:02.686439
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', 2), ('/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg', '/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg', '/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_14_10250.jpg
/mnt/data/16062025/14/04/image_16062025_14_05_04_9427.jpg
/mnt/data/16062025/14/04/image_16062025_14_04_54_10184.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.54539728164673 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:07:02.950219
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', '/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg
/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.209830284118652 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:08:02.891925
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', '/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg
/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.1884708404541 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:09:03.207819
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', '/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg
/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.215234518051147 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:10:03.462020
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', 2), ('/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', '/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg', '/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg
/mnt/data/16062025/14/05/image_16062025_14_06_05_10059.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_55_9969.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_45_10037.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_35_10172.jpg
/mnt/data/16062025/14/05/image_16062025_14_05_24_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.271891355514526 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:11:03.377093
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/10/image_16062025_14_10_44_9957.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_10_34_9977.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_10_24_9955.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_10_14_10104.jpg', 2), ('/mnt/data/16062025/14/06/image_16062025_14_06_25_9972.jpg', 2), ('/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/10/image_16062025_14_10_44_9957.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_34_9977.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_24_9955.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_14_10104.jpg', '/mnt/data/16062025/14/06/image_16062025_14_06_25_9972.jpg', '/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/10/image_16062025_14_10_44_9957.jpg
/mnt/data/16062025/14/10/image_16062025_14_10_34_9977.jpg
/mnt/data/16062025/14/10/image_16062025_14_10_24_9955.jpg
/mnt/data/16062025/14/10/image_16062025_14_10_14_10104.jpg
/mnt/data/16062025/14/06/image_16062025_14_06_25_9972.jpg
/mnt/data/16062025/14/06/image_16062025_14_06_15_9940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.221039056777954 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:12:02.389282
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/11/image_16062025_14_11_44_9980.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_34_9973.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_24_9957.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_14_9958.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_11_04_10140.jpg', 2), ('/mnt/data/16062025/14/10/image_16062025_14_10_54_9968.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/11/image_16062025_14_11_44_9980.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_34_9973.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_24_9957.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_14_9958.jpg', '/mnt/data/16062025/14/10/image_16062025_14_11_04_10140.jpg', '/mnt/data/16062025/14/10/image_16062025_14_10_54_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/11/image_16062025_14_11_44_9980.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_34_9973.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_24_9957.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_14_9958.jpg
/mnt/data/16062025/14/10/image_16062025_14_11_04_10140.jpg
/mnt/data/16062025/14/10/image_16062025_14_10_54_9968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.402463674545288 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:13:02.782199
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', 2), ('/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg', '/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg', '/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/12/image_16062025_14_12_44_8951.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_35_11120.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_24_8929.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_15_10218.jpg
/mnt/data/16062025/14/11/image_16062025_14_12_05_10442.jpg
/mnt/data/16062025/14/11/image_16062025_14_11_54_10188.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.182273626327515 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:14:02.873259
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', 2), ('/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg', '/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg', '/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/13/image_16062025_14_13_45_10167.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_35_9935.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_25_10142.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_15_10284.jpg
/mnt/data/16062025/14/12/image_16062025_14_13_04_10580.jpg
/mnt/data/16062025/14/12/image_16062025_14_12_54_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.26862931251526 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:15:02.956177
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', 2), ('/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg', '/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg', '/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_35_10190.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_24_9970.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_14_10218.jpg
/mnt/data/16062025/14/13/image_16062025_14_14_04_10455.jpg
/mnt/data/16062025/14/13/image_16062025_14_13_54_8989.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.460620164871216 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:16:02.884414
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg', 2), ('/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg', '/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg', '/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/15/image_16062025_14_15_45_10137.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_35_10134.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_14_10148.jpg
/mnt/data/16062025/14/14/image_16062025_14_15_04_9206.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_55_10110.jpg
/mnt/data/16062025/14/14/image_16062025_14_14_45_10013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.238542318344116 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:17:03.431874
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg', 2), ('/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg', '/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg', '/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/16/image_16062025_14_16_44_9936.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_34_10018.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_24_9970.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_14_10031.jpg
/mnt/data/16062025/14/15/image_16062025_14_16_04_9055.jpg
/mnt/data/16062025/14/15/image_16062025_14_15_55_10009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.60942840576172 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:18:03.289588
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/17/image_16062025_14_17_44_10028.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_17_34_9959.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_17_24_9974.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_17_14_9968.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_17_04_10126.jpg', 2), ('/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/17/image_16062025_14_17_44_10028.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_34_9959.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_24_9974.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_14_9968.jpg', '/mnt/data/16062025/14/16/image_16062025_14_17_04_10126.jpg', '/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/17/image_16062025_14_17_44_10028.jpg
/mnt/data/16062025/14/17/image_16062025_14_17_34_9959.jpg
/mnt/data/16062025/14/17/image_16062025_14_17_24_9974.jpg
/mnt/data/16062025/14/17/image_16062025_14_17_14_9968.jpg
/mnt/data/16062025/14/16/image_16062025_14_17_04_10126.jpg
/mnt/data/16062025/14/16/image_16062025_14_16_54_9976.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.41555118560791 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:19:03.638722
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/18/image_16062025_14_18_44_9977.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_18_34_10027.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_18_24_10011.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_18_14_10004.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_18_04_10198.jpg', 2), ('/mnt/data/16062025/14/17/image_16062025_14_17_54_10055.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/18/image_16062025_14_18_44_9977.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_34_10027.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_24_10011.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_14_10004.jpg', '/mnt/data/16062025/14/17/image_16062025_14_18_04_10198.jpg', '/mnt/data/16062025/14/17/image_16062025_14_17_54_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/18/image_16062025_14_18_44_9977.jpg
/mnt/data/16062025/14/18/image_16062025_14_18_34_10027.jpg
/mnt/data/16062025/14/18/image_16062025_14_18_24_10011.jpg
/mnt/data/16062025/14/18/image_16062025_14_18_14_10004.jpg
/mnt/data/16062025/14/17/image_16062025_14_18_04_10198.jpg
/mnt/data/16062025/14/17/image_16062025_14_17_54_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.86450552940369 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:20:02.500999
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg', 2), ('/mnt/data/16062025/14/18/image_16062025_14_18_54_9980.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg', '/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg', '/mnt/data/16062025/14/18/image_16062025_14_18_54_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/19/image_16062025_14_19_44_9962.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_34_9908.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_24_9951.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_14_10002.jpg
/mnt/data/16062025/14/18/image_16062025_14_19_04_10175.jpg
/mnt/data/16062025/14/18/image_16062025_14_18_54_9980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.68286657333374 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:21:02.822174
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', 2), ('/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg', 2), ('/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg', '/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg', '/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg', '/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/20/image_16062025_14_20_44_9974.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_34_9949.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_24_9902.jpg
/mnt/data/16062025/14/20/image_16062025_14_20_14_9928.jpg
/mnt/data/16062025/14/19/image_16062025_14_20_04_10168.jpg
/mnt/data/16062025/14/19/image_16062025_14_19_54_9947.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! 
uploaded 0 photos
time to upload: 148.38181161880493 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:24:03.238264
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg', 2), ('/mnt/data/16062025/14/22/image_16062025_14_22_55_10160.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg', '/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg', '/mnt/data/16062025/14/22/image_16062025_14_22_55_10160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/23/image_16062025_14_23_44_9959.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_35_9915.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_25_9918.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_15_10055.jpg
/mnt/data/16062025/14/22/image_16062025_14_23_05_10122.jpg
/mnt/data/16062025/14/22/image_16062025_14_22_55_10160.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.179719924926758 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:25:03.521829
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg', '/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg
/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.873995304107666 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:26:03.331697
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg', 2), ('/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg', '/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg', '/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_34_9941.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_24_9928.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_14_9953.jpg
/mnt/data/16062025/14/23/image_16062025_14_24_04_10026.jpg
/mnt/data/16062025/14/23/image_16062025_14_23_54_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.668462991714478 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:27:03.394683
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/26/image_16062025_14_26_44_9949.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_34_9965.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_24_9978.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_14_9946.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_54_10069.jpg', 2), ('/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/26/image_16062025_14_26_44_9949.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_34_9965.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_24_9978.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_14_9946.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_54_10069.jpg', '/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/26/image_16062025_14_26_44_9949.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_34_9965.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_24_9978.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_14_9946.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_54_10069.jpg
/mnt/data/16062025/14/24/image_16062025_14_24_44_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.3665189743042 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:28:03.184814
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_27_04_10235.jpg', 2), ('/mnt/data/16062025/14/26/image_16062025_14_26_54_9954.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg', '/mnt/data/16062025/14/26/image_16062025_14_27_04_10235.jpg', '/mnt/data/16062025/14/26/image_16062025_14_26_54_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/27/image_16062025_14_27_45_10094.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_34_10112.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_24_10096.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_14_10018.jpg
/mnt/data/16062025/14/26/image_16062025_14_27_04_10235.jpg
/mnt/data/16062025/14/26/image_16062025_14_26_54_9954.jpg
uploaded 0 photos
time to upload: 30.307355880737305 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:29:03.542494
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/28/image_16062025_14_28_44_9925.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_34_9922.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_24_10055.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_14_10092.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg', 2), ('/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/28/image_16062025_14_28_44_9925.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_34_9922.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_24_10055.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_14_10092.jpg', '/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg', '/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/28/image_16062025_14_28_44_9925.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_34_9922.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_24_10055.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_14_10092.jpg
/mnt/data/16062025/14/27/image_16062025_14_28_04_9148.jpg
/mnt/data/16062025/14/27/image_16062025_14_27_55_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23035478591919 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:30:02.677333
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/29/image_16062025_14_29_45_9924.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_35_9996.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_25_9969.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_15_9947.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_29_05_9992.jpg', 2), ('/mnt/data/16062025/14/28/image_16062025_14_28_55_11108.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/29/image_16062025_14_29_45_9924.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_35_9996.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_25_9969.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_15_9947.jpg', '/mnt/data/16062025/14/28/image_16062025_14_29_05_9992.jpg', '/mnt/data/16062025/14/28/image_16062025_14_28_55_11108.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/29/image_16062025_14_29_45_9924.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_35_9996.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_25_9969.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_15_9947.jpg
/mnt/data/16062025/14/28/image_16062025_14_29_05_9992.jpg
/mnt/data/16062025/14/28/image_16062025_14_28_55_11108.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.830689907073975 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:31:03.032945
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_30_04_9088.jpg', 2), ('/mnt/data/16062025/14/29/image_16062025_14_29_55_9971.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg', '/mnt/data/16062025/14/29/image_16062025_14_30_04_9088.jpg', '/mnt/data/16062025/14/29/image_16062025_14_29_55_9971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/30/image_16062025_14_30_45_9905.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_35_9947.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_25_9931.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_15_11120.jpg
/mnt/data/16062025/14/29/image_16062025_14_30_04_9088.jpg
/mnt/data/16062025/14/29/image_16062025_14_29_55_9971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.33747935295105 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:32:03.153283
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg', 2), ('/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg', '/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg', '/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/31/image_16062025_14_31_44_10164.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_34_10138.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_24_8989.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_15_10190.jpg
/mnt/data/16062025/14/30/image_16062025_14_31_05_9993.jpg
/mnt/data/16062025/14/30/image_16062025_14_30_55_9959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.166630506515503 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:33:03.281799
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/32/image_16062025_14_32_44_10255.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_34_10206.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_24_8975.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_15_9947.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', 2), ('/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/32/image_16062025_14_32_44_10255.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_34_10206.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_24_8975.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_15_9947.jpg', '/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg', '/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/32/image_16062025_14_32_44_10255.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_34_10206.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_24_8975.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_15_9947.jpg
/mnt/data/16062025/14/31/image_16062025_14_32_05_10471.jpg
/mnt/data/16062025/14/31/image_16062025_14_31_54_10256.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.373422861099243 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:34:03.479148
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_33_04_10470.jpg', 2), ('/mnt/data/16062025/14/32/image_16062025_14_32_54_9834.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg', '/mnt/data/16062025/14/32/image_16062025_14_33_04_10470.jpg', '/mnt/data/16062025/14/32/image_16062025_14_32_54_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/33/image_16062025_14_33_44_10160.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_34_10144.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_24_9015.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_15_10227.jpg
/mnt/data/16062025/14/32/image_16062025_14_33_04_10470.jpg
/mnt/data/16062025/14/32/image_16062025_14_32_54_9834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.66246747970581 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:35:02.725525
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_34_10159.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_24_10176.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_14_8995.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', 2), ('/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_34_10159.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_24_10176.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_14_8995.jpg', '/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg', '/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_34_10159.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_24_10176.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_14_8995.jpg
/mnt/data/16062025/14/33/image_16062025_14_34_05_10588.jpg
/mnt/data/16062025/14/33/image_16062025_14_33_54_10194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.799018144607544 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:36:02.628207
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_35_04_10064.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_54_9917.jpg', 2), ('/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg', '/mnt/data/16062025/14/34/image_16062025_14_35_04_10064.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_54_9917.jpg', '/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/35/image_16062025_14_35_44_9931.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_34_9944.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_24_9952.jpg
/mnt/data/16062025/14/34/image_16062025_14_35_04_10064.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_54_9917.jpg
/mnt/data/16062025/14/34/image_16062025_14_34_44_10139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.198480129241943 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:37:02.373509
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/36/image_16062025_14_36_44_9961.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_36_34_9913.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_36_24_9916.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg', 2), ('/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/36/image_16062025_14_36_44_9961.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_34_9913.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_24_9916.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg', '/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg', '/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/36/image_16062025_14_36_44_9961.jpg
/mnt/data/16062025/14/36/image_16062025_14_36_34_9913.jpg
/mnt/data/16062025/14/36/image_16062025_14_36_24_9916.jpg
/mnt/data/16062025/14/36/image_16062025_14_36_14_9935.jpg
/mnt/data/16062025/14/35/image_16062025_14_36_04_10251.jpg
/mnt/data/16062025/14/35/image_16062025_14_35_54_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.28888463973999 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:38:02.629917
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/37/image_16062025_14_37_44_10002.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_37_34_10000.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_37_24_10026.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_37_14_9984.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_37_04_10299.jpg', 2), ('/mnt/data/16062025/14/36/image_16062025_14_36_54_9972.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/37/image_16062025_14_37_44_10002.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_34_10000.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_24_10026.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_14_9984.jpg', '/mnt/data/16062025/14/36/image_16062025_14_37_04_10299.jpg', '/mnt/data/16062025/14/36/image_16062025_14_36_54_9972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/37/image_16062025_14_37_44_10002.jpg
/mnt/data/16062025/14/37/image_16062025_14_37_34_10000.jpg
/mnt/data/16062025/14/37/image_16062025_14_37_24_10026.jpg
/mnt/data/16062025/14/37/image_16062025_14_37_14_9984.jpg
/mnt/data/16062025/14/36/image_16062025_14_37_04_10299.jpg
/mnt/data/16062025/14/36/image_16062025_14_36_54_9972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.354031324386597 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:39:03.271607
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_14_10032.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_38_04_10144.jpg', 2), ('/mnt/data/16062025/14/37/image_16062025_14_37_54_10030.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_14_10032.jpg', '/mnt/data/16062025/14/37/image_16062025_14_38_04_10144.jpg', '/mnt/data/16062025/14/37/image_16062025_14_37_54_10030.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/38/image_16062025_14_38_45_10088.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_34_10082.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_24_10011.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_14_10032.jpg
/mnt/data/16062025/14/37/image_16062025_14_38_04_10144.jpg
/mnt/data/16062025/14/37/image_16062025_14_37_54_10030.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19157099723816 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:40:02.968584
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/39/image_16062025_14_39_45_10036.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_39_35_10011.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_39_25_9988.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg', 2), ('/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/39/image_16062025_14_39_45_10036.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_35_10011.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_25_9988.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg', '/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg', '/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/39/image_16062025_14_39_45_10036.jpg
/mnt/data/16062025/14/39/image_16062025_14_39_35_10011.jpg
/mnt/data/16062025/14/39/image_16062025_14_39_25_9988.jpg
/mnt/data/16062025/14/39/image_16062025_14_39_15_9999.jpg
/mnt/data/16062025/14/38/image_16062025_14_39_05_10162.jpg
/mnt/data/16062025/14/38/image_16062025_14_38_55_10013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.579357624053955 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:41:03.340470
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/40/image_16062025_14_40_44_9936.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_40_34_9971.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_40_24_10010.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_40_14_10219.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_40_04_9074.jpg', 2), ('/mnt/data/16062025/14/39/image_16062025_14_39_55_10015.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/40/image_16062025_14_40_44_9936.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_34_9971.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_24_10010.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_14_10219.jpg', '/mnt/data/16062025/14/39/image_16062025_14_40_04_9074.jpg', '/mnt/data/16062025/14/39/image_16062025_14_39_55_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/40/image_16062025_14_40_44_9936.jpg
/mnt/data/16062025/14/40/image_16062025_14_40_34_9971.jpg
/mnt/data/16062025/14/40/image_16062025_14_40_24_10010.jpg
/mnt/data/16062025/14/40/image_16062025_14_40_14_10219.jpg
/mnt/data/16062025/14/39/image_16062025_14_40_04_9074.jpg
/mnt/data/16062025/14/39/image_16062025_14_39_55_10015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.34795117378235 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:42:03.197844
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_41_14_9940.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_41_04_10105.jpg', 2), ('/mnt/data/16062025/14/40/image_16062025_14_40_54_9943.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg', '/mnt/data/16062025/14/41/image_16062025_14_41_14_9940.jpg', '/mnt/data/16062025/14/40/image_16062025_14_41_04_10105.jpg', '/mnt/data/16062025/14/40/image_16062025_14_40_54_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/41/image_16062025_14_41_44_9925.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_34_9917.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_24_9921.jpg
/mnt/data/16062025/14/41/image_16062025_14_41_14_9940.jpg
/mnt/data/16062025/14/40/image_16062025_14_41_04_10105.jpg
/mnt/data/16062025/14/40/image_16062025_14_40_54_9943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.381471157073975 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:43:03.695874
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/42/image_16062025_14_43_04_10181.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_42_44_9953.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_42_34_9999.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_42_24_9991.jpg', 2), ('/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', 2), ('/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/42/image_16062025_14_43_04_10181.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_44_9953.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_34_9999.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_24_9991.jpg', '/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg', '/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/42/image_16062025_14_43_04_10181.jpg
/mnt/data/16062025/14/42/image_16062025_14_42_44_9953.jpg
/mnt/data/16062025/14/42/image_16062025_14_42_34_9999.jpg
/mnt/data/16062025/14/42/image_16062025_14_42_24_9991.jpg
/mnt/data/16062025/14/42/image_16062025_14_42_14_9960.jpg
/mnt/data/16062025/14/41/image_16062025_14_42_04_10180.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! 
uploaded 0 photos
time to upload: 148.8979413509369 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:46:02.672901
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/45/image_16062025_14_45_44_9934.jpg', 2), ('/mnt/data/16062025/14/45/image_16062025_14_45_34_9882.jpg', 2), ('/mnt/data/16062025/14/45/image_16062025_14_45_25_9891.jpg', 2), ('/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', 2), ('/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/45/image_16062025_14_45_44_9934.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_34_9882.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_25_9891.jpg', '/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg', '/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg', '/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/45/image_16062025_14_45_44_9934.jpg
/mnt/data/16062025/14/45/image_16062025_14_45_34_9882.jpg
/mnt/data/16062025/14/45/image_16062025_14_45_25_9891.jpg
/mnt/data/16062025/14/45/image_16062025_14_45_15_9914.jpg
/mnt/data/16062025/14/44/image_16062025_14_45_05_10112.jpg
/mnt/data/16062025/14/44/image_16062025_14_44_55_10158.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! 
uploaded 0 photos
time to upload: 150.63621044158936 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:49:03.870747
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/48/image_16062025_14_48_44_10174.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_48_34_10120.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_48_24_10115.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_48_14_10119.jpg', 2), ('/mnt/data/16062025/14/47/image_16062025_14_48_04_8996.jpg', 2), ('/mnt/data/16062025/14/47/image_16062025_14_47_55_10150.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/48/image_16062025_14_48_44_10174.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_34_10120.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_24_10115.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_14_10119.jpg', '/mnt/data/16062025/14/47/image_16062025_14_48_04_8996.jpg', '/mnt/data/16062025/14/47/image_16062025_14_47_55_10150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/48/image_16062025_14_48_44_10174.jpg
/mnt/data/16062025/14/48/image_16062025_14_48_34_10120.jpg
/mnt/data/16062025/14/48/image_16062025_14_48_24_10115.jpg
/mnt/data/16062025/14/48/image_16062025_14_48_14_10119.jpg
/mnt/data/16062025/14/47/image_16062025_14_48_04_8996.jpg
/mnt/data/16062025/14/47/image_16062025_14_47_55_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.698761701583862 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:50:02.760692
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_24_8953.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_15_10092.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_49_05_10262.jpg', 2), ('/mnt/data/16062025/14/48/image_16062025_14_48_54_10161.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_24_8953.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_15_10092.jpg', '/mnt/data/16062025/14/48/image_16062025_14_49_05_10262.jpg', '/mnt/data/16062025/14/48/image_16062025_14_48_54_10161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/49/image_16062025_14_49_44_10056.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_34_10139.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_24_8953.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_15_10092.jpg
/mnt/data/16062025/14/48/image_16062025_14_49_05_10262.jpg
/mnt/data/16062025/14/48/image_16062025_14_48_54_10161.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.09788274765015 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:51:03.058101
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/50/image_16062025_14_50_45_9997.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_50_35_10235.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg', 2), ('/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/50/image_16062025_14_50_45_9997.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_35_10235.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg', '/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg', '/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg', '/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/50/image_16062025_14_50_45_9997.jpg
/mnt/data/16062025/14/50/image_16062025_14_50_35_10235.jpg
/mnt/data/16062025/14/50/image_16062025_14_50_26_9999.jpg
/mnt/data/16062025/14/50/image_16062025_14_50_15_10056.jpg
/mnt/data/16062025/14/49/image_16062025_14_50_04_10422.jpg
/mnt/data/16062025/14/49/image_16062025_14_49_54_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.232747077941895 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:52:03.025114
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_45_9914.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_35_9966.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_25_9960.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_15_10003.jpg', 2), ('/mnt/data/16062025/14/50/image_16062025_14_51_05_10050.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_45_9914.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_35_9966.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_25_9960.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_15_10003.jpg', '/mnt/data/16062025/14/50/image_16062025_14_51_05_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_45_9914.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_35_9966.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_25_9960.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_15_10003.jpg
/mnt/data/16062025/14/50/image_16062025_14_51_05_10050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.243627548217773 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:53:03.282148
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/52/image_16062025_14_52_45_9972.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_52_35_9995.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_52_25_9970.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_52_05_10116.jpg', 2), ('/mnt/data/16062025/14/51/image_16062025_14_51_55_9919.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/52/image_16062025_14_52_45_9972.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_35_9995.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_25_9970.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg', '/mnt/data/16062025/14/51/image_16062025_14_52_05_10116.jpg', '/mnt/data/16062025/14/51/image_16062025_14_51_55_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/52/image_16062025_14_52_45_9972.jpg
/mnt/data/16062025/14/52/image_16062025_14_52_35_9995.jpg
/mnt/data/16062025/14/52/image_16062025_14_52_25_9970.jpg
/mnt/data/16062025/14/52/image_16062025_14_52_15_9991.jpg
/mnt/data/16062025/14/51/image_16062025_14_52_05_10116.jpg
/mnt/data/16062025/14/51/image_16062025_14_51_55_9919.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.683056592941284 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:54:03.320982
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/53/image_16062025_14_53_45_10038.jpg', 2), ('/mnt/data/16062025/14/53/image_16062025_14_53_35_10021.jpg', 2), ('/mnt/data/16062025/14/53/image_16062025_14_53_25_9976.jpg', 2), ('/mnt/data/16062025/14/53/image_16062025_14_53_15_9943.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_53_05_10137.jpg', 2), ('/mnt/data/16062025/14/52/image_16062025_14_52_55_9963.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/53/image_16062025_14_53_45_10038.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_35_10021.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_25_9976.jpg', '/mnt/data/16062025/14/53/image_16062025_14_53_15_9943.jpg', '/mnt/data/16062025/14/52/image_16062025_14_53_05_10137.jpg', '/mnt/data/16062025/14/52/image_16062025_14_52_55_9963.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/53/image_16062025_14_53_45_10038.jpg
/mnt/data/16062025/14/53/image_16062025_14_53_35_10021.jpg
/mnt/data/16062025/14/53/image_16062025_14_53_25_9976.jpg
/mnt/data/16062025/14/53/image_16062025_14_53_15_9943.jpg
/mnt/data/16062025/14/52/image_16062025_14_53_05_10137.jpg
/mnt/data/16062025/14/52/image_16062025_14_52_55_9963.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.206705808639526 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 14:59:03.600612
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg', 2), ('/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg', '/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg', '/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/58/image_16062025_14_58_34_10174.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_24_10150.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_14_10148.jpg
/mnt/data/16062025/14/57/image_16062025_14_58_04_9344.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_55_10169.jpg
/mnt/data/16062025/14/57/image_16062025_14_57_44_10124.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.815096616744995 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:00:03.384333
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', 2), ('/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg', '/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg', '/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/14/59/image_16062025_14_59_45_10214.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_34_10170.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_24_10144.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_14_9935.jpg
/mnt/data/16062025/14/58/image_16062025_14_59_04_10416.jpg
/mnt/data/16062025/14/58/image_16062025_14_58_45_10214.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.223543643951416 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:01:02.483124
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', 2), ('/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg', '/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg', '/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/00/image_16062025_15_00_44_10309.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_34_10290.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_24_8984.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_15_10255.jpg
/mnt/data/16062025/14/59/image_16062025_15_00_05_10898.jpg
/mnt/data/16062025/14/59/image_16062025_14_59_54_9039.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.24210238456726 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:02:02.705486
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', 2), ('/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg', '/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg', '/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_14_10256.jpg
/mnt/data/16062025/15/00/image_16062025_15_01_04_9116.jpg
/mnt/data/16062025/15/00/image_16062025_15_00_55_10157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.250354766845703 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:03:03.029269
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg', '/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg', '/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg
/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_54_9971.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_44_10021.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_34_10059.jpg
/mnt/data/16062025/15/01/image_16062025_15_01_24_10300.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2610981464386 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:04:03.065224
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg', 2), ('/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg', 2), ('/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg', '/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg', '/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg', '/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/03/image_16062025_15_03_44_9993.jpg
/mnt/data/16062025/15/03/image_16062025_15_03_34_10119.jpg
/mnt/data/16062025/15/02/image_16062025_15_03_04_9045.jpg
/mnt/data/16062025/15/02/image_16062025_15_02_34_10058.jpg
/mnt/data/16062025/15/02/image_16062025_15_02_24_9999.jpg
/mnt/data/16062025/15/01/image_16062025_15_02_04_10163.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.210338830947876 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:05:03.189054
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg', 2), ('/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg', '/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg', '/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/04/image_16062025_15_04_44_10203.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_34_8925.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_25_10133.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_15_10155.jpg
/mnt/data/16062025/15/03/image_16062025_15_04_04_10477.jpg
/mnt/data/16062025/15/03/image_16062025_15_03_54_9992.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.72354173660278 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:06:03.372514
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/05/image_16062025_15_05_45_10149.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_05_34_8901.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_05_25_10198.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_05_15_10212.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_05_04_10376.jpg', 2), ('/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/05/image_16062025_15_05_45_10149.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_34_8901.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_25_10198.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_15_10212.jpg', '/mnt/data/16062025/15/04/image_16062025_15_05_04_10376.jpg', '/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/05/image_16062025_15_05_45_10149.jpg
/mnt/data/16062025/15/05/image_16062025_15_05_34_8901.jpg
/mnt/data/16062025/15/05/image_16062025_15_05_25_10198.jpg
/mnt/data/16062025/15/05/image_16062025_15_05_15_10212.jpg
/mnt/data/16062025/15/04/image_16062025_15_05_04_10376.jpg
/mnt/data/16062025/15/04/image_16062025_15_04_54_10133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.475104808807373 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:07:03.422352
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg', 2), ('/mnt/data/16062025/15/05/image_16062025_15_05_54_10027.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg', '/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg', '/mnt/data/16062025/15/05/image_16062025_15_05_54_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/06/image_16062025_15_06_45_10177.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_35_10370.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_24_10311.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_14_9403.jpg
/mnt/data/16062025/15/05/image_16062025_15_06_04_10527.jpg
/mnt/data/16062025/15/05/image_16062025_15_05_54_10027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.14541530609131 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:08:03.266964
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg', 2), ('/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg', '/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg', '/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/07/image_16062025_15_07_45_10169.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_34_10086.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_24_10150.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_14_10193.jpg
/mnt/data/16062025/15/06/image_16062025_15_07_04_10302.jpg
/mnt/data/16062025/15/06/image_16062025_15_06_54_9010.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20342707633972 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:09:02.778264
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg', 2), ('/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg', '/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg', '/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/08/image_16062025_15_08_44_10184.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_34_10112.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_24_10106.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_14_10219.jpg
/mnt/data/16062025/15/07/image_16062025_15_08_04_9135.jpg
/mnt/data/16062025/15/07/image_16062025_15_07_55_10075.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.553637981414795 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:10:02.539899
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', 2), ('/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg', '/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg', '/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/09/image_16062025_15_09_45_10236.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_34_10166.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_24_10201.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_14_10168.jpg
/mnt/data/16062025/15/08/image_16062025_15_09_04_9133.jpg
/mnt/data/16062025/15/08/image_16062025_15_08_55_10156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.96313977241516 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:11:02.772598
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/10/image_16062025_15_10_44_9906.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_10_34_10011.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_10_24_10033.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_10_14_10197.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_10_04_9342.jpg', 2), ('/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/10/image_16062025_15_10_44_9906.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_34_10011.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_24_10033.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_14_10197.jpg', '/mnt/data/16062025/15/09/image_16062025_15_10_04_9342.jpg', '/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/10/image_16062025_15_10_44_9906.jpg
/mnt/data/16062025/15/10/image_16062025_15_10_34_10011.jpg
/mnt/data/16062025/15/10/image_16062025_15_10_24_10033.jpg
/mnt/data/16062025/15/10/image_16062025_15_10_14_10197.jpg
/mnt/data/16062025/15/09/image_16062025_15_10_04_9342.jpg
/mnt/data/16062025/15/09/image_16062025_15_09_55_10255.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.75924301147461 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:12:02.808659
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/11/image_16062025_15_11_44_9960.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_11_34_9976.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_11_24_9939.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_11_14_9945.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_11_04_10050.jpg', 2), ('/mnt/data/16062025/15/10/image_16062025_15_10_54_9971.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/11/image_16062025_15_11_44_9960.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_34_9976.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_24_9939.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_14_9945.jpg', '/mnt/data/16062025/15/10/image_16062025_15_11_04_10050.jpg', '/mnt/data/16062025/15/10/image_16062025_15_10_54_9971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/11/image_16062025_15_11_44_9960.jpg
/mnt/data/16062025/15/11/image_16062025_15_11_34_9976.jpg
/mnt/data/16062025/15/11/image_16062025_15_11_24_9939.jpg
/mnt/data/16062025/15/11/image_16062025_15_11_14_9945.jpg
/mnt/data/16062025/15/10/image_16062025_15_11_04_10050.jpg
/mnt/data/16062025/15/10/image_16062025_15_10_54_9971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.24781036376953 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:13:02.846894
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/12/image_16062025_15_12_44_9932.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_12_34_9932.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_12_24_9902.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_12_14_9934.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_12_04_10140.jpg', 2), ('/mnt/data/16062025/15/11/image_16062025_15_11_54_9927.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/12/image_16062025_15_12_44_9932.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_34_9932.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_24_9902.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_14_9934.jpg', '/mnt/data/16062025/15/11/image_16062025_15_12_04_10140.jpg', '/mnt/data/16062025/15/11/image_16062025_15_11_54_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/12/image_16062025_15_12_44_9932.jpg
/mnt/data/16062025/15/12/image_16062025_15_12_34_9932.jpg
/mnt/data/16062025/15/12/image_16062025_15_12_24_9902.jpg
/mnt/data/16062025/15/12/image_16062025_15_12_14_9934.jpg
/mnt/data/16062025/15/11/image_16062025_15_12_04_10140.jpg
/mnt/data/16062025/15/11/image_16062025_15_11_54_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.777621507644653 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:14:02.928071
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg', 2), ('/mnt/data/16062025/15/12/image_16062025_15_12_54_9920.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg', '/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg', '/mnt/data/16062025/15/12/image_16062025_15_12_54_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/13/image_16062025_15_13_44_10138.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_34_10158.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_24_10089.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_14_9988.jpg
/mnt/data/16062025/15/12/image_16062025_15_13_04_10179.jpg
/mnt/data/16062025/15/12/image_16062025_15_12_54_9920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.15768003463745 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:15:03.156669
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg', 2), ('/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg', '/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg', '/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/14/image_16062025_15_14_44_10117.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_34_10165.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_24_10141.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_14_8934.jpg
/mnt/data/16062025/15/13/image_16062025_15_14_05_10346.jpg
/mnt/data/16062025/15/13/image_16062025_15_13_54_10147.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.570396900177 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:16:03.109954
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg', 2), ('/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg', '/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg', '/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/15/image_16062025_15_15_45_9956.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_35_9987.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_25_10069.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_15_10166.jpg
/mnt/data/16062025/15/14/image_16062025_15_15_05_10236.jpg
/mnt/data/16062025/15/14/image_16062025_15_14_54_10123.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.209340810775757 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:17:03.333505
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg', 2), ('/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg', '/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg', '/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/16/image_16062025_15_16_44_9930.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_34_9955.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_24_10000.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_14_10134.jpg
/mnt/data/16062025/15/15/image_16062025_15_16_04_8967.jpg
/mnt/data/16062025/15/15/image_16062025_15_15_55_10003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.063745975494385 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:18:03.268237
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/17/image_16062025_15_17_44_9933.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_17_34_9994.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_17_24_9996.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_17_14_9973.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_17_04_10235.jpg', 2), ('/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/17/image_16062025_15_17_44_9933.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_34_9994.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_24_9996.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_14_9973.jpg', '/mnt/data/16062025/15/16/image_16062025_15_17_04_10235.jpg', '/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/17/image_16062025_15_17_44_9933.jpg
/mnt/data/16062025/15/17/image_16062025_15_17_34_9994.jpg
/mnt/data/16062025/15/17/image_16062025_15_17_24_9996.jpg
/mnt/data/16062025/15/17/image_16062025_15_17_14_9973.jpg
/mnt/data/16062025/15/16/image_16062025_15_17_04_10235.jpg
/mnt/data/16062025/15/16/image_16062025_15_16_54_10031.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.50843358039856 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:19:02.762408
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/18/image_16062025_15_18_44_10172.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_18_34_10157.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_18_24_10173.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_18_14_9873.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_18_04_10175.jpg', 2), ('/mnt/data/16062025/15/17/image_16062025_15_17_54_9968.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/18/image_16062025_15_18_44_10172.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_34_10157.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_24_10173.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_14_9873.jpg', '/mnt/data/16062025/15/17/image_16062025_15_18_04_10175.jpg', '/mnt/data/16062025/15/17/image_16062025_15_17_54_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/18/image_16062025_15_18_44_10172.jpg
/mnt/data/16062025/15/18/image_16062025_15_18_34_10157.jpg
/mnt/data/16062025/15/18/image_16062025_15_18_24_10173.jpg
/mnt/data/16062025/15/18/image_16062025_15_18_14_9873.jpg
/mnt/data/16062025/15/17/image_16062025_15_18_04_10175.jpg
/mnt/data/16062025/15/17/image_16062025_15_17_54_9968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.09109330177307 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:20:02.345990
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg', 2), ('/mnt/data/16062025/15/18/image_16062025_15_18_55_10265.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg', '/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg', '/mnt/data/16062025/15/18/image_16062025_15_18_55_10265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/19/image_16062025_15_19_45_10271.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_35_10264.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_24_10195.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_14_10187.jpg
/mnt/data/16062025/15/18/image_16062025_15_19_04_9207.jpg
/mnt/data/16062025/15/18/image_16062025_15_18_55_10265.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.423295497894287 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:21:02.772453
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg', 2), ('/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg', '/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg', '/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/20/image_16062025_15_20_44_10164.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_34_8954.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_25_10397.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_14_10232.jpg
/mnt/data/16062025/15/19/image_16062025_15_20_04_10448.jpg
/mnt/data/16062025/15/19/image_16062025_15_19_54_8960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.407635927200317 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:22:02.726408
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg', 2), ('/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg', '/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg', '/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_35_10100.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_25_10065.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_15_10130.jpg
/mnt/data/16062025/15/20/image_16062025_15_21_05_10352.jpg
/mnt/data/16062025/15/20/image_16062025_15_20_54_10193.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.96860098838806 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:23:02.456328
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_22_04_8981.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg', 2), ('/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg', '/mnt/data/16062025/15/21/image_16062025_15_22_04_8981.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg', '/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg
/mnt/data/16062025/15/21/image_16062025_15_22_04_8981.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_55_9933.jpg
/mnt/data/16062025/15/21/image_16062025_15_21_45_9954.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.55663251876831 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:24:02.599198
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/23/image_16062025_15_23_44_9982.jpg', 2), ('/mnt/data/16062025/15/23/image_16062025_15_23_34_10041.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_44_8831.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg', 2), ('/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/23/image_16062025_15_23_44_9982.jpg', '/mnt/data/16062025/15/23/image_16062025_15_23_34_10041.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_44_8831.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg', '/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/23/image_16062025_15_23_44_9982.jpg
/mnt/data/16062025/15/23/image_16062025_15_23_34_10041.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_44_8831.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_35_10000.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_25_10003.jpg
/mnt/data/16062025/15/22/image_16062025_15_22_15_11149.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.253180503845215 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:25:02.812556
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/24/image_16062025_15_24_44_9955.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_24_35_9968.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_24_25_10060.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_24_15_10336.jpg', 2), ('/mnt/data/16062025/15/23/image_16062025_15_24_04_9432.jpg', 2), ('/mnt/data/16062025/15/23/image_16062025_15_23_55_10297.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/24/image_16062025_15_24_44_9955.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_35_9968.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_25_10060.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_15_10336.jpg', '/mnt/data/16062025/15/23/image_16062025_15_24_04_9432.jpg', '/mnt/data/16062025/15/23/image_16062025_15_23_55_10297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/24/image_16062025_15_24_44_9955.jpg
/mnt/data/16062025/15/24/image_16062025_15_24_35_9968.jpg
/mnt/data/16062025/15/24/image_16062025_15_24_25_10060.jpg
/mnt/data/16062025/15/24/image_16062025_15_24_15_10336.jpg
/mnt/data/16062025/15/23/image_16062025_15_24_04_9432.jpg
/mnt/data/16062025/15/23/image_16062025_15_23_55_10297.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.48888635635376 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:26:02.772691
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/25/image_16062025_15_25_44_9957.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_25_34_9931.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_25_25_9978.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_25_15_9957.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_25_05_10141.jpg', 2), ('/mnt/data/16062025/15/24/image_16062025_15_24_54_9962.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/25/image_16062025_15_25_44_9957.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_34_9931.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_25_9978.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_15_9957.jpg', '/mnt/data/16062025/15/24/image_16062025_15_25_05_10141.jpg', '/mnt/data/16062025/15/24/image_16062025_15_24_54_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/25/image_16062025_15_25_44_9957.jpg
/mnt/data/16062025/15/25/image_16062025_15_25_34_9931.jpg
/mnt/data/16062025/15/25/image_16062025_15_25_25_9978.jpg
/mnt/data/16062025/15/25/image_16062025_15_25_15_9957.jpg
/mnt/data/16062025/15/24/image_16062025_15_25_05_10141.jpg
/mnt/data/16062025/15/24/image_16062025_15_24_54_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.262818098068237 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:27:03.107117
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_34_8937.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_25_10084.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_15_10077.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_26_05_10181.jpg', 2), ('/mnt/data/16062025/15/25/image_16062025_15_25_54_9959.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_34_8937.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_25_10084.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_15_10077.jpg', '/mnt/data/16062025/15/25/image_16062025_15_26_05_10181.jpg', '/mnt/data/16062025/15/25/image_16062025_15_25_54_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_34_8937.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_25_10084.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_15_10077.jpg
/mnt/data/16062025/15/25/image_16062025_15_26_05_10181.jpg
/mnt/data/16062025/15/25/image_16062025_15_25_54_9959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.222944021224976 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:28:02.896754
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_27_34_8895.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_27_25_10183.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_27_04_10485.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_54_10151.jpg', 2), ('/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_34_8895.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_25_10183.jpg', '/mnt/data/16062025/15/26/image_16062025_15_27_04_10485.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_54_10151.jpg', '/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg
/mnt/data/16062025/15/27/image_16062025_15_27_34_8895.jpg
/mnt/data/16062025/15/27/image_16062025_15_27_25_10183.jpg
/mnt/data/16062025/15/26/image_16062025_15_27_04_10485.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_54_10151.jpg
/mnt/data/16062025/15/26/image_16062025_15_26_44_10103.jpg
uploaded 0 photos
time to upload: 32.93407440185547 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:29:03.632536
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg', 2), ('/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg', '/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg', '/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_24_10077.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_14_10092.jpg
/mnt/data/16062025/15/27/image_16062025_15_28_04_10472.jpg
/mnt/data/16062025/15/27/image_16062025_15_27_54_10098.jpg
/mnt/data/16062025/15/27/image_16062025_15_27_44_10062.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.26994514465332 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:30:02.502115
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg', 2), ('/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg', '/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg', '/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/29/image_16062025_15_29_44_10193.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_34_10141.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_24_8941.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_15_10132.jpg
/mnt/data/16062025/15/28/image_16062025_15_29_05_10403.jpg
/mnt/data/16062025/15/28/image_16062025_15_28_54_10122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.57184410095215 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:31:02.785336
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/30/image_16062025_15_30_44_9957.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_30_34_9988.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_30_24_10030.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_30_14_9971.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_30_04_10206.jpg', 2), ('/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/30/image_16062025_15_30_44_9957.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_34_9988.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_24_10030.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_14_9971.jpg', '/mnt/data/16062025/15/29/image_16062025_15_30_04_10206.jpg', '/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/30/image_16062025_15_30_44_9957.jpg
/mnt/data/16062025/15/30/image_16062025_15_30_34_9988.jpg
/mnt/data/16062025/15/30/image_16062025_15_30_24_10030.jpg
/mnt/data/16062025/15/30/image_16062025_15_30_14_9971.jpg
/mnt/data/16062025/15/29/image_16062025_15_30_04_10206.jpg
/mnt/data/16062025/15/29/image_16062025_15_29_54_10070.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.56194233894348 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:32:02.694604
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/31/image_16062025_15_31_44_9994.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_31_34_9954.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_31_24_9985.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_31_14_9957.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_31_04_10149.jpg', 2), ('/mnt/data/16062025/15/30/image_16062025_15_30_54_9984.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/31/image_16062025_15_31_44_9994.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_34_9954.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_24_9985.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_14_9957.jpg', '/mnt/data/16062025/15/30/image_16062025_15_31_04_10149.jpg', '/mnt/data/16062025/15/30/image_16062025_15_30_54_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/31/image_16062025_15_31_44_9994.jpg
/mnt/data/16062025/15/31/image_16062025_15_31_34_9954.jpg
/mnt/data/16062025/15/31/image_16062025_15_31_24_9985.jpg
/mnt/data/16062025/15/31/image_16062025_15_31_14_9957.jpg
/mnt/data/16062025/15/30/image_16062025_15_31_04_10149.jpg
/mnt/data/16062025/15/30/image_16062025_15_30_54_9984.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.443336963653564 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:33:02.692843
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/32/image_16062025_15_32_45_10140.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_32_35_10055.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_32_24_9977.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_32_14_10026.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_32_04_10199.jpg', 2), ('/mnt/data/16062025/15/31/image_16062025_15_31_54_9964.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/32/image_16062025_15_32_45_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_35_10055.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_24_9977.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_14_10026.jpg', '/mnt/data/16062025/15/31/image_16062025_15_32_04_10199.jpg', '/mnt/data/16062025/15/31/image_16062025_15_31_54_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/32/image_16062025_15_32_45_10140.jpg
/mnt/data/16062025/15/32/image_16062025_15_32_35_10055.jpg
/mnt/data/16062025/15/32/image_16062025_15_32_24_9977.jpg
/mnt/data/16062025/15/32/image_16062025_15_32_14_10026.jpg
/mnt/data/16062025/15/31/image_16062025_15_32_04_10199.jpg
/mnt/data/16062025/15/31/image_16062025_15_31_54_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.277891635894775 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:34:02.921380
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg', 2), ('/mnt/data/16062025/15/32/image_16062025_15_32_55_10135.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg', '/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg', '/mnt/data/16062025/15/32/image_16062025_15_32_55_10135.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/33/image_16062025_15_33_44_9072.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_35_10384.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_24_10188.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_14_10140.jpg
/mnt/data/16062025/15/32/image_16062025_15_33_04_9239.jpg
/mnt/data/16062025/15/32/image_16062025_15_32_55_10135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.37702465057373 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=30)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:35:03.238589
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/34/image_16062025_15_34_44_9955.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_34_34_9957.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_34_25_9953.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_34_15_10191.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_34_04_10450.jpg', 2), ('/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/34/image_16062025_15_34_44_9955.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_34_9957.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_25_9953.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_15_10191.jpg', '/mnt/data/16062025/15/33/image_16062025_15_34_04_10450.jpg', '/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/34/image_16062025_15_34_44_9955.jpg
/mnt/data/16062025/15/34/image_16062025_15_34_34_9957.jpg
/mnt/data/16062025/15/34/image_16062025_15_34_25_9953.jpg
/mnt/data/16062025/15/34/image_16062025_15_34_15_10191.jpg
/mnt/data/16062025/15/33/image_16062025_15_34_04_10450.jpg
/mnt/data/16062025/15/33/image_16062025_15_33_54_10118.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.32788109779358 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:36:03.073753
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/35/image_16062025_15_35_44_9936.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_35_34_9944.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_35_24_9940.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_35_14_9968.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_35_05_10118.jpg', 2), ('/mnt/data/16062025/15/34/image_16062025_15_34_54_9972.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/35/image_16062025_15_35_44_9936.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_34_9944.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_24_9940.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_14_9968.jpg', '/mnt/data/16062025/15/34/image_16062025_15_35_05_10118.jpg', '/mnt/data/16062025/15/34/image_16062025_15_34_54_9972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/35/image_16062025_15_35_44_9936.jpg
/mnt/data/16062025/15/35/image_16062025_15_35_34_9944.jpg
/mnt/data/16062025/15/35/image_16062025_15_35_24_9940.jpg
/mnt/data/16062025/15/35/image_16062025_15_35_14_9968.jpg
/mnt/data/16062025/15/34/image_16062025_15_35_05_10118.jpg
/mnt/data/16062025/15/34/image_16062025_15_34_54_9972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21163558959961 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:37:03.367142
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/36/image_16062025_15_36_44_9987.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_36_35_9941.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_36_25_9938.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_36_15_10048.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_36_05_10303.jpg', 2), ('/mnt/data/16062025/15/35/image_16062025_15_35_54_9965.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/36/image_16062025_15_36_44_9987.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_35_9941.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_25_9938.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_15_10048.jpg', '/mnt/data/16062025/15/35/image_16062025_15_36_05_10303.jpg', '/mnt/data/16062025/15/35/image_16062025_15_35_54_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/36/image_16062025_15_36_44_9987.jpg
/mnt/data/16062025/15/36/image_16062025_15_36_35_9941.jpg
/mnt/data/16062025/15/36/image_16062025_15_36_25_9938.jpg
/mnt/data/16062025/15/36/image_16062025_15_36_15_10048.jpg
/mnt/data/16062025/15/35/image_16062025_15_36_05_10303.jpg
/mnt/data/16062025/15/35/image_16062025_15_35_54_9965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 35.47913980484009 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:38:02.723013
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg', 2), ('/mnt/data/16062025/15/36/image_16062025_15_36_55_10033.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg', '/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg', '/mnt/data/16062025/15/36/image_16062025_15_36_55_10033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/37/image_16062025_15_37_44_10093.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_34_10096.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_24_10133.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_14_8883.jpg
/mnt/data/16062025/15/36/image_16062025_15_37_05_10216.jpg
/mnt/data/16062025/15/36/image_16062025_15_36_55_10033.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.063085317611694 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:39:03.582590
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/38/image_16062025_15_38_44_9987.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_38_34_9921.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_38_24_9973.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_38_14_10041.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_38_04_10303.jpg', 2), ('/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/38/image_16062025_15_38_44_9987.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_34_9921.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_24_9973.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_14_10041.jpg', '/mnt/data/16062025/15/37/image_16062025_15_38_04_10303.jpg', '/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/38/image_16062025_15_38_44_9987.jpg
/mnt/data/16062025/15/38/image_16062025_15_38_34_9921.jpg
/mnt/data/16062025/15/38/image_16062025_15_38_24_9973.jpg
/mnt/data/16062025/15/38/image_16062025_15_38_14_10041.jpg
/mnt/data/16062025/15/37/image_16062025_15_38_04_10303.jpg
/mnt/data/16062025/15/37/image_16062025_15_37_54_10065.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.929250478744507 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:40:03.150054
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_34_9944.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_24_10040.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_14_9922.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_39_04_9991.jpg', 2), ('/mnt/data/16062025/15/38/image_16062025_15_38_54_9960.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_34_9944.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_24_10040.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_14_9922.jpg', '/mnt/data/16062025/15/38/image_16062025_15_39_04_9991.jpg', '/mnt/data/16062025/15/38/image_16062025_15_38_54_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_34_9944.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_24_10040.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_14_9922.jpg
/mnt/data/16062025/15/38/image_16062025_15_39_04_9991.jpg
/mnt/data/16062025/15/38/image_16062025_15_38_54_9960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.751938819885254 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:41:03.606925
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_54_9908.jpg', 2), ('/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg', '/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_54_9908.jpg', '/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/40/image_16062025_15_40_44_9921.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_34_9917.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_24_9930.jpg
/mnt/data/16062025/15/39/image_16062025_15_40_04_10150.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_54_9908.jpg
/mnt/data/16062025/15/39/image_16062025_15_39_44_9964.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.656861782073975 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:42:02.454311
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg', 2), ('/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg', '/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg', '/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/41/image_16062025_15_41_44_10062.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_34_10086.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_24_9963.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_14_9965.jpg
/mnt/data/16062025/15/40/image_16062025_15_41_04_10052.jpg
/mnt/data/16062025/15/40/image_16062025_15_40_54_9928.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.208416223526 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:43:02.561258
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', 2), ('/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg', '/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg', '/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/42/image_16062025_15_42_45_10043.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_35_10022.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_24_10155.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_14_10067.jpg
/mnt/data/16062025/15/41/image_16062025_15_42_04_10328.jpg
/mnt/data/16062025/15/41/image_16062025_15_41_54_10025.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.48232388496399 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:44:02.712549
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', 2), ('/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg', '/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg', '/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/43/image_16062025_15_43_44_9977.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_34_10017.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_24_10107.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_14_10075.jpg
/mnt/data/16062025/15/42/image_16062025_15_43_04_9177.jpg
/mnt/data/16062025/15/42/image_16062025_15_42_55_10042.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.223994970321655 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:45:02.833225
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', 2), ('/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg', '/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg', '/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/44/image_16062025_15_44_44_9910.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_34_9912.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_24_9950.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_14_9966.jpg
/mnt/data/16062025/15/43/image_16062025_15_44_04_10278.jpg
/mnt/data/16062025/15/43/image_16062025_15_43_54_9946.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.254565477371216 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:46:02.713405
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/45/image_16062025_15_45_44_10009.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_34_10013.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_24_9975.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_14_9938.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg', 2), ('/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/45/image_16062025_15_45_44_10009.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_34_10013.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_24_9975.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_14_9938.jpg', '/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg', '/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/45/image_16062025_15_45_44_10009.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_34_10013.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_24_9975.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_14_9938.jpg
/mnt/data/16062025/15/44/image_16062025_15_45_04_10155.jpg
/mnt/data/16062025/15/44/image_16062025_15_44_54_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.879842281341553 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:47:03.015909
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/46/image_16062025_15_46_44_10169.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_34_9002.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_25_10140.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_15_10204.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_46_04_10399.jpg', 2), ('/mnt/data/16062025/15/45/image_16062025_15_45_54_10055.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/46/image_16062025_15_46_44_10169.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_34_9002.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_25_10140.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_15_10204.jpg', '/mnt/data/16062025/15/45/image_16062025_15_46_04_10399.jpg', '/mnt/data/16062025/15/45/image_16062025_15_45_54_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/46/image_16062025_15_46_44_10169.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_34_9002.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_25_10140.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_15_10204.jpg
/mnt/data/16062025/15/45/image_16062025_15_46_04_10399.jpg
/mnt/data/16062025/15/45/image_16062025_15_45_54_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.053086280822754 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:48:03.183952
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_47_04_10505.jpg', 2), ('/mnt/data/16062025/15/46/image_16062025_15_46_54_9954.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg', '/mnt/data/16062025/15/46/image_16062025_15_47_04_10505.jpg', '/mnt/data/16062025/15/46/image_16062025_15_46_54_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/47/image_16062025_15_47_45_10214.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_35_9948.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_24_10156.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_14_10143.jpg
/mnt/data/16062025/15/46/image_16062025_15_47_04_10505.jpg
/mnt/data/16062025/15/46/image_16062025_15_46_54_9954.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.876841068267822 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:49:03.634747
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg', 2), ('/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg', '/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg', '/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/48/image_16062025_15_48_44_10209.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_34_8921.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_25_10112.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_15_10137.jpg
/mnt/data/16062025/15/47/image_16062025_15_48_04_10604.jpg
/mnt/data/16062025/15/47/image_16062025_15_47_54_9053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.361756086349487 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:50:03.534296
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/49/image_16062025_15_49_45_9946.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_35_10274.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_24_10268.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_14_10155.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg', 2), ('/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/49/image_16062025_15_49_45_9946.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_35_10274.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_24_10268.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_14_10155.jpg', '/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg', '/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/49/image_16062025_15_49_45_9946.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_35_10274.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_24_10268.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_14_10155.jpg
/mnt/data/16062025/15/48/image_16062025_15_49_04_10014.jpg
/mnt/data/16062025/15/48/image_16062025_15_48_54_10139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.331372499465942 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:51:02.667506
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', '/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg
/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.47655487060547 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:52:02.638858
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', '/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg
/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.931972980499268 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:53:02.887033
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', '/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg
/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.46999454498291 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:54:03.118349
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', 2), ('/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', 2), ('/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg', '/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg', '/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg', '/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/50/image_16062025_15_50_44_9960.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_34_9970.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_24_9990.jpg
/mnt/data/16062025/15/50/image_16062025_15_50_14_10049.jpg
/mnt/data/16062025/15/49/image_16062025_15_50_04_9002.jpg
/mnt/data/16062025/15/49/image_16062025_15_49_55_10131.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.41600799560547 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 15:59:03.714516
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/58/image_16062025_15_58_44_9926.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_34_9964.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_24_10173.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_14_8936.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', 2), ('/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/58/image_16062025_15_58_44_9926.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_34_9964.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_24_10173.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_14_8936.jpg', '/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg', '/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/58/image_16062025_15_58_44_9926.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_34_9964.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_24_10173.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_14_8936.jpg
/mnt/data/16062025/15/57/image_16062025_15_58_05_10406.jpg
/mnt/data/16062025/15/57/image_16062025_15_57_54_10174.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.27049517631531 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:00:03.032309
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/15/59/image_16062025_15_59_45_9932.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_35_11142.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_24_9948.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_14_9939.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_59_04_10141.jpg', 2), ('/mnt/data/16062025/15/58/image_16062025_15_58_54_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/15/59/image_16062025_15_59_45_9932.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_35_11142.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_24_9948.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_14_9939.jpg', '/mnt/data/16062025/15/58/image_16062025_15_59_04_10141.jpg', '/mnt/data/16062025/15/58/image_16062025_15_58_54_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/15/59/image_16062025_15_59_45_9932.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_35_11142.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_24_9948.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_14_9939.jpg
/mnt/data/16062025/15/58/image_16062025_15_59_04_10141.jpg
/mnt/data/16062025/15/58/image_16062025_15_58_54_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.324357271194458 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:01:02.695438
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_16_00_04_9110.jpg', 2), ('/mnt/data/16062025/15/59/image_16062025_15_59_55_9927.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg', '/mnt/data/16062025/15/59/image_16062025_16_00_04_9110.jpg', '/mnt/data/16062025/15/59/image_16062025_15_59_55_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/00/image_16062025_16_00_45_9964.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_35_11108.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_24_9931.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_14_9942.jpg
/mnt/data/16062025/15/59/image_16062025_16_00_04_9110.jpg
/mnt/data/16062025/15/59/image_16062025_15_59_55_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.036104440689087 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:02:02.860904
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', 2), ('/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg', '/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg', '/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/01/image_16062025_16_01_44_10083.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_34_8920.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_25_10075.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_15_10047.jpg
/mnt/data/16062025/16/00/image_16062025_16_01_05_10011.jpg
/mnt/data/16062025/16/00/image_16062025_16_00_55_9925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.62688422203064 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:03:03.514527
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg', 2), ('/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg', '/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg', '/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg
/mnt/data/16062025/16/01/image_16062025_16_02_04_10489.jpg
/mnt/data/16062025/16/01/image_16062025_16_01_54_10101.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.744335651397705 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:04:02.574898
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_44_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_34_9927.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_24_9894.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_14_10094.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.50094485282898 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:05:03.470648
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/04/image_16062025_16_04_44_9946.jpg', 2), ('/mnt/data/16062025/16/04/image_16062025_16_04_34_9949.jpg', 2), ('/mnt/data/16062025/16/04/image_16062025_16_04_25_10074.jpg', 2), ('/mnt/data/16062025/16/03/image_16062025_16_03_44_10102.jpg', 2), ('/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', 2), ('/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/04/image_16062025_16_04_44_9946.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_34_9949.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_25_10074.jpg', '/mnt/data/16062025/16/03/image_16062025_16_03_44_10102.jpg', '/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg', '/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/04/image_16062025_16_04_44_9946.jpg
/mnt/data/16062025/16/04/image_16062025_16_04_34_9949.jpg
/mnt/data/16062025/16/04/image_16062025_16_04_25_10074.jpg
/mnt/data/16062025/16/03/image_16062025_16_03_44_10102.jpg
/mnt/data/16062025/16/03/image_16062025_16_03_24_8919.jpg
/mnt/data/16062025/16/02/image_16062025_16_02_54_10064.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.717172145843506 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:06:03.144632
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg', 2), ('/mnt/data/16062025/16/04/image_16062025_16_05_04_10031.jpg', 2), ('/mnt/data/16062025/16/04/image_16062025_16_04_54_9965.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg', '/mnt/data/16062025/16/04/image_16062025_16_05_04_10031.jpg', '/mnt/data/16062025/16/04/image_16062025_16_04_54_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/05/image_16062025_16_05_45_10115.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_34_10063.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_24_10021.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_14_9955.jpg
/mnt/data/16062025/16/04/image_16062025_16_05_04_10031.jpg
/mnt/data/16062025/16/04/image_16062025_16_04_54_9965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.619200944900513 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:07:03.076786
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/06/image_16062025_16_06_44_10219.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_34_10141.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_24_8921.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_15_10120.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', 2), ('/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/06/image_16062025_16_06_44_10219.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_34_10141.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_24_8921.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_15_10120.jpg', '/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg', '/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/06/image_16062025_16_06_44_10219.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_34_10141.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_24_8921.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_15_10120.jpg
/mnt/data/16062025/16/05/image_16062025_16_06_05_10004.jpg
/mnt/data/16062025/16/05/image_16062025_16_05_55_10027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.567471742630005 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:08:03.056475
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_07_05_10408.jpg', 2), ('/mnt/data/16062025/16/06/image_16062025_16_06_54_10089.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg', '/mnt/data/16062025/16/06/image_16062025_16_07_05_10408.jpg', '/mnt/data/16062025/16/06/image_16062025_16_06_54_10089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/07/image_16062025_16_07_44_10144.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_34_10145.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_24_9024.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_15_10213.jpg
/mnt/data/16062025/16/06/image_16062025_16_07_05_10408.jpg
/mnt/data/16062025/16/06/image_16062025_16_06_54_10089.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.03976583480835 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:09:03.488668
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg', 2), ('/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg', '/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg', '/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/08/image_16062025_16_08_44_10217.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_34_10198.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_24_10336.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_14_8921.jpg
/mnt/data/16062025/16/07/image_16062025_16_08_05_10325.jpg
/mnt/data/16062025/16/07/image_16062025_16_07_54_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.64712929725647 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:10:03.298060
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg', 2), ('/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg', '/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg', '/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/09/image_16062025_16_09_45_10279.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_34_10152.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_24_10263.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_14_10149.jpg
/mnt/data/16062025/16/08/image_16062025_16_09_04_9059.jpg
/mnt/data/16062025/16/08/image_16062025_16_08_55_10277.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.477513790130615 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:11:03.805787
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', 2), ('/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg', '/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg', '/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/10/image_16062025_16_10_45_10135.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_35_10242.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_24_10226.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_14_10283.jpg
/mnt/data/16062025/16/09/image_16062025_16_10_04_9167.jpg
/mnt/data/16062025/16/09/image_16062025_16_09_55_10211.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.97471261024475 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:12:02.496924
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/11/image_16062025_16_11_45_10088.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_35_9990.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_25_10123.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_14_10287.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', 2), ('/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/11/image_16062025_16_11_45_10088.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_35_9990.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_25_10123.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_14_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg', '/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/11/image_16062025_16_11_45_10088.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_35_9990.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_25_10123.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_14_10287.jpg
/mnt/data/16062025/16/10/image_16062025_16_11_04_10287.jpg
/mnt/data/16062025/16/10/image_16062025_16_10_54_9014.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.482998371124268 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:13:02.475744
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/12/image_16062025_16_12_45_9940.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_35_9966.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_25_10124.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_15_9950.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_12_05_10073.jpg', 2), ('/mnt/data/16062025/16/11/image_16062025_16_11_55_9989.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/12/image_16062025_16_12_45_9940.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_35_9966.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_25_10124.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_15_9950.jpg', '/mnt/data/16062025/16/11/image_16062025_16_12_05_10073.jpg', '/mnt/data/16062025/16/11/image_16062025_16_11_55_9989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/12/image_16062025_16_12_45_9940.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_35_9966.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_25_10124.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_15_9950.jpg
/mnt/data/16062025/16/11/image_16062025_16_12_05_10073.jpg
/mnt/data/16062025/16/11/image_16062025_16_11_55_9989.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.902318239212036 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:14:03.007062
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_13_04_9018.jpg', 2), ('/mnt/data/16062025/16/12/image_16062025_16_12_55_9977.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg', '/mnt/data/16062025/16/12/image_16062025_16_13_04_9018.jpg', '/mnt/data/16062025/16/12/image_16062025_16_12_55_9977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/13/image_16062025_16_13_45_9967.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_35_9903.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_25_9924.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_15_11135.jpg
/mnt/data/16062025/16/12/image_16062025_16_13_04_9018.jpg
/mnt/data/16062025/16/12/image_16062025_16_12_55_9977.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.896768808364868 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:15:02.982258
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/14/image_16062025_16_14_44_8934.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_35_11154.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_24_10046.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_14_9945.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', 2), ('/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/14/image_16062025_16_14_44_8934.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_35_11154.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_24_10046.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_14_9945.jpg', '/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg', '/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/14/image_16062025_16_14_44_8934.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_35_11154.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_24_10046.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_14_9945.jpg
/mnt/data/16062025/16/13/image_16062025_16_14_04_9116.jpg
/mnt/data/16062025/16/13/image_16062025_16_13_55_9970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.81503081321716 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:16:02.898121
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_15_05_10508.jpg', 2), ('/mnt/data/16062025/16/14/image_16062025_16_14_54_10202.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg', '/mnt/data/16062025/16/14/image_16062025_16_15_05_10508.jpg', '/mnt/data/16062025/16/14/image_16062025_16_14_54_10202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/15/image_16062025_16_15_44_8990.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_35_10131.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_25_10122.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_15_10005.jpg
/mnt/data/16062025/16/14/image_16062025_16_15_05_10508.jpg
/mnt/data/16062025/16/14/image_16062025_16_14_54_10202.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.208557844161987 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:17:03.094099
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', 2), ('/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg', '/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg', '/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/16/image_16062025_16_16_44_10166.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_34_9029.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_25_10147.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_15_10176.jpg
/mnt/data/16062025/16/15/image_16062025_16_16_04_10432.jpg
/mnt/data/16062025/16/15/image_16062025_16_15_54_10231.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.76658844947815 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:18:02.913508
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg', '/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', '/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
/mnt/data/16062025/16/16/image_16062025_16_16_54_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.812368869781494 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:19:03.145085
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg', '/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.08201241493225 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:20:02.969915
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg', 2), ('/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg', '/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_44_9960.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_34_10024.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_24_8869.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_15_10250.jpg
/mnt/data/16062025/16/16/image_16062025_16_17_05_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.812872171401978 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:21:03.285364
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/20/image_16062025_16_20_44_9920.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_34_9934.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_24_9978.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_14_10054.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg', 2), ('/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/20/image_16062025_16_20_44_9920.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_34_9934.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_24_9978.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_14_10054.jpg', '/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg', '/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/20/image_16062025_16_20_44_9920.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_34_9934.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_24_9978.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_14_10054.jpg
/mnt/data/16062025/16/17/image_16062025_16_18_04_9206.jpg
/mnt/data/16062025/16/17/image_16062025_16_17_55_11142.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.731026887893677 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:22:03.187536
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_21_04_10175.jpg', 2), ('/mnt/data/16062025/16/20/image_16062025_16_20_54_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg', '/mnt/data/16062025/16/20/image_16062025_16_21_04_10175.jpg', '/mnt/data/16062025/16/20/image_16062025_16_20_54_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/21/image_16062025_16_21_44_9981.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_34_9899.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_24_9912.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_14_9920.jpg
/mnt/data/16062025/16/20/image_16062025_16_21_04_10175.jpg
/mnt/data/16062025/16/20/image_16062025_16_20_54_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.263832092285156 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:23:03.601560
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg', 2), ('/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg', '/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg', '/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_34_10074.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_24_8917.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_15_10099.jpg
/mnt/data/16062025/16/21/image_16062025_16_22_05_10404.jpg
/mnt/data/16062025/16/21/image_16062025_16_21_54_10108.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.260030508041382 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:24:02.726726
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/23/image_16062025_16_23_45_10109.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_23_35_10109.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_23_24_10043.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', 2), ('/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/23/image_16062025_16_23_45_10109.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_35_10109.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_24_10043.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg', '/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg', '/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/23/image_16062025_16_23_45_10109.jpg
/mnt/data/16062025/16/23/image_16062025_16_23_35_10109.jpg
/mnt/data/16062025/16/23/image_16062025_16_23_24_10043.jpg
/mnt/data/16062025/16/23/image_16062025_16_23_14_10087.jpg
/mnt/data/16062025/16/22/image_16062025_16_23_04_10253.jpg
/mnt/data/16062025/16/22/image_16062025_16_22_44_10143.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.656237602233887 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:25:03.495179
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_14_9987.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_24_04_9156.jpg', 2), ('/mnt/data/16062025/16/23/image_16062025_16_23_55_10074.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_14_9987.jpg', '/mnt/data/16062025/16/23/image_16062025_16_24_04_9156.jpg', '/mnt/data/16062025/16/23/image_16062025_16_23_55_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/24/image_16062025_16_24_44_10066.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_34_10087.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_24_10174.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_14_9987.jpg
/mnt/data/16062025/16/23/image_16062025_16_24_04_9156.jpg
/mnt/data/16062025/16/23/image_16062025_16_23_55_10074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.59524178504944 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:26:02.329945
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/25/image_16062025_16_25_44_9957.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_25_35_9976.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_25_25_9998.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', 2), ('/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/25/image_16062025_16_25_44_9957.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_35_9976.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_25_9998.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg', '/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg', '/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/25/image_16062025_16_25_44_9957.jpg
/mnt/data/16062025/16/25/image_16062025_16_25_35_9976.jpg
/mnt/data/16062025/16/25/image_16062025_16_25_25_9998.jpg
/mnt/data/16062025/16/25/image_16062025_16_25_15_9981.jpg
/mnt/data/16062025/16/24/image_16062025_16_25_05_10194.jpg
/mnt/data/16062025/16/24/image_16062025_16_24_54_10162.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.105942726135254 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:27:02.857318
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg', 2), ('/mnt/data/16062025/16/26/image_16062025_16_26_14_9921.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_26_05_10163.jpg', 2), ('/mnt/data/16062025/16/25/image_16062025_16_25_54_9948.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg', '/mnt/data/16062025/16/26/image_16062025_16_26_14_9921.jpg', '/mnt/data/16062025/16/25/image_16062025_16_26_05_10163.jpg', '/mnt/data/16062025/16/25/image_16062025_16_25_54_9948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/26/image_16062025_16_26_44_9935.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_34_9978.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_24_9923.jpg
/mnt/data/16062025/16/26/image_16062025_16_26_14_9921.jpg
/mnt/data/16062025/16/25/image_16062025_16_26_05_10163.jpg
/mnt/data/16062025/16/25/image_16062025_16_25_54_9948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.238354921340942 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:29:03.179722
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/28/image_16062025_16_28_44_10138.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_28_34_8945.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_28_25_10186.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_28_15_10127.jpg', 2), ('/mnt/data/16062025/16/27/image_16062025_16_28_05_10283.jpg', 2), ('/mnt/data/16062025/16/27/image_16062025_16_27_54_10048.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/28/image_16062025_16_28_44_10138.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_34_8945.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_25_10186.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_15_10127.jpg', '/mnt/data/16062025/16/27/image_16062025_16_28_05_10283.jpg', '/mnt/data/16062025/16/27/image_16062025_16_27_54_10048.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/28/image_16062025_16_28_44_10138.jpg
/mnt/data/16062025/16/28/image_16062025_16_28_34_8945.jpg
/mnt/data/16062025/16/28/image_16062025_16_28_25_10186.jpg
/mnt/data/16062025/16/28/image_16062025_16_28_15_10127.jpg
/mnt/data/16062025/16/27/image_16062025_16_28_05_10283.jpg
/mnt/data/16062025/16/27/image_16062025_16_27_54_10048.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.484888076782227 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:30:02.989374
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_35_9966.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_25_10114.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_15_10181.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_29_04_10244.jpg', 2), ('/mnt/data/16062025/16/28/image_16062025_16_28_54_10159.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_35_9966.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_25_10114.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_15_10181.jpg', '/mnt/data/16062025/16/28/image_16062025_16_29_04_10244.jpg', '/mnt/data/16062025/16/28/image_16062025_16_28_54_10159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_35_9966.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_25_10114.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_15_10181.jpg
/mnt/data/16062025/16/28/image_16062025_16_29_04_10244.jpg
/mnt/data/16062025/16/28/image_16062025_16_28_54_10159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.182581424713135 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:31:03.199828
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_30_25_9950.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_30_05_10149.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_54_9965.jpg', 2), ('/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg', '/mnt/data/16062025/16/30/image_16062025_16_30_25_9950.jpg', '/mnt/data/16062025/16/29/image_16062025_16_30_05_10149.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_54_9965.jpg', '/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/30/image_16062025_16_30_44_9905.jpg
/mnt/data/16062025/16/30/image_16062025_16_30_35_9958.jpg
/mnt/data/16062025/16/30/image_16062025_16_30_25_9950.jpg
/mnt/data/16062025/16/29/image_16062025_16_30_05_10149.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_54_9965.jpg
/mnt/data/16062025/16/29/image_16062025_16_29_45_9938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.372355937957764 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:32:03.108287
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_45_10178.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_35_10027.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg', 2), ('/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_45_10178.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_35_10027.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg', '/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_45_10178.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_35_10027.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_25_9999.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_15_10103.jpg
/mnt/data/16062025/16/30/image_16062025_16_31_05_10191.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.28709316253662 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:33:03.060911
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_24_10002.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_32_04_10000.jpg', 2), ('/mnt/data/16062025/16/31/image_16062025_16_31_54_8957.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_24_10002.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg', '/mnt/data/16062025/16/31/image_16062025_16_32_04_10000.jpg', '/mnt/data/16062025/16/31/image_16062025_16_31_54_8957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/32/image_16062025_16_32_44_10273.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_34_10205.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_24_10002.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_14_10145.jpg
/mnt/data/16062025/16/31/image_16062025_16_32_04_10000.jpg
/mnt/data/16062025/16/31/image_16062025_16_31_54_8957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.728249073028564 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:34:03.104065
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', 2), ('/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg', '/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg', '/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/33/image_16062025_16_33_45_10540.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_34_10179.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_24_10180.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_14_10136.jpg
/mnt/data/16062025/16/32/image_16062025_16_33_04_9166.jpg
/mnt/data/16062025/16/32/image_16062025_16_32_55_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.75241541862488 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:35:03.019525
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', '/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
/mnt/data/16062025/16/33/image_16062025_16_33_54_8927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.24798083305359 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:36:03.104089
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.238739013671875 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:37:03.134377
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21755862236023 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:38:03.084411
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20199680328369 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:39:03.539285
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.9164297580719 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:40:02.322172
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.209015607833862 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:41:02.560831
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2), ('/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', '/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
/mnt/data/16062025/16/33/image_16062025_16_34_04_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.226953268051147 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:42:02.484525
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', 2), ('/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg', '/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_54_9989.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_44_10128.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_34_10236.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_24_9804.jpg
/mnt/data/16062025/16/34/image_16062025_16_34_14_9935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.710750579833984 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:43:02.830605
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/42/image_16062025_16_42_44_9938.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_34_9920.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_24_9939.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_14_10032.jpg', 2), ('/mnt/data/16062025/16/41/image_16062025_16_42_04_10334.jpg', 2), ('/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/42/image_16062025_16_42_44_9938.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_34_9920.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_24_9939.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_14_10032.jpg', '/mnt/data/16062025/16/41/image_16062025_16_42_04_10334.jpg', '/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/42/image_16062025_16_42_44_9938.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_34_9920.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_24_9939.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_14_10032.jpg
/mnt/data/16062025/16/41/image_16062025_16_42_04_10334.jpg
/mnt/data/16062025/16/41/image_16062025_16_41_25_10068.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.239291429519653 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:44:02.861074
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_43_04_10258.jpg', 2), ('/mnt/data/16062025/16/42/image_16062025_16_42_54_9996.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg', '/mnt/data/16062025/16/42/image_16062025_16_43_04_10258.jpg', '/mnt/data/16062025/16/42/image_16062025_16_42_54_9996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/43/image_16062025_16_43_44_9947.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_34_10006.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_24_10033.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_14_9950.jpg
/mnt/data/16062025/16/42/image_16062025_16_43_04_10258.jpg
/mnt/data/16062025/16/42/image_16062025_16_42_54_9996.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.246870517730713 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:45:03.174164
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', 2), ('/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg', 2), ('/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg', '/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg', '/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg', '/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/44/image_16062025_16_44_44_9969.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_34_9963.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_24_10051.jpg
/mnt/data/16062025/16/44/image_16062025_16_44_14_9976.jpg
/mnt/data/16062025/16/43/image_16062025_16_44_04_10217.jpg
/mnt/data/16062025/16/43/image_16062025_16_43_54_9943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.898855924606323 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:46:03.125855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:46:14.489601
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg', '/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg
/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg
/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.55796480178833 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:47:03.402521
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg', 2), ('/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg', '/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg', '/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/46/image_16062025_16_46_45_11135.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_34_9974.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_24_9937.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_14_10058.jpg
/mnt/data/16062025/16/45/image_16062025_16_46_04_9083.jpg
/mnt/data/16062025/16/45/image_16062025_16_45_55_9967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19765830039978 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:48:03.343042
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_14_9013.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_47_05_10055.jpg', 2), ('/mnt/data/16062025/16/46/image_16062025_16_46_55_9937.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_14_9013.jpg', '/mnt/data/16062025/16/46/image_16062025_16_47_05_10055.jpg', '/mnt/data/16062025/16/46/image_16062025_16_46_55_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/47/image_16062025_16_47_44_9999.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_34_9947.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_24_10092.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_14_9013.jpg
/mnt/data/16062025/16/46/image_16062025_16_47_05_10055.jpg
/mnt/data/16062025/16/46/image_16062025_16_46_55_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20656943321228 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:49:02.706049
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/48/image_16062025_16_48_44_10084.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_48_34_10176.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_48_24_10131.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', 2), ('/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/48/image_16062025_16_48_44_10084.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_34_10176.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_24_10131.jpg', '/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg', '/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg', '/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/48/image_16062025_16_48_44_10084.jpg
/mnt/data/16062025/16/48/image_16062025_16_48_34_10176.jpg
/mnt/data/16062025/16/48/image_16062025_16_48_24_10131.jpg
/mnt/data/16062025/16/48/image_16062025_16_48_14_10095.jpg
/mnt/data/16062025/16/47/image_16062025_16_48_04_10102.jpg
/mnt/data/16062025/16/47/image_16062025_16_47_54_9950.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.349300384521484 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:50:02.524531
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_44_9923.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_35_9931.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_25_9874.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_15_10137.jpg', 2), ('/mnt/data/16062025/16/48/image_16062025_16_49_05_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_44_9923.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_35_9931.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_25_9874.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_15_10137.jpg', '/mnt/data/16062025/16/48/image_16062025_16_49_05_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_44_9923.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_35_9931.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_25_9874.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_15_10137.jpg
/mnt/data/16062025/16/48/image_16062025_16_49_05_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.338282346725464 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:51:02.823812
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_14_10014.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_50_04_9308.jpg', 2), ('/mnt/data/16062025/16/49/image_16062025_16_49_54_9933.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_14_10014.jpg', '/mnt/data/16062025/16/49/image_16062025_16_50_04_9308.jpg', '/mnt/data/16062025/16/49/image_16062025_16_49_54_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/50/image_16062025_16_50_45_11169.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_34_9978.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_24_9935.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_14_10014.jpg
/mnt/data/16062025/16/49/image_16062025_16_50_04_9308.jpg
/mnt/data/16062025/16/49/image_16062025_16_49_54_9933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.461621522903442 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:52:02.821617
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/51/image_16062025_16_51_44_9915.jpg', 2), ('/mnt/data/16062025/16/51/image_16062025_16_51_34_9954.jpg', 2), ('/mnt/data/16062025/16/51/image_16062025_16_51_24_9996.jpg', 2), ('/mnt/data/16062025/16/51/image_16062025_16_51_14_9981.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_51_04_9051.jpg', 2), ('/mnt/data/16062025/16/50/image_16062025_16_50_55_9954.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/51/image_16062025_16_51_44_9915.jpg', '/mnt/data/16062025/16/51/image_16062025_16_51_34_9954.jpg', '/mnt/data/16062025/16/51/image_16062025_16_51_24_9996.jpg', '/mnt/data/16062025/16/51/image_16062025_16_51_14_9981.jpg', '/mnt/data/16062025/16/50/image_16062025_16_51_04_9051.jpg', '/mnt/data/16062025/16/50/image_16062025_16_50_55_9954.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/51/image_16062025_16_51_44_9915.jpg
/mnt/data/16062025/16/51/image_16062025_16_51_34_9954.jpg
/mnt/data/16062025/16/51/image_16062025_16_51_24_9996.jpg
/mnt/data/16062025/16/51/image_16062025_16_51_14_9981.jpg
/mnt/data/16062025/16/50/image_16062025_16_51_04_9051.jpg
/mnt/data/16062025/16/50/image_16062025_16_50_55_9954.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366570190","1366569932","1366570202","1366570208","1366570090","1366569864"],"photo_ids_order":["1366569864","1366569932","1366570090","1366570190","1366570202","1366570208"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/60877c6ecae9982a2318de9d572403c5.jpg","text":"TemporaryFile(/tmp/multipartBody8747302596163783510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750085611044,"filename":"image_16062025_16_51_14_9981.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/86da089ca07e7e931f68702b136ddbed.jpg","text":"TemporaryFile(/tmp/multipartBody1000420112674132837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750085611044,"filename":"image_16062025_16_51_34_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/3530bf992ce6956b3ab7a478efafcc01.jpg","text":"TemporaryFile(/tmp/multipartBody3407795477159999679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750085611044,"filename":"image_16062025_16_51_04_9051.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/d0adddaa12dc23171d9505eb47e083af.jpg","text":"TemporaryFile(/tmp/multipartBody5258832443234868149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750085611044,"filename":"image_16062025_16_50_55_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/745422a7530c069d386f162711055a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8409820950100149111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750085611044,"filename":"image_16062025_16_51_24_9996.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0d49eec060555d47a338e79a9047a883.jpg","text":"TemporaryFile(/tmp/multipartBody4259171679742126003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750085611044,"filename":"image_16062025_16_51_44_9915.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366570090","file1":"1366569932","file0":"1366569864","file4":"1366570202","file5":"1366570208","file3":"1366570190"},"map_files_photo_id_array":[{"photo_id":"1366570208","filename":"file5"},{"photo_id":"1366570090","filename":"file2"},{"photo_id":"1366570202","filename":"file4"},{"photo_id":"1366569932","filename":"file1"},{"photo_id":"1366569864","filename":"file0"},{"photo_id":"1366570190","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366570190":["hashtag1","hashtag2"]},{"1366569932":["hashtag1","hashtag2"]},{"1366570202":["hashtag1","hashtag2"]},{"1366570208":["hashtag1","hashtag2"]},{"1366570090":["hashtag1","hashtag2"]},{"1366569864":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366570190, 1366569932, 1366570202, 1366570208, 1366570090, 1366569864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.83866739273071 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:54:03.150755
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/53/image_16062025_16_53_44_10025.jpg', 2), ('/mnt/data/16062025/16/53/image_16062025_16_53_34_10123.jpg', 2), ('/mnt/data/16062025/16/53/image_16062025_16_53_24_10084.jpg', 2), ('/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', 2), ('/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/53/image_16062025_16_53_44_10025.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_34_10123.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_24_10084.jpg', '/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg', '/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg', '/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/53/image_16062025_16_53_44_10025.jpg
/mnt/data/16062025/16/53/image_16062025_16_53_34_10123.jpg
/mnt/data/16062025/16/53/image_16062025_16_53_24_10084.jpg
/mnt/data/16062025/16/53/image_16062025_16_53_14_10086.jpg
/mnt/data/16062025/16/52/image_16062025_16_53_04_9053.jpg
/mnt/data/16062025/16/52/image_16062025_16_52_55_10009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19246244430542 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 16:59:03.233709
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/59/image_16062025_16_59_44_9946.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_44_9952.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_34_9958.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg', 2), ('/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/59/image_16062025_16_59_44_9946.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_44_9952.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_34_9958.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg', '/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/59/image_16062025_16_59_44_9946.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_44_9952.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_34_9958.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_24_9936.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_14_9948.jpg
/mnt/data/16062025/16/57/image_16062025_16_58_04_10193.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.210741758346558 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:00:03.208470
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/16/59/image_16062025_16_59_44_9946.jpg', 2), ('/mnt/data/16062025/16/59/image_16062025_16_59_34_9915.jpg', 2), ('/mnt/data/16062025/16/59/image_16062025_16_59_24_9911.jpg', 2), ('/mnt/data/16062025/16/59/image_16062025_16_59_14_9934.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_59_04_10105.jpg', 2), ('/mnt/data/16062025/16/58/image_16062025_16_58_54_9969.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/16/59/image_16062025_16_59_44_9946.jpg', '/mnt/data/16062025/16/59/image_16062025_16_59_34_9915.jpg', '/mnt/data/16062025/16/59/image_16062025_16_59_24_9911.jpg', '/mnt/data/16062025/16/59/image_16062025_16_59_14_9934.jpg', '/mnt/data/16062025/16/58/image_16062025_16_59_04_10105.jpg', '/mnt/data/16062025/16/58/image_16062025_16_58_54_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/16/59/image_16062025_16_59_44_9946.jpg
/mnt/data/16062025/16/59/image_16062025_16_59_34_9915.jpg
/mnt/data/16062025/16/59/image_16062025_16_59_24_9911.jpg
/mnt/data/16062025/16/59/image_16062025_16_59_14_9934.jpg
/mnt/data/16062025/16/58/image_16062025_16_59_04_10105.jpg
/mnt/data/16062025/16/58/image_16062025_16_58_54_9969.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366571901","1366571879","1366571893","1366571887","1366571875","1366571871"],"photo_ids_order":["1366571871","1366571875","1366571879","1366571887","1366571893","1366571901"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b6febf248488ca0b1b0bbd9b92b32460.jpg","text":"TemporaryFile(/tmp/multipartBody1738784856158595485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750086091104,"filename":"image_16062025_16_58_54_9969.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/199ccabb7869b7ca54836f0a2879bfaa.jpg","text":"TemporaryFile(/tmp/multipartBody6216910051302449371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750086091104,"filename":"image_16062025_16_59_24_9911.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/8268f8dac58f47673cba44dcb16cb269.jpg","text":"TemporaryFile(/tmp/multipartBody4724930647770452356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750086091104,"filename":"image_16062025_16_59_04_10105.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/fc33a7653dae1c50884cdc5f15382e04.jpg","text":"TemporaryFile(/tmp/multipartBody4092438438485785410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750086091104,"filename":"image_16062025_16_59_14_9934.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/d9c751628fcb0990fef1fe7bde327530.jpg","text":"TemporaryFile(/tmp/multipartBody3705750994633048055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750086091104,"filename":"image_16062025_16_59_34_9915.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/08c0287381a64a2ad246a60805949df6.jpg","text":"TemporaryFile(/tmp/multipartBody4855886843524251171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750086091104,"filename":"image_16062025_16_59_44_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366571879","file1":"1366571875","file0":"1366571871","file4":"1366571893","file5":"1366571901","file3":"1366571887"},"map_files_photo_id_array":[{"photo_id":"1366571901","filename":"file5"},{"photo_id":"1366571879","filename":"file2"},{"photo_id":"1366571893","filename":"file4"},{"photo_id":"1366571875","filename":"file1"},{"photo_id":"1366571871","filename":"file0"},{"photo_id":"1366571887","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366571901":["hashtag1","hashtag2"]},{"1366571879":["hashtag1","hashtag2"]},{"1366571893":["hashtag1","hashtag2"]},{"1366571887":["hashtag1","hashtag2"]},{"1366571875":["hashtag1","hashtag2"]},{"1366571871":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366571901, 1366571879, 1366571893, 1366571887, 1366571875, 1366571871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.71565675735474 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:02:02.311201
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/01/image_16062025_17_01_45_10113.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg', 2), ('/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/01/image_16062025_17_01_45_10113.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg', '/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg', '/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/01/image_16062025_17_01_45_10113.jpg
/mnt/data/16062025/17/01/image_16062025_17_01_35_10189.jpg
/mnt/data/16062025/17/01/image_16062025_17_01_14_10198.jpg
/mnt/data/16062025/17/00/image_16062025_17_01_04_9121.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_55_10152.jpg
/mnt/data/16062025/17/00/image_16062025_17_00_45_10168.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.169244289398193 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:03:02.559882
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_02_04_8980.jpg', 2), ('/mnt/data/16062025/17/01/image_16062025_17_01_55_10140.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', '/mnt/data/16062025/17/01/image_16062025_17_02_04_8980.jpg', '/mnt/data/16062025/17/01/image_16062025_17_01_55_10140.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg
/mnt/data/16062025/17/01/image_16062025_17_02_04_8980.jpg
/mnt/data/16062025/17/01/image_16062025_17_01_55_10140.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.82547092437744 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:04:02.972389
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.324732780456543 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:05:03.169961
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.186779975891113 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:06:02.979342
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19365906715393 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:07:03.034014
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.238836765289307 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:08:03.130441
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_14_10153.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! 
uploaded 0 photos
time to upload: 145.89397382736206 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:11:02.614937
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', '/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.945070266723633 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:12:02.652964
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', '/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_24_10157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.402238845825195 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:13:02.866817
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', 2), ('/mnt/data/16062025/17/03/image_16062025_17_03_14_10065.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', 2), ('/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', '/mnt/data/16062025/17/03/image_16062025_17_03_14_10065.jpg', '/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg', '/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg
/mnt/data/16062025/17/03/image_16062025_17_03_14_10065.jpg
/mnt/data/16062025/17/02/image_16062025_17_03_04_10025.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_54_9964.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_44_9953.jpg
/mnt/data/16062025/17/02/image_16062025_17_02_34_10050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.70496845245361 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:14:02.992703
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/13/image_16062025_17_13_44_9926.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_35_9917.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_25_9897.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_15_9968.jpg', 2), ('/mnt/data/16062025/17/12/image_16062025_17_12_55_9993.jpg', 2), ('/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/13/image_16062025_17_13_44_9926.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_35_9917.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_25_9897.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_15_9968.jpg', '/mnt/data/16062025/17/12/image_16062025_17_12_55_9993.jpg', '/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/13/image_16062025_17_13_44_9926.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_35_9917.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_25_9897.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_15_9968.jpg
/mnt/data/16062025/17/12/image_16062025_17_12_55_9993.jpg
/mnt/data/16062025/17/08/image_16062025_17_08_54_10002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.198457956314087 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:15:03.136545
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/14/image_16062025_17_14_44_9970.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_34_9963.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_24_9890.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_14_9912.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_14_04_10019.jpg', 2), ('/mnt/data/16062025/17/13/image_16062025_17_13_54_9927.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/14/image_16062025_17_14_44_9970.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_34_9963.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_24_9890.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_14_9912.jpg', '/mnt/data/16062025/17/13/image_16062025_17_14_04_10019.jpg', '/mnt/data/16062025/17/13/image_16062025_17_13_54_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/14/image_16062025_17_14_44_9970.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_34_9963.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_24_9890.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_14_9912.jpg
/mnt/data/16062025/17/13/image_16062025_17_14_04_10019.jpg
/mnt/data/16062025/17/13/image_16062025_17_13_54_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.283345699310303 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:16:03.159353
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_15_04_10125.jpg', 2), ('/mnt/data/16062025/17/14/image_16062025_17_14_54_9934.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg', '/mnt/data/16062025/17/14/image_16062025_17_15_04_10125.jpg', '/mnt/data/16062025/17/14/image_16062025_17_14_54_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_34_10080.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_24_9940.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_14_10029.jpg
/mnt/data/16062025/17/14/image_16062025_17_15_04_10125.jpg
/mnt/data/16062025/17/14/image_16062025_17_14_54_9934.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.234146118164062 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:17:03.552970
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', 2), ('/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg', '/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg', '/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/16/image_16062025_17_16_44_10178.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_34_10047.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_14_10246.jpg
/mnt/data/16062025/17/15/image_16062025_17_16_04_9098.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_55_10153.jpg
/mnt/data/16062025/17/15/image_16062025_17_15_45_10189.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.25026297569275 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:18:03.308251
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', 2), ('/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg', '/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg', '/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/17/image_16062025_17_17_45_10259.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_34_10197.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_24_10197.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_14_8974.jpg
/mnt/data/16062025/17/16/image_16062025_17_17_05_10242.jpg
/mnt/data/16062025/17/16/image_16062025_17_16_55_10134.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.23748278617859 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:19:02.652689
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/18/image_16062025_17_18_44_9907.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_18_34_10031.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_18_24_9974.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', 2), ('/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/18/image_16062025_17_18_44_9907.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_34_10031.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_24_9974.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg', '/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg', '/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/18/image_16062025_17_18_44_9907.jpg
/mnt/data/16062025/17/18/image_16062025_17_18_34_10031.jpg
/mnt/data/16062025/17/18/image_16062025_17_18_24_9974.jpg
/mnt/data/16062025/17/18/image_16062025_17_18_14_10094.jpg
/mnt/data/16062025/17/17/image_16062025_17_18_04_9033.jpg
/mnt/data/16062025/17/17/image_16062025_17_17_55_10298.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.52708148956299 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:20:02.532492
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/19/image_16062025_17_19_44_9991.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_19_34_9995.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_19_24_9976.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_19_14_9935.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_19_04_10035.jpg', 2), ('/mnt/data/16062025/17/18/image_16062025_17_18_54_9920.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/19/image_16062025_17_19_44_9991.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_34_9995.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_24_9976.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_14_9935.jpg', '/mnt/data/16062025/17/18/image_16062025_17_19_04_10035.jpg', '/mnt/data/16062025/17/18/image_16062025_17_18_54_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/19/image_16062025_17_19_44_9991.jpg
/mnt/data/16062025/17/19/image_16062025_17_19_34_9995.jpg
/mnt/data/16062025/17/19/image_16062025_17_19_24_9976.jpg
/mnt/data/16062025/17/19/image_16062025_17_19_14_9935.jpg
/mnt/data/16062025/17/18/image_16062025_17_19_04_10035.jpg
/mnt/data/16062025/17/18/image_16062025_17_18_54_9920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.257886171340942 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:21:02.956835
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/20/image_16062025_17_20_44_9997.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_20_34_10003.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_20_24_9935.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_20_14_9966.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_20_04_10360.jpg', 2), ('/mnt/data/16062025/17/19/image_16062025_17_19_54_9966.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/20/image_16062025_17_20_44_9997.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_34_10003.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_24_9935.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_14_9966.jpg', '/mnt/data/16062025/17/19/image_16062025_17_20_04_10360.jpg', '/mnt/data/16062025/17/19/image_16062025_17_19_54_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/20/image_16062025_17_20_44_9997.jpg
/mnt/data/16062025/17/20/image_16062025_17_20_34_10003.jpg
/mnt/data/16062025/17/20/image_16062025_17_20_24_9935.jpg
/mnt/data/16062025/17/20/image_16062025_17_20_14_9966.jpg
/mnt/data/16062025/17/19/image_16062025_17_20_04_10360.jpg
/mnt/data/16062025/17/19/image_16062025_17_19_54_9966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.15566062927246 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:22:02.639259
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_14_10073.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_21_04_10270.jpg', 2), ('/mnt/data/16062025/17/20/image_16062025_17_20_54_9974.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_14_10073.jpg', '/mnt/data/16062025/17/20/image_16062025_17_21_04_10270.jpg', '/mnt/data/16062025/17/20/image_16062025_17_20_54_9974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/21/image_16062025_17_21_44_10085.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_34_10094.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_24_10071.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_14_10073.jpg
/mnt/data/16062025/17/20/image_16062025_17_21_04_10270.jpg
/mnt/data/16062025/17/20/image_16062025_17_20_54_9974.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.350062131881714 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:23:02.935606
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg', 2), ('/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg', '/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg', '/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_34_9955.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_24_10058.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_14_10078.jpg
/mnt/data/16062025/17/21/image_16062025_17_22_04_9284.jpg
/mnt/data/16062025/17/21/image_16062025_17_21_55_10101.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.960423469543457 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:24:02.674351
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/23/image_16062025_17_23_34_10098.jpg', 2), ('/mnt/data/16062025/17/23/image_16062025_17_23_24_9830.jpg', 2), ('/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg', 2), ('/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/23/image_16062025_17_23_34_10098.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_24_9830.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg', '/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg', '/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/23/image_16062025_17_23_34_10098.jpg
/mnt/data/16062025/17/23/image_16062025_17_23_24_9830.jpg
/mnt/data/16062025/17/23/image_16062025_17_23_14_9974.jpg
/mnt/data/16062025/17/22/image_16062025_17_23_04_10156.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_54_9913.jpg
/mnt/data/16062025/17/22/image_16062025_17_22_44_9930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.22909951210022 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:25:03.527474
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_24_10019.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_14_10017.jpg', 2), ('/mnt/data/16062025/17/23/image_16062025_17_24_04_10303.jpg', 2), ('/mnt/data/16062025/17/23/image_16062025_17_23_54_10127.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_24_10019.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_14_10017.jpg', '/mnt/data/16062025/17/23/image_16062025_17_24_04_10303.jpg', '/mnt/data/16062025/17/23/image_16062025_17_23_54_10127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_34_10058.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_24_10019.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_14_10017.jpg
/mnt/data/16062025/17/23/image_16062025_17_24_04_10303.jpg
/mnt/data/16062025/17/23/image_16062025_17_23_54_10127.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.372353315353394 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:26:03.332273
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/25/image_16062025_17_25_44_8960.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', 2), ('/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/25/image_16062025_17_25_44_8960.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg', '/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg', '/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/25/image_16062025_17_25_44_8960.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_24_10124.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_14_10124.jpg
/mnt/data/16062025/17/24/image_16062025_17_25_04_9426.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_55_10189.jpg
/mnt/data/16062025/17/24/image_16062025_17_24_45_10079.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.294913291931152 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:27:03.494755
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_35_10232.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_25_10128.jpg', 2), ('/mnt/data/16062025/17/26/image_16062025_17_26_14_10234.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_26_04_10420.jpg', 2), ('/mnt/data/16062025/17/25/image_16062025_17_25_54_10149.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_35_10232.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_25_10128.jpg', '/mnt/data/16062025/17/26/image_16062025_17_26_14_10234.jpg', '/mnt/data/16062025/17/25/image_16062025_17_26_04_10420.jpg', '/mnt/data/16062025/17/25/image_16062025_17_25_54_10149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/26/image_16062025_17_26_44_9061.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_35_10232.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_25_10128.jpg
/mnt/data/16062025/17/26/image_16062025_17_26_14_10234.jpg
/mnt/data/16062025/17/25/image_16062025_17_26_04_10420.jpg
/mnt/data/16062025/17/25/image_16062025_17_25_54_10149.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.29000735282898 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:29:02.936661
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/28/image_16062025_17_28_44_10142.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', 2), ('/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/28/image_16062025_17_28_44_10142.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg', '/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg', '/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/28/image_16062025_17_28_44_10142.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_34_9062.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_25_10209.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_14_10207.jpg
/mnt/data/16062025/17/27/image_16062025_17_28_04_10214.jpg
/mnt/data/16062025/17/27/image_16062025_17_27_54_10095.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.324572801589966 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:30:02.521120
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_35_10079.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_25_10188.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_14_10171.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_29_04_10236.jpg', 2), ('/mnt/data/16062025/17/28/image_16062025_17_28_54_10122.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_35_10079.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_25_10188.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_14_10171.jpg', '/mnt/data/16062025/17/28/image_16062025_17_29_04_10236.jpg', '/mnt/data/16062025/17/28/image_16062025_17_28_54_10122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/29/image_16062025_17_29_45_10250.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_35_10079.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_25_10188.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_14_10171.jpg
/mnt/data/16062025/17/28/image_16062025_17_29_04_10236.jpg
/mnt/data/16062025/17/28/image_16062025_17_28_54_10122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.288235664367676 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:31:02.903769
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/30/image_16062025_17_30_45_11123.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', 2), ('/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/30/image_16062025_17_30_45_11123.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg', '/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg', '/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/30/image_16062025_17_30_45_11123.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_34_8879.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_25_10143.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_15_10207.jpg
/mnt/data/16062025/17/29/image_16062025_17_30_04_10560.jpg
/mnt/data/16062025/17/29/image_16062025_17_29_54_9006.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.537331342697144 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:32:02.772627
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_34_9990.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_24_9988.jpg', 2), ('/mnt/data/16062025/17/31/image_16062025_17_31_14_9959.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_31_04_10313.jpg', 2), ('/mnt/data/16062025/17/30/image_16062025_17_30_54_8894.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_34_9990.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_24_9988.jpg', '/mnt/data/16062025/17/31/image_16062025_17_31_14_9959.jpg', '/mnt/data/16062025/17/30/image_16062025_17_31_04_10313.jpg', '/mnt/data/16062025/17/30/image_16062025_17_30_54_8894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/31/image_16062025_17_31_44_9993.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_34_9990.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_24_9988.jpg
/mnt/data/16062025/17/31/image_16062025_17_31_14_9959.jpg
/mnt/data/16062025/17/30/image_16062025_17_31_04_10313.jpg
/mnt/data/16062025/17/30/image_16062025_17_30_54_8894.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! 
uploaded 0 photos
time to upload: 144.62375283241272 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:35:03.203435
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_24_10204.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_14_8916.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_34_05_10210.jpg', 2), ('/mnt/data/16062025/17/33/image_16062025_17_33_55_10100.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_24_10204.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_14_8916.jpg', '/mnt/data/16062025/17/33/image_16062025_17_34_05_10210.jpg', '/mnt/data/16062025/17/33/image_16062025_17_33_55_10100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_24_10204.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_14_8916.jpg
/mnt/data/16062025/17/33/image_16062025_17_34_05_10210.jpg
/mnt/data/16062025/17/33/image_16062025_17_33_55_10100.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.277756452560425 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:36:03.089962
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', '/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.253525495529175 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:37:03.637541
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', '/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.906076908111572 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:38:02.423225
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', '/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.200544118881226 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:39:02.834948
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', '/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.162802934646606 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:40:02.599326
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', '/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.260425806045532 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:41:02.812572
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', 2), ('/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', '/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg', '/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
/mnt/data/16062025/17/34/image_16062025_17_35_04_10246.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_54_10123.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_44_9952.jpg
/mnt/data/16062025/17/34/image_16062025_17_34_34_10126.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! 
uploaded 0 photos
time to upload: 134.23500514030457 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:43:26.230619
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
uploaded 0 photos
time to upload: 32.49562215805054 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:44:02.869184
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_24_9996.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_14_10075.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20955538749695 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:45:03.016232
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', 2), ('/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', 2), ('/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', 2), ('/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg', '/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg', '/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg', '/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_15_10208.jpg
/mnt/data/16062025/17/41/image_16062025_17_41_44_10169.jpg
/mnt/data/16062025/17/40/image_16062025_17_41_04_10285.jpg
/mnt/data/16062025/17/35/image_16062025_17_35_34_9936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.97307252883911 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:46:02.986374
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', 2), ('/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg', '/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_34_8982.jpg
/mnt/data/16062025/17/43/image_16062025_17_43_54_10153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.184512615203857 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:47:03.145555
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', 2), ('/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg', '/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_34_10168.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_15_10165.jpg
/mnt/data/16062025/17/44/image_16062025_17_44_44_10224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.202179670333862 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:48:03.299679
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_44_10194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22289776802063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:49:03.636143
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2), ('/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', '/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
/mnt/data/16062025/17/45/image_16062025_17_45_54_10156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.248610019683838 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:50:02.511517
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', 2), ('/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', 2), ('/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg', '/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg', '/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_44_10159.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_34_10163.jpg
/mnt/data/16062025/17/47/image_16062025_17_47_14_9102.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_34_10159.jpg
/mnt/data/16062025/17/46/image_16062025_17_46_15_10169.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.280989408493042 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:51:02.658445
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2), ('/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', 2), ('/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', 2), ('/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', '/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', '/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', '/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg
/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg
/mnt/data/16062025/17/48/image_16062025_17_48_24_10218.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.29954695701599 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:52:02.703912
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', 2), ('/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', 2), ('/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg', '/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg', '/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_14_10158.jpg
/mnt/data/16062025/17/49/image_16062025_17_50_04_9165.jpg
/mnt/data/16062025/17/48/image_16062025_17_49_04_9166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.41593623161316 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:53:03.053524
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg', 2), ('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg', '/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_24_10148.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.77931046485901 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:54:03.182722
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg', 2), ('/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg', 2), ('/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', 2), ('/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg', '/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg', '/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg', '/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg', '/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg
/mnt/data/16062025/17/52/image_16062025_17_52_24_10198.jpg
/mnt/data/16062025/17/51/image_16062025_17_52_04_10317.jpg
/mnt/data/16062025/17/50/image_16062025_17_51_04_9394.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_55_10193.jpg
/mnt/data/16062025/17/50/image_16062025_17_50_34_10190.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22992491722107 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 17:59:03.081842
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg', 2), ('/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg', 2), ('/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg', 2), ('/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg', 2), ('/mnt/data/16062025/17/53/image_16062025_17_53_35_10211.jpg', 2), ('/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg', '/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg', '/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg', '/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg', '/mnt/data/16062025/17/53/image_16062025_17_53_35_10211.jpg', '/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg
/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg
/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg
/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg
/mnt/data/16062025/17/53/image_16062025_17_53_35_10211.jpg
/mnt/data/16062025/17/52/image_16062025_17_52_35_10200.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.193687438964844 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:00:02.745452
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg', 2), ('/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg', 2), ('/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg', 2), ('/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', '/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', '/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg', '/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg', '/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg', '/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg
/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg
/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg
/mnt/data/16062025/17/54/image_16062025_17_54_35_10157.jpg
/mnt/data/16062025/17/54/image_16062025_17_54_25_10160.jpg
/mnt/data/16062025/17/53/image_16062025_17_54_04_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.581634283065796 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:01:03.197287
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', 2), ('/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', '/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', '/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', '/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', '/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', '/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg
/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg
/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg
/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg
/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg
/mnt/data/16062025/17/55/image_16062025_17_55_15_10201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.573598623275757 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:02:02.969120
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', 2), ('/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', 2), ('/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', '/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', '/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg', '/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg', '/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg
/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg
/mnt/data/16062025/17/59/image_16062025_17_59_14_8935.jpg
/mnt/data/16062025/17/58/image_16062025_17_59_05_10160.jpg
/mnt/data/16062025/17/55/image_16062025_17_56_04_10244.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20680546760559 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:03:03.415083
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2), ('/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', '/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg
/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.337105989456177 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:04:03.383197
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2), ('/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', 2), ('/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', '/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg
/mnt/data/16062025/17/59/image_16062025_18_00_05_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.350830793380737 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:05:03.470176
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2), ('/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', 2), ('/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg', '/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_24_10201.jpg
/mnt/data/16062025/18/00/image_16062025_18_00_14_8955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.192413091659546 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:06:02.542321
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2), ('/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', '/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
/mnt/data/16062025/18/01/image_16062025_18_01_34_10163.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.205091953277588 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:07:02.691016
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.25800919532776 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:08:02.620640
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_15_10182.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.72390794754028 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:09:03.124371
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22403383255005 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:10:02.955929
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21861720085144 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:11:03.454087
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20565629005432 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:12:03.051853
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', '/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
/mnt/data/16062025/18/02/image_16062025_18_02_34_10132.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.41212224960327 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:13:03.390122
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', 2), ('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', '/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.754329919815063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:14:02.634606
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', 2), ('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', '/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.318878412246704 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:15:02.847037
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', 2), ('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', '/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22338104248047 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:16:02.929056
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', 2), ('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2), ('/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', '/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', '/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
/mnt/data/16062025/18/02/image_16062025_18_03_04_10301.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.188312530517578 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:17:03.213486
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', 2), ('/mnt/data/16062025/18/08/image_16062025_18_08_14_10079.jpg', 2), ('/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', 2), ('/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', 2), ('/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg', '/mnt/data/16062025/18/08/image_16062025_18_08_14_10079.jpg', '/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg', '/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg', '/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/12/image_16062025_18_12_14_10074.jpg
/mnt/data/16062025/18/08/image_16062025_18_08_14_10079.jpg
/mnt/data/16062025/18/06/image_16062025_18_06_44_10130.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_55_10114.jpg
/mnt/data/16062025/18/05/image_16062025_18_05_14_10112.jpg
/mnt/data/16062025/18/04/image_16062025_18_04_54_8886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.593685388565063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:18:02.958070
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_34_9983.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_24_9998.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_14_10004.jpg', 2), ('/mnt/data/16062025/18/16/image_16062025_18_17_04_10275.jpg', 2), ('/mnt/data/16062025/18/16/image_16062025_18_16_54_10015.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_34_9983.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_24_9998.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_14_10004.jpg', '/mnt/data/16062025/18/16/image_16062025_18_17_04_10275.jpg', '/mnt/data/16062025/18/16/image_16062025_18_16_54_10015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_34_9983.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_24_9998.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_14_10004.jpg
/mnt/data/16062025/18/16/image_16062025_18_17_04_10275.jpg
/mnt/data/16062025/18/16/image_16062025_18_16_54_10015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.239196062088013 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:19:03.234421
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_54_9976.jpg', 2), ('/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg', '/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_54_9976.jpg', '/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/18/image_16062025_18_18_44_10160.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_34_10047.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_24_9995.jpg
/mnt/data/16062025/18/17/image_16062025_18_18_04_10263.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_54_9976.jpg
/mnt/data/16062025/18/17/image_16062025_18_17_44_9971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.25177836418152 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:20:03.217127
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg', 2), ('/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg', '/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg', '/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/19/image_16062025_18_19_45_10288.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_34_10207.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_24_10194.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_14_10194.jpg
/mnt/data/16062025/18/18/image_16062025_18_19_04_9134.jpg
/mnt/data/16062025/18/18/image_16062025_18_18_55_10155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.224409580230713 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:21:02.933678
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg', 2), ('/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg', '/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg', '/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/20/image_16062025_18_20_44_10012.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_34_9076.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_25_11137.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_14_9929.jpg
/mnt/data/16062025/18/19/image_16062025_18_20_04_8968.jpg
/mnt/data/16062025/18/19/image_16062025_18_19_55_10137.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.209661960601807 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:22:02.765210
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', 2), ('/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg', '/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg', '/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_34_8959.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_25_10197.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_15_10071.jpg
/mnt/data/16062025/18/20/image_16062025_18_21_04_10462.jpg
/mnt/data/16062025/18/20/image_16062025_18_20_54_10180.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.24436616897583 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:23:03.267396
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/22/image_16062025_18_22_45_9991.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_22_35_9972.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_22_25_9994.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', 2), ('/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/22/image_16062025_18_22_45_9991.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_35_9972.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_25_9994.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg', '/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/22/image_16062025_18_22_45_9991.jpg
/mnt/data/16062025/18/22/image_16062025_18_22_35_9972.jpg
/mnt/data/16062025/18/22/image_16062025_18_22_25_9994.jpg
/mnt/data/16062025/18/22/image_16062025_18_22_15_10175.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_54_10177.jpg
/mnt/data/16062025/18/21/image_16062025_18_21_44_9971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.220057249069214 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:24:03.329126
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_25_10017.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_15_9972.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_23_05_10151.jpg', 2), ('/mnt/data/16062025/18/22/image_16062025_18_22_55_9955.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_25_10017.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_15_9972.jpg', '/mnt/data/16062025/18/22/image_16062025_18_23_05_10151.jpg', '/mnt/data/16062025/18/22/image_16062025_18_22_55_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_25_10017.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_15_9972.jpg
/mnt/data/16062025/18/22/image_16062025_18_23_05_10151.jpg
/mnt/data/16062025/18/22/image_16062025_18_22_55_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.942694664001465 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:25:03.388067
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_34_10026.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_24_10152.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_55_10081.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg', 2), ('/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_34_10026.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_24_10152.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_55_10081.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg', '/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/24/image_16062025_18_24_44_10015.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_34_10026.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_24_10152.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_55_10081.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_45_9996.jpg
/mnt/data/16062025/18/23/image_16062025_18_23_35_9970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.5346519947052 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:26:02.992401
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', 2), ('/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg', '/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg', '/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/25/image_16062025_18_25_44_10164.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_34_10301.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_24_10075.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_14_10102.jpg
/mnt/data/16062025/18/24/image_16062025_18_25_04_9098.jpg
/mnt/data/16062025/18/24/image_16062025_18_24_55_10105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.842015504837036 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:27:03.516835
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', 2), ('/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg', '/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg', '/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/26/image_16062025_18_26_44_10146.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_34_10178.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_24_10338.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_14_8948.jpg
/mnt/data/16062025/18/25/image_16062025_18_26_05_10359.jpg
/mnt/data/16062025/18/25/image_16062025_18_25_54_10104.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.63762950897217 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:28:02.248039
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', '/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg
/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg
uploaded 0 photos
time to upload: 32.84601044654846 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:29:03.253459
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', 2), ('/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg', '/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg', '/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_36_8958.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_25_10108.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_15_10093.jpg
/mnt/data/16062025/18/26/image_16062025_18_27_05_10035.jpg
/mnt/data/16062025/18/26/image_16062025_18_26_55_10123.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.24341917037964 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:30:03.024362
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg', 2), ('/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', '/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg', '/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg
/mnt/data/16062025/18/27/image_16062025_18_28_04_10025.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_54_10010.jpg
/mnt/data/16062025/18/27/image_16062025_18_27_44_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.17845916748047 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:31:03.013519
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', 2), ('/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg', '/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_34_10028.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_24_9940.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_54_10141.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_25_10481.jpg
/mnt/data/16062025/18/28/image_16062025_18_28_14_10081.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.333452224731445 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:32:03.225845
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_31_25_10122.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', 2), ('/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_25_10122.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg', '/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg', '/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg
/mnt/data/16062025/18/31/image_16062025_18_31_25_10122.jpg
/mnt/data/16062025/18/31/image_16062025_18_31_14_10045.jpg
/mnt/data/16062025/18/30/image_16062025_18_31_04_10490.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_54_10049.jpg
/mnt/data/16062025/18/30/image_16062025_18_30_44_10111.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.175899028778076 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:33:03.302318
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_31_45_10107.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg', '/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_45_10107.jpg', '/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg
/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg
/mnt/data/16062025/18/31/image_16062025_18_31_45_10107.jpg
/mnt/data/16062025/18/31/image_16062025_18_31_35_10140.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22406268119812 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:34:02.618295
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg', 2), ('/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg', '/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_44_9932.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_34_10104.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_14_10034.jpg
/mnt/data/16062025/18/31/image_16062025_18_32_04_9049.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.217246055603027 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:35:02.577424
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', 2), ('/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', 2), ('/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', '/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg', '/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg', '/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg
/mnt/data/16062025/18/33/image_16062025_18_33_54_10041.jpg
/mnt/data/16062025/18/32/image_16062025_18_33_05_10403.jpg
/mnt/data/16062025/18/32/image_16062025_18_32_54_10155.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.32621431350708 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:36:02.960774
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_55_10196.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', 2), ('/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_55_10196.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg', '/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_55_10196.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_45_10155.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_34_10114.jpg
/mnt/data/16062025/18/34/image_16062025_18_34_14_10038.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.1393985748291 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:37:03.375386
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.460442304611206 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:38:03.145846
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.237937450408936 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:39:03.473692
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_14_10089.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.650578498840332 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:40:03.316261
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.367300271987915 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:41:02.474359
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2315776348114 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:42:02.537235
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.35562300682068 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:43:03.000918
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.232115745544434 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:44:02.735414
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.26368546485901 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:45:02.854976
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.18448042869568 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:46:02.939838
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.175976514816284 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:47:03.228395
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_24_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.210546493530273 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:48:03.047121
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', 2), ('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.80637502670288 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:49:03.518301
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', 2), ('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', 2), ('/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', '/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg', '/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
/mnt/data/16062025/18/35/image_16062025_18_36_05_10441.jpg
/mnt/data/16062025/18/35/image_16062025_18_35_54_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.011209726333618 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:50:03.302377
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', 2), ('/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', 2), ('/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', 2), ('/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg', '/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg', '/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg', '/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/49/image_16062025_18_49_45_9943.jpg
/mnt/data/16062025/18/48/image_16062025_18_48_55_10015.jpg
/mnt/data/16062025/18/39/image_16062025_18_39_44_10003.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_34_10010.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_24_8954.jpg
/mnt/data/16062025/18/36/image_16062025_18_36_15_10071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.85931897163391 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:51:02.735034
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/50/image_16062025_18_50_45_9970.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_50_35_9953.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_50_25_9965.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_50_15_9990.jpg', 2), ('/mnt/data/16062025/18/49/image_16062025_18_50_05_10226.jpg', 2), ('/mnt/data/16062025/18/49/image_16062025_18_49_55_9901.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/50/image_16062025_18_50_45_9970.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_35_9953.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_25_9965.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_15_9990.jpg', '/mnt/data/16062025/18/49/image_16062025_18_50_05_10226.jpg', '/mnt/data/16062025/18/49/image_16062025_18_49_55_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/50/image_16062025_18_50_45_9970.jpg
/mnt/data/16062025/18/50/image_16062025_18_50_35_9953.jpg
/mnt/data/16062025/18/50/image_16062025_18_50_25_9965.jpg
/mnt/data/16062025/18/50/image_16062025_18_50_15_9990.jpg
/mnt/data/16062025/18/49/image_16062025_18_50_05_10226.jpg
/mnt/data/16062025/18/49/image_16062025_18_49_55_9901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.819104194641113 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:52:02.808843
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_35_10004.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_25_9975.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_15_9946.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_51_05_10141.jpg', 2), ('/mnt/data/16062025/18/50/image_16062025_18_50_55_9987.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_35_10004.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_25_9975.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_15_9946.jpg', '/mnt/data/16062025/18/50/image_16062025_18_51_05_10141.jpg', '/mnt/data/16062025/18/50/image_16062025_18_50_55_9987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_35_10004.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_25_9975.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_15_9946.jpg
/mnt/data/16062025/18/50/image_16062025_18_51_05_10141.jpg
/mnt/data/16062025/18/50/image_16062025_18_50_55_9987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.014122009277344 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:53:02.874045
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg', 2), ('/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg', '/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg', '/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/52/image_16062025_18_52_34_10042.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_24_10072.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_14_8882.jpg
/mnt/data/16062025/18/51/image_16062025_18_52_05_10143.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_55_10032.jpg
/mnt/data/16062025/18/51/image_16062025_18_51_45_9959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.79058527946472 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:54:02.867485
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg', 2), ('/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg', 2), ('/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg', '/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg', '/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg', '/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/53/image_16062025_18_53_44_9944.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_34_9935.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_24_9954.jpg
/mnt/data/16062025/18/53/image_16062025_18_53_14_10002.jpg
/mnt/data/16062025/18/52/image_16062025_18_53_04_10372.jpg
/mnt/data/16062025/18/52/image_16062025_18_52_44_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.54980158805847 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 18:59:03.114096
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.048609256744385 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:00:03.323081
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.302062511444092 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:01:02.781915
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.61028814315796 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:02:02.626714
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.709752559661865 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:03:02.998266
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.370651483535767 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:04:03.047457
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.38839077949524 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:05:02.967327
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_44_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.26254677772522 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:06:02.982523
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', 2), ('/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', 2), ('/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg', '/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg', '/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg', '/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/18/58/image_16062025_18_58_44_9958.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_34_9931.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_24_9952.jpg
/mnt/data/16062025/18/58/image_16062025_18_58_14_9956.jpg
/mnt/data/16062025/18/57/image_16062025_18_58_05_10132.jpg
/mnt/data/16062025/18/57/image_16062025_18_57_54_10163.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.28353261947632 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:07:03.524609
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/06/image_16062025_19_06_45_9963.jpg', 2), ('/mnt/data/16062025/19/06/image_16062025_19_06_35_9970.jpg', 2), ('/mnt/data/16062025/19/06/image_16062025_19_06_25_9980.jpg', 2), ('/mnt/data/16062025/19/06/image_16062025_19_06_15_9951.jpg', 2), ('/mnt/data/16062025/19/05/image_16062025_19_06_05_10147.jpg', 2), ('/mnt/data/16062025/19/05/image_16062025_19_05_55_10022.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/06/image_16062025_19_06_45_9963.jpg', '/mnt/data/16062025/19/06/image_16062025_19_06_35_9970.jpg', '/mnt/data/16062025/19/06/image_16062025_19_06_25_9980.jpg', '/mnt/data/16062025/19/06/image_16062025_19_06_15_9951.jpg', '/mnt/data/16062025/19/05/image_16062025_19_06_05_10147.jpg', '/mnt/data/16062025/19/05/image_16062025_19_05_55_10022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/06/image_16062025_19_06_45_9963.jpg
/mnt/data/16062025/19/06/image_16062025_19_06_35_9970.jpg
/mnt/data/16062025/19/06/image_16062025_19_06_25_9980.jpg
/mnt/data/16062025/19/06/image_16062025_19_06_15_9951.jpg
/mnt/data/16062025/19/05/image_16062025_19_06_05_10147.jpg
/mnt/data/16062025/19/05/image_16062025_19_05_55_10022.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366586249","1366586256","1366586241","1366586214","1366586223","1366586205"],"photo_ids_order":["1366586205","1366586214","1366586223","1366586241","1366586249","1366586256"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/c6c57c3f2401d16dc30ecf98682c6d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7775395511852145177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750093716937,"filename":"image_16062025_19_06_05_10147.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/f4bfa367430a24643890d8fc60aa38bc.jpg","text":"TemporaryFile(/tmp/multipartBody4842478180483823405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750093716937,"filename":"image_16062025_19_05_55_10022.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0d666ba0c89863b1d0b4a5a2701afbf6.jpg","text":"TemporaryFile(/tmp/multipartBody3108837745433005245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750093716937,"filename":"image_16062025_19_06_15_9951.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/787431ae8057c0a9429c79d00204223f.jpg","text":"TemporaryFile(/tmp/multipartBody1963199605710256001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750093716937,"filename":"image_16062025_19_06_35_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/9d684ebe79313511710ba57f3c92a45b.jpg","text":"TemporaryFile(/tmp/multipartBody1326715119796633636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750093716937,"filename":"image_16062025_19_06_25_9980.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/f5231127efa59ca21888a4fe42b7f18c.jpg","text":"TemporaryFile(/tmp/multipartBody8142963635916297352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750093716937,"filename":"image_16062025_19_06_45_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366586223","file1":"1366586214","file0":"1366586205","file4":"1366586249","file5":"1366586256","file3":"1366586241"},"map_files_photo_id_array":[{"photo_id":"1366586256","filename":"file5"},{"photo_id":"1366586223","filename":"file2"},{"photo_id":"1366586249","filename":"file4"},{"photo_id":"1366586214","filename":"file1"},{"photo_id":"1366586205","filename":"file0"},{"photo_id":"1366586241","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366586249":["hashtag1","hashtag2"]},{"1366586256":["hashtag1","hashtag2"]},{"1366586241":["hashtag1","hashtag2"]},{"1366586214":["hashtag1","hashtag2"]},{"1366586223":["hashtag1","hashtag2"]},{"1366586205":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366586249, 1366586256, 1366586241, 1366586214, 1366586223, 1366586205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 136.52196073532104 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:09:25.867654
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg
/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg
/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg
uploaded 0 photos
time to upload: 30.404476404190063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:10:02.587818
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg', 2), ('/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg', '/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg', '/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/09/image_16062025_19_09_44_10016.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_34_9636.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_25_10043.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_15_10249.jpg
/mnt/data/16062025/19/08/image_16062025_19_09_04_10299.jpg
/mnt/data/16062025/19/08/image_16062025_19_08_54_9139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.36559009552002 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:11:02.819510
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg', 2), ('/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg', '/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg', '/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/10/image_16062025_19_10_44_9973.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_34_9942.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_25_9965.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_15_10040.jpg
/mnt/data/16062025/19/09/image_16062025_19_10_05_10320.jpg
/mnt/data/16062025/19/09/image_16062025_19_09_54_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.11605978012085 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:12:02.790060
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/11/image_16062025_19_11_44_9948.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_11_35_9960.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_11_25_9945.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_11_15_10035.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_11_05_10115.jpg', 2), ('/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/11/image_16062025_19_11_44_9948.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_35_9960.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_25_9945.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_15_10035.jpg', '/mnt/data/16062025/19/10/image_16062025_19_11_05_10115.jpg', '/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/11/image_16062025_19_11_44_9948.jpg
/mnt/data/16062025/19/11/image_16062025_19_11_35_9960.jpg
/mnt/data/16062025/19/11/image_16062025_19_11_25_9945.jpg
/mnt/data/16062025/19/11/image_16062025_19_11_15_10035.jpg
/mnt/data/16062025/19/10/image_16062025_19_11_05_10115.jpg
/mnt/data/16062025/19/10/image_16062025_19_10_54_9987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.28757357597351 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:13:03.151625
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/12/image_16062025_19_12_44_9946.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_12_34_9920.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_12_24_9926.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_12_15_9940.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_12_05_10191.jpg', 2), ('/mnt/data/16062025/19/11/image_16062025_19_11_54_9960.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/12/image_16062025_19_12_44_9946.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_34_9920.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_24_9926.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_15_9940.jpg', '/mnt/data/16062025/19/11/image_16062025_19_12_05_10191.jpg', '/mnt/data/16062025/19/11/image_16062025_19_11_54_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/12/image_16062025_19_12_44_9946.jpg
/mnt/data/16062025/19/12/image_16062025_19_12_34_9920.jpg
/mnt/data/16062025/19/12/image_16062025_19_12_24_9926.jpg
/mnt/data/16062025/19/12/image_16062025_19_12_15_9940.jpg
/mnt/data/16062025/19/11/image_16062025_19_12_05_10191.jpg
/mnt/data/16062025/19/11/image_16062025_19_11_54_9960.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.318032264709473 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:14:03.113488
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/13/image_16062025_19_13_45_10068.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_13_34_9994.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_13_24_10077.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_13_14_9955.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_13_04_10148.jpg', 2), ('/mnt/data/16062025/19/12/image_16062025_19_12_54_9926.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/13/image_16062025_19_13_45_10068.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_34_9994.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_24_10077.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_14_9955.jpg', '/mnt/data/16062025/19/12/image_16062025_19_13_04_10148.jpg', '/mnt/data/16062025/19/12/image_16062025_19_12_54_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/13/image_16062025_19_13_45_10068.jpg
/mnt/data/16062025/19/13/image_16062025_19_13_34_9994.jpg
/mnt/data/16062025/19/13/image_16062025_19_13_24_10077.jpg
/mnt/data/16062025/19/13/image_16062025_19_13_14_9955.jpg
/mnt/data/16062025/19/12/image_16062025_19_13_04_10148.jpg
/mnt/data/16062025/19/12/image_16062025_19_12_54_9926.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.282797813415527 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:15:03.514451
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/14/image_16062025_19_14_44_9972.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_14_34_10027.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_14_24_10005.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_14_14_8878.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_14_05_10248.jpg', 2), ('/mnt/data/16062025/19/13/image_16062025_19_13_55_10063.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/14/image_16062025_19_14_44_9972.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_34_10027.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_24_10005.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_14_8878.jpg', '/mnt/data/16062025/19/13/image_16062025_19_14_05_10248.jpg', '/mnt/data/16062025/19/13/image_16062025_19_13_55_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/14/image_16062025_19_14_44_9972.jpg
/mnt/data/16062025/19/14/image_16062025_19_14_34_10027.jpg
/mnt/data/16062025/19/14/image_16062025_19_14_24_10005.jpg
/mnt/data/16062025/19/14/image_16062025_19_14_14_8878.jpg
/mnt/data/16062025/19/13/image_16062025_19_14_05_10248.jpg
/mnt/data/16062025/19/13/image_16062025_19_13_55_10063.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.285224199295044 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:16:03.299556
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg', 2), ('/mnt/data/16062025/19/14/image_16062025_19_14_54_10056.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg', '/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg', '/mnt/data/16062025/19/14/image_16062025_19_14_54_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/15/image_16062025_19_15_44_9990.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_34_10072.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_24_10120.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_14_10007.jpg
/mnt/data/16062025/19/14/image_16062025_19_15_04_10211.jpg
/mnt/data/16062025/19/14/image_16062025_19_14_54_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.462374210357666 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:17:03.503177
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/16/image_16062025_19_16_44_9977.jpg', 2), ('/mnt/data/16062025/19/16/image_16062025_19_16_34_9985.jpg', 2), ('/mnt/data/16062025/19/16/image_16062025_19_16_24_9942.jpg', 2), ('/mnt/data/16062025/19/16/image_16062025_19_16_14_9934.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_16_04_10265.jpg', 2), ('/mnt/data/16062025/19/15/image_16062025_19_15_54_10003.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/16/image_16062025_19_16_44_9977.jpg', '/mnt/data/16062025/19/16/image_16062025_19_16_34_9985.jpg', '/mnt/data/16062025/19/16/image_16062025_19_16_24_9942.jpg', '/mnt/data/16062025/19/16/image_16062025_19_16_14_9934.jpg', '/mnt/data/16062025/19/15/image_16062025_19_16_04_10265.jpg', '/mnt/data/16062025/19/15/image_16062025_19_15_54_10003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/16/image_16062025_19_16_44_9977.jpg
/mnt/data/16062025/19/16/image_16062025_19_16_34_9985.jpg
/mnt/data/16062025/19/16/image_16062025_19_16_24_9942.jpg
/mnt/data/16062025/19/16/image_16062025_19_16_14_9934.jpg
/mnt/data/16062025/19/15/image_16062025_19_16_04_10265.jpg
/mnt/data/16062025/19/15/image_16062025_19_15_54_10003.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366587192","1366587186","1366587171","1366587207","1366587197","1366587179"],"photo_ids_order":["1366587171","1366587179","1366587186","1366587192","1366587197","1366587207"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/47a297b190364eb3d92b0a1e636340f3.jpg","text":"TemporaryFile(/tmp/multipartBody3702331184004861842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750094312052,"filename":"image_16062025_19_16_14_9934.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ceef6c1ec5caaa8036749649027855c5.jpg","text":"TemporaryFile(/tmp/multipartBody1366307000994685262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750094312052,"filename":"image_16062025_19_16_24_9942.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b2e86704d4a5dff91422146bb9596201.jpg","text":"TemporaryFile(/tmp/multipartBody3809806481295278290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750094312052,"filename":"image_16062025_19_16_44_9977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/84ee3a05cbf2d2f4ff2a6ef94abe49cd.jpg","text":"TemporaryFile(/tmp/multipartBody6877926866249177763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750094312052,"filename":"image_16062025_19_15_54_10003.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ebdda899f229a20690c240bcaa175d7b.jpg","text":"TemporaryFile(/tmp/multipartBody637047412102606738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750094312052,"filename":"image_16062025_19_16_04_10265.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/55884d782bbfaaa9eaaf385ada16b6dc.jpg","text":"TemporaryFile(/tmp/multipartBody166044670334791917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750094312052,"filename":"image_16062025_19_16_34_9985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366587186","file1":"1366587179","file0":"1366587171","file4":"1366587197","file5":"1366587207","file3":"1366587192"},"map_files_photo_id_array":[{"photo_id":"1366587207","filename":"file5"},{"photo_id":"1366587186","filename":"file2"},{"photo_id":"1366587197","filename":"file4"},{"photo_id":"1366587179","filename":"file1"},{"photo_id":"1366587171","filename":"file0"},{"photo_id":"1366587192","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366587192":["hashtag1","hashtag2"]},{"1366587186":["hashtag1","hashtag2"]},{"1366587171":["hashtag1","hashtag2"]},{"1366587207":["hashtag1","hashtag2"]},{"1366587197":["hashtag1","hashtag2"]},{"1366587179":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366587192, 1366587186, 1366587171, 1366587207, 1366587197, 1366587179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.11654114723206 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:19:02.885977
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg', 2), ('/mnt/data/16062025/19/17/image_16062025_19_17_55_10034.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg', '/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg', '/mnt/data/16062025/19/17/image_16062025_19_17_55_10034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/18/image_16062025_19_18_45_10164.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_34_10205.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_24_10174.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_14_10103.jpg
/mnt/data/16062025/19/17/image_16062025_19_18_04_9209.jpg
/mnt/data/16062025/19/17/image_16062025_19_17_55_10034.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22471523284912 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:20:02.724349
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg', 2), ('/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg', '/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg', '/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/19/image_16062025_19_19_44_10161.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_34_9942.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_24_10161.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_14_10128.jpg
/mnt/data/16062025/19/18/image_16062025_19_19_04_9309.jpg
/mnt/data/16062025/19/18/image_16062025_19_18_55_10159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.156988382339478 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:21:02.989191
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', 2), ('/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg', '/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg', '/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/20/image_16062025_19_20_44_8975.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_35_10341.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_24_10197.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_14_10144.jpg
/mnt/data/16062025/19/19/image_16062025_19_20_04_9480.jpg
/mnt/data/16062025/19/19/image_16062025_19_19_55_10182.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.233201026916504 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:22:03.005373
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/21/image_16062025_19_21_44_9986.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_21_34_9950.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_21_24_10087.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_21_14_10086.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_21_04_10352.jpg', 2), ('/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/21/image_16062025_19_21_44_9986.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_34_9950.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_24_10087.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_14_10086.jpg', '/mnt/data/16062025/19/20/image_16062025_19_21_04_10352.jpg', '/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/21/image_16062025_19_21_44_9986.jpg
/mnt/data/16062025/19/21/image_16062025_19_21_34_9950.jpg
/mnt/data/16062025/19/21/image_16062025_19_21_24_10087.jpg
/mnt/data/16062025/19/21/image_16062025_19_21_14_10086.jpg
/mnt/data/16062025/19/20/image_16062025_19_21_04_10352.jpg
/mnt/data/16062025/19/20/image_16062025_19_20_54_10137.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.272454500198364 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:23:03.202906
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/22/image_16062025_19_22_44_9997.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_22_34_10002.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_22_24_10052.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_22_14_10077.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_22_04_10062.jpg', 2), ('/mnt/data/16062025/19/21/image_16062025_19_21_54_10001.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/22/image_16062025_19_22_44_9997.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_34_10002.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_24_10052.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_14_10077.jpg', '/mnt/data/16062025/19/21/image_16062025_19_22_04_10062.jpg', '/mnt/data/16062025/19/21/image_16062025_19_21_54_10001.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/22/image_16062025_19_22_44_9997.jpg
/mnt/data/16062025/19/22/image_16062025_19_22_34_10002.jpg
/mnt/data/16062025/19/22/image_16062025_19_22_24_10052.jpg
/mnt/data/16062025/19/22/image_16062025_19_22_14_10077.jpg
/mnt/data/16062025/19/21/image_16062025_19_22_04_10062.jpg
/mnt/data/16062025/19/21/image_16062025_19_21_54_10001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.29930067062378 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:24:03.165156
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/23/image_16062025_19_23_45_9956.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_23_35_10010.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_23_25_9949.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_23_15_9948.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_23_05_10156.jpg', 2), ('/mnt/data/16062025/19/22/image_16062025_19_22_54_10003.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/23/image_16062025_19_23_45_9956.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_35_10010.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_25_9949.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_15_9948.jpg', '/mnt/data/16062025/19/22/image_16062025_19_23_05_10156.jpg', '/mnt/data/16062025/19/22/image_16062025_19_22_54_10003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/23/image_16062025_19_23_45_9956.jpg
/mnt/data/16062025/19/23/image_16062025_19_23_35_10010.jpg
/mnt/data/16062025/19/23/image_16062025_19_23_25_9949.jpg
/mnt/data/16062025/19/23/image_16062025_19_23_15_9948.jpg
/mnt/data/16062025/19/22/image_16062025_19_23_05_10156.jpg
/mnt/data/16062025/19/22/image_16062025_19_22_54_10003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.198230028152466 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:25:03.452742
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg', 2), ('/mnt/data/16062025/19/23/image_16062025_19_23_55_10017.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg', '/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg', '/mnt/data/16062025/19/23/image_16062025_19_23_55_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/24/image_16062025_19_24_44_10194.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_34_10109.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_24_10134.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_14_8904.jpg
/mnt/data/16062025/19/23/image_16062025_19_24_05_10247.jpg
/mnt/data/16062025/19/23/image_16062025_19_23_55_10017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.202864408493042 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:26:02.302121
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/25/image_16062025_19_25_44_10119.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_25_34_8908.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_25_25_10173.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_25_15_10120.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_25_05_10311.jpg', 2), ('/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/25/image_16062025_19_25_44_10119.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_34_8908.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_25_10173.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_15_10120.jpg', '/mnt/data/16062025/19/24/image_16062025_19_25_05_10311.jpg', '/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/25/image_16062025_19_25_44_10119.jpg
/mnt/data/16062025/19/25/image_16062025_19_25_34_8908.jpg
/mnt/data/16062025/19/25/image_16062025_19_25_25_10173.jpg
/mnt/data/16062025/19/25/image_16062025_19_25_15_10120.jpg
/mnt/data/16062025/19/24/image_16062025_19_25_05_10311.jpg
/mnt/data/16062025/19/24/image_16062025_19_24_54_10089.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.193740606307983 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:27:02.451707
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_24_9931.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_14_9952.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_26_04_10046.jpg', 2), ('/mnt/data/16062025/19/25/image_16062025_19_25_54_9992.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_24_9931.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_14_9952.jpg', '/mnt/data/16062025/19/25/image_16062025_19_26_04_10046.jpg', '/mnt/data/16062025/19/25/image_16062025_19_25_54_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_24_9931.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_14_9952.jpg
/mnt/data/16062025/19/25/image_16062025_19_26_04_10046.jpg
/mnt/data/16062025/19/25/image_16062025_19_25_54_9992.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.99347949028015 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:28:02.386354
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/27/image_16062025_19_27_44_9976.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_27_34_10105.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_27_24_10146.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_54_10079.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg', 2), ('/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/27/image_16062025_19_27_44_9976.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_34_10105.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_24_10146.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_54_10079.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg', '/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/27/image_16062025_19_27_44_9976.jpg
/mnt/data/16062025/19/27/image_16062025_19_27_34_10105.jpg
/mnt/data/16062025/19/27/image_16062025_19_27_24_10146.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_54_10079.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_44_10004.jpg
/mnt/data/16062025/19/26/image_16062025_19_26_34_9943.jpg
uploaded 0 photos
time to upload: 30.22263479232788 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:29:03.802191
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg', '/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg
/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg
/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.220167636871338 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:30:02.437555
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', 2), ('/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg', 2), ('/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg', '/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg', '/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg', '/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/28/image_16062025_19_28_44_10249.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_34_10172.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_24_8872.jpg
/mnt/data/16062025/19/28/image_16062025_19_28_15_10145.jpg
/mnt/data/16062025/19/27/image_16062025_19_28_05_10204.jpg
/mnt/data/16062025/19/27/image_16062025_19_27_54_10021.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.205220699310303 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:31:02.631279
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/30/image_16062025_19_30_44_10278.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_30_34_10147.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_30_24_10206.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', 2), ('/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/30/image_16062025_19_30_44_10278.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_34_10147.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_24_10206.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg', '/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg', '/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/30/image_16062025_19_30_44_10278.jpg
/mnt/data/16062025/19/30/image_16062025_19_30_34_10147.jpg
/mnt/data/16062025/19/30/image_16062025_19_30_24_10206.jpg
/mnt/data/16062025/19/30/image_16062025_19_30_14_9036.jpg
/mnt/data/16062025/19/29/image_16062025_19_30_05_10774.jpg
/mnt/data/16062025/19/29/image_16062025_19_29_54_10147.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.34013819694519 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:32:02.506031
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/31/image_16062025_19_31_45_10297.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_31_34_10190.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_31_24_10209.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_31_14_10188.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_31_04_9061.jpg', 2), ('/mnt/data/16062025/19/30/image_16062025_19_30_55_10195.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/31/image_16062025_19_31_45_10297.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_34_10190.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_24_10209.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_14_10188.jpg', '/mnt/data/16062025/19/30/image_16062025_19_31_04_9061.jpg', '/mnt/data/16062025/19/30/image_16062025_19_30_55_10195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/31/image_16062025_19_31_45_10297.jpg
/mnt/data/16062025/19/31/image_16062025_19_31_34_10190.jpg
/mnt/data/16062025/19/31/image_16062025_19_31_24_10209.jpg
/mnt/data/16062025/19/31/image_16062025_19_31_14_10188.jpg
/mnt/data/16062025/19/30/image_16062025_19_31_04_9061.jpg
/mnt/data/16062025/19/30/image_16062025_19_30_55_10195.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.345195055007935 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:33:02.816613
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_14_10213.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_32_04_9353.jpg', 2), ('/mnt/data/16062025/19/31/image_16062025_19_31_55_10154.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_14_10213.jpg', '/mnt/data/16062025/19/31/image_16062025_19_32_04_9353.jpg', '/mnt/data/16062025/19/31/image_16062025_19_31_55_10154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/32/image_16062025_19_32_44_9017.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_35_10279.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_24_10104.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_14_10213.jpg
/mnt/data/16062025/19/31/image_16062025_19_32_04_9353.jpg
/mnt/data/16062025/19/31/image_16062025_19_31_55_10154.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.237870931625366 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:34:02.908637
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', 2), ('/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg', '/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg', '/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/33/image_16062025_19_33_44_9053.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_35_10155.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_25_10274.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_14_10212.jpg
/mnt/data/16062025/19/32/image_16062025_19_33_04_10415.jpg
/mnt/data/16062025/19/32/image_16062025_19_32_54_10026.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19164538383484 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:35:03.141117
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', 2), ('/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg', '/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg', '/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/34/image_16062025_19_34_45_9966.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_35_10032.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_25_10064.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_15_10164.jpg
/mnt/data/16062025/19/33/image_16062025_19_34_04_10428.jpg
/mnt/data/16062025/19/33/image_16062025_19_33_54_10189.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.29972553253174 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:36:03.186384
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/35/image_16062025_19_35_45_11163.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_35_34_8845.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_35_25_9999.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg', 2), ('/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/35/image_16062025_19_35_45_11163.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_34_8845.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_25_9999.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg', '/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg', '/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/35/image_16062025_19_35_45_11163.jpg
/mnt/data/16062025/19/35/image_16062025_19_35_34_8845.jpg
/mnt/data/16062025/19/35/image_16062025_19_35_25_9999.jpg
/mnt/data/16062025/19/35/image_16062025_19_35_15_10031.jpg
/mnt/data/16062025/19/34/image_16062025_19_35_05_10154.jpg
/mnt/data/16062025/19/34/image_16062025_19_34_55_9997.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.248961210250854 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:37:03.323262
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_14_9982.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_36_04_9020.jpg', 2), ('/mnt/data/16062025/19/35/image_16062025_19_35_55_9930.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_14_9982.jpg', '/mnt/data/16062025/19/35/image_16062025_19_36_04_9020.jpg', '/mnt/data/16062025/19/35/image_16062025_19_35_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/36/image_16062025_19_36_44_10012.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_34_10001.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_24_10018.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_14_9982.jpg
/mnt/data/16062025/19/35/image_16062025_19_36_04_9020.jpg
/mnt/data/16062025/19/35/image_16062025_19_35_55_9930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.512651681900024 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:38:03.344083
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', 2), ('/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg', '/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg', '/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/37/image_16062025_19_37_44_10062.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_34_10109.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_24_10076.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_14_10033.jpg
/mnt/data/16062025/19/36/image_16062025_19_37_04_10229.jpg
/mnt/data/16062025/19/36/image_16062025_19_36_54_9985.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23986792564392 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:39:02.552975
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', 2), ('/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg', '/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg', '/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/38/image_16062025_19_38_45_9980.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_35_9980.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_25_9982.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_15_10025.jpg
/mnt/data/16062025/19/37/image_16062025_19_38_05_10365.jpg
/mnt/data/16062025/19/37/image_16062025_19_37_54_10141.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2748122215271 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:40:02.648000
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg', 2), ('/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg', '/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg', '/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/39/image_16062025_19_39_45_9999.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_35_9968.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_25_9978.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_15_9971.jpg
/mnt/data/16062025/19/38/image_16062025_19_39_05_10112.jpg
/mnt/data/16062025/19/38/image_16062025_19_38_55_9963.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.374401092529297 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:41:02.898486
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/40/image_16062025_19_40_44_9943.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_40_34_9952.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_40_24_9975.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg', 2), ('/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/40/image_16062025_19_40_44_9943.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_34_9952.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_24_9975.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg', '/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg', '/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/40/image_16062025_19_40_44_9943.jpg
/mnt/data/16062025/19/40/image_16062025_19_40_34_9952.jpg
/mnt/data/16062025/19/40/image_16062025_19_40_24_9975.jpg
/mnt/data/16062025/19/40/image_16062025_19_40_14_10023.jpg
/mnt/data/16062025/19/39/image_16062025_19_40_04_9055.jpg
/mnt/data/16062025/19/39/image_16062025_19_39_55_9987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.251044988632202 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:42:02.909876
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/41/image_16062025_19_41_45_10187.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_41_35_10182.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_41_24_10166.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_41_14_10177.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_41_04_10309.jpg', 2), ('/mnt/data/16062025/19/40/image_16062025_19_40_54_10055.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/41/image_16062025_19_41_45_10187.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_35_10182.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_24_10166.jpg', '/mnt/data/16062025/19/41/image_16062025_19_41_14_10177.jpg', '/mnt/data/16062025/19/40/image_16062025_19_41_04_10309.jpg', '/mnt/data/16062025/19/40/image_16062025_19_40_54_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/41/image_16062025_19_41_45_10187.jpg
/mnt/data/16062025/19/41/image_16062025_19_41_35_10182.jpg
/mnt/data/16062025/19/41/image_16062025_19_41_24_10166.jpg
/mnt/data/16062025/19/41/image_16062025_19_41_14_10177.jpg
/mnt/data/16062025/19/40/image_16062025_19_41_04_10309.jpg
/mnt/data/16062025/19/40/image_16062025_19_40_54_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.8362238407135 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:43:03.306576
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_14_10120.jpg', 2), ('/mnt/data/16062025/19/41/image_16062025_19_42_04_10480.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_14_10120.jpg', '/mnt/data/16062025/19/41/image_16062025_19_42_04_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_44_9991.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_34_10109.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_24_9941.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_14_10120.jpg
/mnt/data/16062025/19/41/image_16062025_19_42_04_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.284544467926025 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:44:03.024404
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', 2), ('/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg', '/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg', '/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/43/image_16062025_19_43_44_9974.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_34_9959.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_24_9950.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_14_9963.jpg
/mnt/data/16062025/19/42/image_16062025_19_43_04_10059.jpg
/mnt/data/16062025/19/42/image_16062025_19_42_54_9932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.18968653678894 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:45:03.368923
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', 2), ('/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg', '/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg', '/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/44/image_16062025_19_44_45_10100.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_35_10041.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_25_10014.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_15_10113.jpg
/mnt/data/16062025/19/43/image_16062025_19_44_04_10272.jpg
/mnt/data/16062025/19/43/image_16062025_19_43_54_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.184279203414917 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:46:03.431319
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', 2), ('/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg', '/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg', '/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/45/image_16062025_19_45_45_10290.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_34_10191.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_24_10160.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_14_10118.jpg
/mnt/data/16062025/19/44/image_16062025_19_45_04_9110.jpg
/mnt/data/16062025/19/44/image_16062025_19_44_55_10158.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.190365314483643 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:47:02.649246
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', 2), ('/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg', '/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg', '/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/46/image_16062025_19_46_45_10174.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_34_10228.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_24_10153.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_14_10136.jpg
/mnt/data/16062025/19/45/image_16062025_19_46_04_10279.jpg
/mnt/data/16062025/19/45/image_16062025_19_45_54_8948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.28875422477722 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:48:03.008548
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', 2), ('/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg', '/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg', '/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_34_10179.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_24_10214.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_14_10193.jpg
/mnt/data/16062025/19/46/image_16062025_19_47_04_8957.jpg
/mnt/data/16062025/19/46/image_16062025_19_46_55_10122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.31654381752014 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:49:03.606428
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/48/image_16062025_19_48_44_10004.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_34_10088.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', 2), ('/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/48/image_16062025_19_48_44_10004.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_34_10088.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg', '/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/48/image_16062025_19_48_44_10004.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_34_10088.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_24_10140.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_14_10197.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_54_9950.jpg
/mnt/data/16062025/19/47/image_16062025_19_47_44_10151.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.26515245437622 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:50:03.427216
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_24_9977.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_14_10013.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_49_04_10052.jpg', 2), ('/mnt/data/16062025/19/48/image_16062025_19_48_54_10107.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_24_9977.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_14_10013.jpg', '/mnt/data/16062025/19/48/image_16062025_19_49_04_10052.jpg', '/mnt/data/16062025/19/48/image_16062025_19_48_54_10107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/49/image_16062025_19_49_44_9917.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_34_9947.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_24_9977.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_14_10013.jpg
/mnt/data/16062025/19/48/image_16062025_19_49_04_10052.jpg
/mnt/data/16062025/19/48/image_16062025_19_48_54_10107.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.238526582717896 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:51:02.650989
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', 2), ('/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg', '/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg', '/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg', '/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/50/image_16062025_19_50_44_9955.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_34_9974.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_24_9949.jpg
/mnt/data/16062025/19/50/image_16062025_19_50_14_9979.jpg
/mnt/data/16062025/19/49/image_16062025_19_50_04_10356.jpg
/mnt/data/16062025/19/49/image_16062025_19_49_54_9975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.206657886505127 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:52:02.506509
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', 2), ('/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg', '/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_45_10090.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_35_10059.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_25_10004.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_15_9975.jpg
/mnt/data/16062025/19/50/image_16062025_19_51_05_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20743751525879 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:53:02.821843
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/52/image_16062025_19_52_44_9955.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_34_9928.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', 2), ('/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/52/image_16062025_19_52_44_9955.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_34_9928.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg', '/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg', '/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/52/image_16062025_19_52_44_9955.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_34_9928.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_24_10102.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_14_9814.jpg
/mnt/data/16062025/19/51/image_16062025_19_52_04_10511.jpg
/mnt/data/16062025/19/51/image_16062025_19_51_54_8851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.27668285369873 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:54:02.847350
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_24_9956.jpg', 2), ('/mnt/data/16062025/19/53/image_16062025_19_53_14_9948.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_53_04_10139.jpg', 2), ('/mnt/data/16062025/19/52/image_16062025_19_52_54_9927.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_24_9956.jpg', '/mnt/data/16062025/19/53/image_16062025_19_53_14_9948.jpg', '/mnt/data/16062025/19/52/image_16062025_19_53_04_10139.jpg', '/mnt/data/16062025/19/52/image_16062025_19_52_54_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/53/image_16062025_19_53_44_10000.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_34_9972.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_24_9956.jpg
/mnt/data/16062025/19/53/image_16062025_19_53_14_9948.jpg
/mnt/data/16062025/19/52/image_16062025_19_53_04_10139.jpg
/mnt/data/16062025/19/52/image_16062025_19_52_54_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.158129453659058 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 19:59:03.706688
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', 2), ('/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg', '/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg', '/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_35_9890.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_25_11083.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_14_9951.jpg
/mnt/data/16062025/19/57/image_16062025_19_58_04_10030.jpg
/mnt/data/16062025/19/57/image_16062025_19_57_54_8888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.430843591690063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:00:02.429315
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', 2), ('/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg', '/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg', '/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/19/59/image_16062025_19_59_34_10014.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_24_10009.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_14_9957.jpg
/mnt/data/16062025/19/58/image_16062025_19_59_04_9139.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_55_9969.jpg
/mnt/data/16062025/19/58/image_16062025_19_58_45_9895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.157636880874634 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:01:02.773218
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', 2), ('/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg', '/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_44_10083.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_34_9967.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_24_9937.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_14_10079.jpg
/mnt/data/16062025/19/59/image_16062025_19_59_44_10024.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.30963134765625 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:02:02.742359
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/01/image_16062025_20_01_44_8910.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_35_10023.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_15_10165.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_01_04_10221.jpg', 2), ('/mnt/data/16062025/20/00/image_16062025_20_00_54_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/01/image_16062025_20_01_44_8910.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_35_10023.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_15_10165.jpg', '/mnt/data/16062025/20/00/image_16062025_20_01_04_10221.jpg', '/mnt/data/16062025/20/00/image_16062025_20_00_54_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/01/image_16062025_20_01_44_8910.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_35_10023.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_25_10177.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_15_10165.jpg
/mnt/data/16062025/20/00/image_16062025_20_01_04_10221.jpg
/mnt/data/16062025/20/00/image_16062025_20_00_54_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.277425050735474 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:03:03.067692
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', 2), ('/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg', '/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg', '/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/02/image_16062025_20_02_45_10126.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_35_10154.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_24_10147.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_14_10142.jpg
/mnt/data/16062025/20/01/image_16062025_20_02_04_10336.jpg
/mnt/data/16062025/20/01/image_16062025_20_01_54_10100.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.027591705322266 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:04:03.250264
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/03/image_16062025_20_03_45_10149.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_03_35_10158.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_03_24_10170.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_03_14_10157.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_03_04_10352.jpg', 2), ('/mnt/data/16062025/20/02/image_16062025_20_02_54_8896.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/03/image_16062025_20_03_45_10149.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_35_10158.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_24_10170.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_14_10157.jpg', '/mnt/data/16062025/20/02/image_16062025_20_03_04_10352.jpg', '/mnt/data/16062025/20/02/image_16062025_20_02_54_8896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/03/image_16062025_20_03_45_10149.jpg
/mnt/data/16062025/20/03/image_16062025_20_03_35_10158.jpg
/mnt/data/16062025/20/03/image_16062025_20_03_24_10170.jpg
/mnt/data/16062025/20/03/image_16062025_20_03_14_10157.jpg
/mnt/data/16062025/20/02/image_16062025_20_03_04_10352.jpg
/mnt/data/16062025/20/02/image_16062025_20_02_54_8896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.301965713500977 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:05:03.409396
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/04/image_16062025_20_04_44_9937.jpg', 2), ('/mnt/data/16062025/20/04/image_16062025_20_04_35_9892.jpg', 2), ('/mnt/data/16062025/20/04/image_16062025_20_04_25_9894.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_04_05_10025.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_03_55_10110.jpg', 2), ('/mnt/data/16062025/20/03/image_16062025_20_03_45_10149.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/04/image_16062025_20_04_44_9937.jpg', '/mnt/data/16062025/20/04/image_16062025_20_04_35_9892.jpg', '/mnt/data/16062025/20/04/image_16062025_20_04_25_9894.jpg', '/mnt/data/16062025/20/03/image_16062025_20_04_05_10025.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_55_10110.jpg', '/mnt/data/16062025/20/03/image_16062025_20_03_45_10149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/04/image_16062025_20_04_44_9937.jpg
/mnt/data/16062025/20/04/image_16062025_20_04_35_9892.jpg
/mnt/data/16062025/20/04/image_16062025_20_04_25_9894.jpg
/mnt/data/16062025/20/03/image_16062025_20_04_05_10025.jpg
/mnt/data/16062025/20/03/image_16062025_20_03_55_10110.jpg
/mnt/data/16062025/20/03/image_16062025_20_03_45_10149.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366590754","1366590733","1366590739","1366590744","1366590761","1366590749"],"photo_ids_order":["1366590733","1366590739","1366590744","1366590749","1366590754","1366590761"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/4b058e3784fcb04af669b196256bb49c.jpg","text":"TemporaryFile(/tmp/multipartBody1039842951601107787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097186384,"filename":"image_16062025_20_03_55_10110.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/decf253e7fe74c9d1f6260a7398b8d50.jpg","text":"TemporaryFile(/tmp/multipartBody2846364111559952251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097186384,"filename":"image_16062025_20_04_44_9937.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ff6080e7b5b0cb8a64d4852c5957caca.jpg","text":"TemporaryFile(/tmp/multipartBody874523435496748043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097186384,"filename":"image_16062025_20_04_35_9892.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/28c30c96e9f9ba95d1a724c895b28f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7105038067955780154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097186384,"filename":"image_16062025_20_04_25_9894.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ce1200e375ee3049f4173984ded4ab0b.jpg","text":"TemporaryFile(/tmp/multipartBody5323941523254726095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097186384,"filename":"image_16062025_20_03_45_10149.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/700e6e3a57b5df290a72fdfb57b8a0db.jpg","text":"TemporaryFile(/tmp/multipartBody2051823275196529508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097186384,"filename":"image_16062025_20_04_05_10025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366590744","file1":"1366590739","file0":"1366590733","file4":"1366590754","file5":"1366590761","file3":"1366590749"},"map_files_photo_id_array":[{"photo_id":"1366590761","filename":"file5"},{"photo_id":"1366590744","filename":"file2"},{"photo_id":"1366590754","filename":"file4"},{"photo_id":"1366590739","filename":"file1"},{"photo_id":"1366590733","filename":"file0"},{"photo_id":"1366590749","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366590754":["hashtag1","hashtag2"]},{"1366590733":["hashtag1","hashtag2"]},{"1366590739":["hashtag1","hashtag2"]},{"1366590744":["hashtag1","hashtag2"]},{"1366590761":["hashtag1","hashtag2"]},{"1366590749":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366590754, 1366590733, 1366590739, 1366590744, 1366590761, 1366590749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.23816704750061 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:07:03.598103
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_24_10010.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_14_10069.jpg', 2), ('/mnt/data/16062025/20/05/image_16062025_20_05_35_10188.jpg', 2), ('/mnt/data/16062025/20/05/image_16062025_20_05_25_9986.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_24_10010.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_14_10069.jpg', '/mnt/data/16062025/20/05/image_16062025_20_05_35_10188.jpg', '/mnt/data/16062025/20/05/image_16062025_20_05_25_9986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/06/image_16062025_20_06_44_10242.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_34_10165.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_24_10010.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_14_10069.jpg
/mnt/data/16062025/20/05/image_16062025_20_05_35_10188.jpg
/mnt/data/16062025/20/05/image_16062025_20_05_25_9986.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.224427700042725 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:08:02.431766
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', 2), ('/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg', '/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg', '/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/07/image_16062025_20_07_44_9999.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_34_8815.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_25_10030.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_15_9996.jpg
/mnt/data/16062025/20/06/image_16062025_20_07_05_10191.jpg
/mnt/data/16062025/20/06/image_16062025_20_06_55_10269.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 35.07590365409851 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:09:02.803868
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg', 2), ('/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg', '/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg', '/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/08/image_16062025_20_08_44_10026.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_34_10030.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_24_10029.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_14_10010.jpg
/mnt/data/16062025/20/07/image_16062025_20_08_04_8982.jpg
/mnt/data/16062025/20/07/image_16062025_20_07_55_11146.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.317567348480225 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:10:02.785630
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/09/image_16062025_20_09_44_10030.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_09_34_10036.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_09_24_10016.jpg', 2), ('/mnt/data/16062025/20/09/image_16062025_20_09_14_10014.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_09_04_10156.jpg', 2), ('/mnt/data/16062025/20/08/image_16062025_20_08_54_9992.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/09/image_16062025_20_09_44_10030.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_34_10036.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_24_10016.jpg', '/mnt/data/16062025/20/09/image_16062025_20_09_14_10014.jpg', '/mnt/data/16062025/20/08/image_16062025_20_09_04_10156.jpg', '/mnt/data/16062025/20/08/image_16062025_20_08_54_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/09/image_16062025_20_09_44_10030.jpg
/mnt/data/16062025/20/09/image_16062025_20_09_34_10036.jpg
/mnt/data/16062025/20/09/image_16062025_20_09_24_10016.jpg
/mnt/data/16062025/20/09/image_16062025_20_09_14_10014.jpg
/mnt/data/16062025/20/08/image_16062025_20_09_04_10156.jpg
/mnt/data/16062025/20/08/image_16062025_20_08_54_9992.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366591881","1366591683","1366591812","1366591847","1366591852","1366591735"],"photo_ids_order":["1366591683","1366591735","1366591812","1366591847","1366591852","1366591881"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/101e0e8e5ef734ebe8f2969d44d21572.jpg","text":"TemporaryFile(/tmp/multipartBody7772542333828872164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097489525,"filename":"image_16062025_20_08_54_9992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/13ab7ce5c7be2047d658ed775a3a890a.jpg","text":"TemporaryFile(/tmp/multipartBody2340249013927759170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097489525,"filename":"image_16062025_20_09_44_10030.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/fd27468ac50e204933bfbbfb380d2ba8.jpg","text":"TemporaryFile(/tmp/multipartBody8365751919073310901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097489525,"filename":"image_16062025_20_09_24_10016.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/c796cc4be5b45e98070184ee1c618e99.jpg","text":"TemporaryFile(/tmp/multipartBody6276571671238527676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097489525,"filename":"image_16062025_20_09_14_10014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/18b65533b177da5489c9739bbfdc80fd.jpg","text":"TemporaryFile(/tmp/multipartBody595090779261413353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097489525,"filename":"image_16062025_20_09_04_10156.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/242fb380b44c0b802e3ffbc09bb36509.jpg","text":"TemporaryFile(/tmp/multipartBody7922283169258687472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097489525,"filename":"image_16062025_20_09_34_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366591812","file1":"1366591735","file0":"1366591683","file4":"1366591852","file5":"1366591881","file3":"1366591847"},"map_files_photo_id_array":[{"photo_id":"1366591881","filename":"file5"},{"photo_id":"1366591812","filename":"file2"},{"photo_id":"1366591852","filename":"file4"},{"photo_id":"1366591735","filename":"file1"},{"photo_id":"1366591683","filename":"file0"},{"photo_id":"1366591847","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366591881":["hashtag1","hashtag2"]},{"1366591683":["hashtag1","hashtag2"]},{"1366591812":["hashtag1","hashtag2"]},{"1366591847":["hashtag1","hashtag2"]},{"1366591852":["hashtag1","hashtag2"]},{"1366591735":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366591881, 1366591683, 1366591812, 1366591847, 1366591852, 1366591735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.97209882736206 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:12:02.909828
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', 2), ('/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg', '/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg', '/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/11/image_16062025_20_11_44_10029.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_34_9621.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_24_10049.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_14_10000.jpg
/mnt/data/16062025/20/10/image_16062025_20_11_04_10160.jpg
/mnt/data/16062025/20/10/image_16062025_20_10_54_9978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.289907455444336 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:13:03.023846
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/12/image_16062025_20_12_44_10006.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_12_34_10087.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_12_24_9946.jpg', 2), ('/mnt/data/16062025/20/12/image_16062025_20_12_14_10051.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_12_04_10279.jpg', 2), ('/mnt/data/16062025/20/11/image_16062025_20_11_54_9984.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/12/image_16062025_20_12_44_10006.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_34_10087.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_24_9946.jpg', '/mnt/data/16062025/20/12/image_16062025_20_12_14_10051.jpg', '/mnt/data/16062025/20/11/image_16062025_20_12_04_10279.jpg', '/mnt/data/16062025/20/11/image_16062025_20_11_54_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/12/image_16062025_20_12_44_10006.jpg
/mnt/data/16062025/20/12/image_16062025_20_12_34_10087.jpg
/mnt/data/16062025/20/12/image_16062025_20_12_24_9946.jpg
/mnt/data/16062025/20/12/image_16062025_20_12_14_10051.jpg
/mnt/data/16062025/20/11/image_16062025_20_12_04_10279.jpg
/mnt/data/16062025/20/11/image_16062025_20_11_54_9984.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366592031","1366592037","1366592025","1366592017","1366592011","1366592005"],"photo_ids_order":["1366592005","1366592011","1366592017","1366592025","1366592031","1366592037"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/2ec5bf94571fd4091ee01cedcb8a713f.jpg","text":"TemporaryFile(/tmp/multipartBody8923398025014560191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097671293,"filename":"image_16062025_20_12_04_10279.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/97a0487073bde1ae0f72fdcc76ea5be3.jpg","text":"TemporaryFile(/tmp/multipartBody7593280582272384940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097671293,"filename":"image_16062025_20_11_54_9984.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/28403126464ec609e13c5a52a5b826f2.jpg","text":"TemporaryFile(/tmp/multipartBody6437384136605272787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097671293,"filename":"image_16062025_20_12_14_10051.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/6b5f098a3123ecf21dba65784512500a.jpg","text":"TemporaryFile(/tmp/multipartBody185547054982853895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097671293,"filename":"image_16062025_20_12_24_9946.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/70790d353a592b40a5e62ba6a79e1c77.jpg","text":"TemporaryFile(/tmp/multipartBody5302306886069741427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097671293,"filename":"image_16062025_20_12_34_10087.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/adafa780cf4c00a8a778625cd3e38829.jpg","text":"TemporaryFile(/tmp/multipartBody2337590204136665840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750097671293,"filename":"image_16062025_20_12_44_10006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366592017","file1":"1366592011","file0":"1366592005","file4":"1366592031","file5":"1366592037","file3":"1366592025"},"map_files_photo_id_array":[{"photo_id":"1366592037","filename":"file5"},{"photo_id":"1366592017","filename":"file2"},{"photo_id":"1366592031","filename":"file4"},{"photo_id":"1366592011","filename":"file1"},{"photo_id":"1366592005","filename":"file0"},{"photo_id":"1366592025","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366592031":["hashtag1","hashtag2"]},{"1366592037":["hashtag1","hashtag2"]},{"1366592025":["hashtag1","hashtag2"]},{"1366592017":["hashtag1","hashtag2"]},{"1366592011":["hashtag1","hashtag2"]},{"1366592005":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366592031, 1366592037, 1366592025, 1366592017, 1366592011, 1366592005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.70941233634949 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:15:03.446728
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/14/image_16062025_20_14_45_10011.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_35_10036.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg', 2), ('/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/14/image_16062025_20_14_45_10011.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_35_10036.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg', '/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg', '/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/14/image_16062025_20_14_45_10011.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_35_10036.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_25_10033.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_15_9977.jpg
/mnt/data/16062025/20/13/image_16062025_20_14_05_10282.jpg
/mnt/data/16062025/20/13/image_16062025_20_13_54_10004.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22101593017578 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:16:03.318293
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_25_10095.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_15_9995.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_15_05_10068.jpg', 2), ('/mnt/data/16062025/20/14/image_16062025_20_14_55_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_25_10095.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_15_9995.jpg', '/mnt/data/16062025/20/14/image_16062025_20_15_05_10068.jpg', '/mnt/data/16062025/20/14/image_16062025_20_14_55_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/15/image_16062025_20_15_44_8890.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_35_9997.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_25_10095.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_15_9995.jpg
/mnt/data/16062025/20/14/image_16062025_20_15_05_10068.jpg
/mnt/data/16062025/20/14/image_16062025_20_14_55_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22125506401062 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:17:02.605492
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', 2), ('/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg', '/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg', '/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/16/image_16062025_20_16_45_10168.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_35_10230.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_24_10075.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_14_10151.jpg
/mnt/data/16062025/20/15/image_16062025_20_16_04_10345.jpg
/mnt/data/16062025/20/15/image_16062025_20_15_54_10077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.218108654022217 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:18:02.440472
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', 2), ('/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg', '/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg', '/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg', '/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/17/image_16062025_20_17_44_10013.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_34_10014.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_24_10192.jpg
/mnt/data/16062025/20/17/image_16062025_20_17_14_10132.jpg
/mnt/data/16062025/20/16/image_16062025_20_17_04_10338.jpg
/mnt/data/16062025/20/16/image_16062025_20_16_54_8959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.177958726882935 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:19:03.025260
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg', 2), ('/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg', '/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_45_9953.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_35_9983.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_25_9960.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_15_10109.jpg
/mnt/data/16062025/20/17/image_16062025_20_18_05_10222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.211372137069702 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:20:02.810353
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_19_34_9981.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg', 2), ('/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_34_9981.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg', '/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg', '/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/19/image_16062025_20_19_44_9971.jpg
/mnt/data/16062025/20/19/image_16062025_20_19_34_9981.jpg
/mnt/data/16062025/20/19/image_16062025_20_19_24_9997.jpg
/mnt/data/16062025/20/19/image_16062025_20_19_14_9982.jpg
/mnt/data/16062025/20/18/image_16062025_20_19_04_9103.jpg
/mnt/data/16062025/20/18/image_16062025_20_18_55_10011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20127820968628 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:21:03.210736
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/20/image_16062025_20_20_44_9975.jpg', 2), ('/mnt/data/16062025/20/20/image_16062025_20_20_34_9992.jpg', 2), ('/mnt/data/16062025/20/20/image_16062025_20_20_24_9978.jpg', 2), ('/mnt/data/16062025/20/20/image_16062025_20_20_14_9950.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_20_04_10289.jpg', 2), ('/mnt/data/16062025/20/19/image_16062025_20_19_54_9952.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/20/image_16062025_20_20_44_9975.jpg', '/mnt/data/16062025/20/20/image_16062025_20_20_34_9992.jpg', '/mnt/data/16062025/20/20/image_16062025_20_20_24_9978.jpg', '/mnt/data/16062025/20/20/image_16062025_20_20_14_9950.jpg', '/mnt/data/16062025/20/19/image_16062025_20_20_04_10289.jpg', '/mnt/data/16062025/20/19/image_16062025_20_19_54_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/20/image_16062025_20_20_44_9975.jpg
/mnt/data/16062025/20/20/image_16062025_20_20_34_9992.jpg
/mnt/data/16062025/20/20/image_16062025_20_20_24_9978.jpg
/mnt/data/16062025/20/20/image_16062025_20_20_14_9950.jpg
/mnt/data/16062025/20/19/image_16062025_20_20_04_10289.jpg
/mnt/data/16062025/20/19/image_16062025_20_19_54_9952.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366592270","1366592281","1366592266","1366592260","1366592289","1366592274"],"photo_ids_order":["1366592260","1366592266","1366592270","1366592274","1366592281","1366592289"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/c093ce9a93241582b58bb6f575d4370d.jpg","text":"TemporaryFile(/tmp/multipartBody5620165086455949774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098150019,"filename":"image_16062025_20_20_24_9978.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/eaaf74eefa4cd816e5d03f131d2e32cf.jpg","text":"TemporaryFile(/tmp/multipartBody9159875645224594369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098150019,"filename":"image_16062025_20_20_04_10289.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/8ccc44ec92dac5b8e504995795947e0d.jpg","text":"TemporaryFile(/tmp/multipartBody8567193012775396434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098150019,"filename":"image_16062025_20_20_34_9992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/215c1cbef02862488ec126572a1844ca.jpg","text":"TemporaryFile(/tmp/multipartBody191162801955352376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098150019,"filename":"image_16062025_20_20_44_9975.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b4ae6ecc08447e7fdecb12f003ed8b22.jpg","text":"TemporaryFile(/tmp/multipartBody4244020669928337897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098150019,"filename":"image_16062025_20_19_54_9952.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/4583640a3c5eb607c9c244fed6f433bd.jpg","text":"TemporaryFile(/tmp/multipartBody4786626569010961496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098150019,"filename":"image_16062025_20_20_14_9950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366592270","file1":"1366592266","file0":"1366592260","file4":"1366592281","file5":"1366592289","file3":"1366592274"},"map_files_photo_id_array":[{"photo_id":"1366592289","filename":"file5"},{"photo_id":"1366592270","filename":"file2"},{"photo_id":"1366592281","filename":"file4"},{"photo_id":"1366592266","filename":"file1"},{"photo_id":"1366592260","filename":"file0"},{"photo_id":"1366592274","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366592270":["hashtag1","hashtag2"]},{"1366592281":["hashtag1","hashtag2"]},{"1366592266":["hashtag1","hashtag2"]},{"1366592260":["hashtag1","hashtag2"]},{"1366592289":["hashtag1","hashtag2"]},{"1366592274":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366592270, 1366592281, 1366592266, 1366592260, 1366592289, 1366592274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.89073324203491 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:23:03.578744
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/22/image_16062025_20_22_44_9945.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_22_34_10123.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_22_24_10116.jpg', 2), ('/mnt/data/16062025/20/22/image_16062025_20_22_14_8844.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_22_05_10370.jpg', 2), ('/mnt/data/16062025/20/21/image_16062025_20_21_54_10156.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/22/image_16062025_20_22_44_9945.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_34_10123.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_24_10116.jpg', '/mnt/data/16062025/20/22/image_16062025_20_22_14_8844.jpg', '/mnt/data/16062025/20/21/image_16062025_20_22_05_10370.jpg', '/mnt/data/16062025/20/21/image_16062025_20_21_54_10156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/22/image_16062025_20_22_44_9945.jpg
/mnt/data/16062025/20/22/image_16062025_20_22_34_10123.jpg
/mnt/data/16062025/20/22/image_16062025_20_22_24_10116.jpg
/mnt/data/16062025/20/22/image_16062025_20_22_14_8844.jpg
/mnt/data/16062025/20/21/image_16062025_20_22_05_10370.jpg
/mnt/data/16062025/20/21/image_16062025_20_21_54_10156.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366592322","1366592319","1366592334","1366592326","1366592329","1366592340"],"photo_ids_order":["1366592319","1366592322","1366592326","1366592329","1366592334","1366592340"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/54ca10f0221f9dd16fdfea274d8dc8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2499955319040840469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098266596,"filename":"image_16062025_20_22_34_10123.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e7e3b4db3cc49011597b8b3717445a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5356505268556738594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098266596,"filename":"image_16062025_20_22_44_9945.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ca64aef7c0c8ea656955828ac9387eb5.jpg","text":"TemporaryFile(/tmp/multipartBody361433718365995866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098266596,"filename":"image_16062025_20_22_05_10370.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/2d084c1b73dc6f98a33955af348e465f.jpg","text":"TemporaryFile(/tmp/multipartBody880713865262687805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098266596,"filename":"image_16062025_20_22_24_10116.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/6f9f4f6eaea2cf2caa7762c57e0fe85f.jpg","text":"TemporaryFile(/tmp/multipartBody5994387524021686443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098266596,"filename":"image_16062025_20_22_14_8844.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/4b3ca778082084be29cbf5bc5fb4b90d.jpg","text":"TemporaryFile(/tmp/multipartBody7256271567522285899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098266596,"filename":"image_16062025_20_21_54_10156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366592326","file1":"1366592322","file0":"1366592319","file4":"1366592334","file5":"1366592340","file3":"1366592329"},"map_files_photo_id_array":[{"photo_id":"1366592340","filename":"file5"},{"photo_id":"1366592326","filename":"file2"},{"photo_id":"1366592334","filename":"file4"},{"photo_id":"1366592322","filename":"file1"},{"photo_id":"1366592319","filename":"file0"},{"photo_id":"1366592329","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366592322":["hashtag1","hashtag2"]},{"1366592319":["hashtag1","hashtag2"]},{"1366592334":["hashtag1","hashtag2"]},{"1366592326":["hashtag1","hashtag2"]},{"1366592329":["hashtag1","hashtag2"]},{"1366592340":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366592322, 1366592319, 1366592334, 1366592326, 1366592329, 1366592340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.04848217964172 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:25:02.585847
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/24/image_16062025_20_24_44_9968.jpg', 2), ('/mnt/data/16062025/20/24/image_16062025_20_24_34_10129.jpg', 2), ('/mnt/data/16062025/20/24/image_16062025_20_24_24_10121.jpg', 2), ('/mnt/data/16062025/20/24/image_16062025_20_24_14_9992.jpg', 2), ('/mnt/data/16062025/20/23/image_16062025_20_24_04_9110.jpg', 2), ('/mnt/data/16062025/20/23/image_16062025_20_23_55_10066.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/24/image_16062025_20_24_44_9968.jpg', '/mnt/data/16062025/20/24/image_16062025_20_24_34_10129.jpg', '/mnt/data/16062025/20/24/image_16062025_20_24_24_10121.jpg', '/mnt/data/16062025/20/24/image_16062025_20_24_14_9992.jpg', '/mnt/data/16062025/20/23/image_16062025_20_24_04_9110.jpg', '/mnt/data/16062025/20/23/image_16062025_20_23_55_10066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/24/image_16062025_20_24_44_9968.jpg
/mnt/data/16062025/20/24/image_16062025_20_24_34_10129.jpg
/mnt/data/16062025/20/24/image_16062025_20_24_24_10121.jpg
/mnt/data/16062025/20/24/image_16062025_20_24_14_9992.jpg
/mnt/data/16062025/20/23/image_16062025_20_24_04_9110.jpg
/mnt/data/16062025/20/23/image_16062025_20_23_55_10066.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366592403","1366592396","1366592384","1366592408","1366592391","1366592388"],"photo_ids_order":["1366592384","1366592388","1366592391","1366592396","1366592403","1366592408"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/2d9381209c4b3cfa42e77455a4f33155.jpg","text":"TemporaryFile(/tmp/multipartBody3381339078022741080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098389231,"filename":"image_16062025_20_24_04_9110.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/52107f2ecd9e2c2ddbeb7cb5a7a2902d.jpg","text":"TemporaryFile(/tmp/multipartBody7580535101391542090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098389231,"filename":"image_16062025_20_24_14_9992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b0325df5d1e25671348fa5c35e775eeb.jpg","text":"TemporaryFile(/tmp/multipartBody1883037331708833727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098389231,"filename":"image_16062025_20_24_44_9968.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e798db9515529d7aac660ac4a798220f.jpg","text":"TemporaryFile(/tmp/multipartBody1657464993632402215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098389231,"filename":"image_16062025_20_23_55_10066.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0dc276843bd38eddcf97ef517df5c027.jpg","text":"TemporaryFile(/tmp/multipartBody2180431463939060124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098389231,"filename":"image_16062025_20_24_24_10121.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/800917a3e0b590edf54003c3262894bc.jpg","text":"TemporaryFile(/tmp/multipartBody6226851378329757387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098389231,"filename":"image_16062025_20_24_34_10129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366592391","file1":"1366592388","file0":"1366592384","file4":"1366592403","file5":"1366592408","file3":"1366592396"},"map_files_photo_id_array":[{"photo_id":"1366592408","filename":"file5"},{"photo_id":"1366592391","filename":"file2"},{"photo_id":"1366592403","filename":"file4"},{"photo_id":"1366592388","filename":"file1"},{"photo_id":"1366592384","filename":"file0"},{"photo_id":"1366592396","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366592403":["hashtag1","hashtag2"]},{"1366592396":["hashtag1","hashtag2"]},{"1366592384":["hashtag1","hashtag2"]},{"1366592408":["hashtag1","hashtag2"]},{"1366592391":["hashtag1","hashtag2"]},{"1366592388":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366592403, 1366592396, 1366592384, 1366592408, 1366592391, 1366592388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.93087482452393 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:27:02.886468
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/26/image_16062025_20_26_44_9979.jpg', 2), ('/mnt/data/16062025/20/26/image_16062025_20_26_34_9933.jpg', 2), ('/mnt/data/16062025/20/26/image_16062025_20_26_24_10132.jpg', 2), ('/mnt/data/16062025/20/26/image_16062025_20_26_14_9995.jpg', 2), ('/mnt/data/16062025/20/25/image_16062025_20_26_04_10238.jpg', 2), ('/mnt/data/16062025/20/25/image_16062025_20_25_54_9986.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/26/image_16062025_20_26_44_9979.jpg', '/mnt/data/16062025/20/26/image_16062025_20_26_34_9933.jpg', '/mnt/data/16062025/20/26/image_16062025_20_26_24_10132.jpg', '/mnt/data/16062025/20/26/image_16062025_20_26_14_9995.jpg', '/mnt/data/16062025/20/25/image_16062025_20_26_04_10238.jpg', '/mnt/data/16062025/20/25/image_16062025_20_25_54_9986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/26/image_16062025_20_26_44_9979.jpg
/mnt/data/16062025/20/26/image_16062025_20_26_34_9933.jpg
/mnt/data/16062025/20/26/image_16062025_20_26_24_10132.jpg
/mnt/data/16062025/20/26/image_16062025_20_26_14_9995.jpg
/mnt/data/16062025/20/25/image_16062025_20_26_04_10238.jpg
/mnt/data/16062025/20/25/image_16062025_20_25_54_9986.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:28:26.154155
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg', 2), ('/mnt/data/16062025/20/28/image_16062025_20_28_35_9983.jpg', 2), ('/mnt/data/16062025/20/28/image_16062025_20_28_25_10190.jpg', 2), ('/mnt/data/16062025/20/28/image_16062025_20_28_14_10073.jpg', 2), ('/mnt/data/16062025/20/27/image_16062025_20_28_04_10198.jpg', 2), ('/mnt/data/16062025/20/27/image_16062025_20_27_54_9946.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg', '/mnt/data/16062025/20/28/image_16062025_20_28_35_9983.jpg', '/mnt/data/16062025/20/28/image_16062025_20_28_25_10190.jpg', '/mnt/data/16062025/20/28/image_16062025_20_28_14_10073.jpg', '/mnt/data/16062025/20/27/image_16062025_20_28_04_10198.jpg', '/mnt/data/16062025/20/27/image_16062025_20_27_54_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg
/mnt/data/16062025/20/28/image_16062025_20_28_35_9983.jpg
/mnt/data/16062025/20/28/image_16062025_20_28_25_10190.jpg
/mnt/data/16062025/20/28/image_16062025_20_28_14_10073.jpg
/mnt/data/16062025/20/27/image_16062025_20_28_04_10198.jpg
/mnt/data/16062025/20/27/image_16062025_20_27_54_9946.jpg
uploaded 0 photos
time to upload: 30.230639696121216 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:29:03.199306
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg', 2), ('/mnt/data/16062025/20/28/image_16062025_20_28_35_9983.jpg', 2), ('/mnt/data/16062025/20/28/image_16062025_20_28_25_10190.jpg', 2), ('/mnt/data/16062025/20/28/image_16062025_20_28_14_10073.jpg', 2), ('/mnt/data/16062025/20/27/image_16062025_20_28_04_10198.jpg', 2), ('/mnt/data/16062025/20/27/image_16062025_20_27_54_9946.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg', '/mnt/data/16062025/20/28/image_16062025_20_28_35_9983.jpg', '/mnt/data/16062025/20/28/image_16062025_20_28_25_10190.jpg', '/mnt/data/16062025/20/28/image_16062025_20_28_14_10073.jpg', '/mnt/data/16062025/20/27/image_16062025_20_28_04_10198.jpg', '/mnt/data/16062025/20/27/image_16062025_20_27_54_9946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg
/mnt/data/16062025/20/28/image_16062025_20_28_35_9983.jpg
/mnt/data/16062025/20/28/image_16062025_20_28_25_10190.jpg
/mnt/data/16062025/20/28/image_16062025_20_28_14_10073.jpg
/mnt/data/16062025/20/27/image_16062025_20_28_04_10198.jpg
/mnt/data/16062025/20/27/image_16062025_20_27_54_9946.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.180010318756104 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:30:02.736901
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/29/image_16062025_20_29_44_10161.jpg', 2), ('/mnt/data/16062025/20/29/image_16062025_20_29_34_9974.jpg', 2), ('/mnt/data/16062025/20/29/image_16062025_20_29_24_9931.jpg', 2), ('/mnt/data/16062025/20/29/image_16062025_20_29_14_9968.jpg', 2), ('/mnt/data/16062025/20/28/image_16062025_20_29_04_9230.jpg', 2), ('/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/29/image_16062025_20_29_44_10161.jpg', '/mnt/data/16062025/20/29/image_16062025_20_29_34_9974.jpg', '/mnt/data/16062025/20/29/image_16062025_20_29_24_9931.jpg', '/mnt/data/16062025/20/29/image_16062025_20_29_14_9968.jpg', '/mnt/data/16062025/20/28/image_16062025_20_29_04_9230.jpg', '/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/29/image_16062025_20_29_44_10161.jpg
/mnt/data/16062025/20/29/image_16062025_20_29_34_9974.jpg
/mnt/data/16062025/20/29/image_16062025_20_29_24_9931.jpg
/mnt/data/16062025/20/29/image_16062025_20_29_14_9968.jpg
/mnt/data/16062025/20/28/image_16062025_20_29_04_9230.jpg
/mnt/data/16062025/20/28/image_16062025_20_28_55_10004.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.415769815444946 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:31:03.237920
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/30/image_16062025_20_30_44_9929.jpg', 2), ('/mnt/data/16062025/20/30/image_16062025_20_30_34_10080.jpg', 2), ('/mnt/data/16062025/20/30/image_16062025_20_30_24_10126.jpg', 2), ('/mnt/data/16062025/20/30/image_16062025_20_30_14_10046.jpg', 2), ('/mnt/data/16062025/20/29/image_16062025_20_30_04_10388.jpg', 2), ('/mnt/data/16062025/20/29/image_16062025_20_29_54_9934.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/30/image_16062025_20_30_44_9929.jpg', '/mnt/data/16062025/20/30/image_16062025_20_30_34_10080.jpg', '/mnt/data/16062025/20/30/image_16062025_20_30_24_10126.jpg', '/mnt/data/16062025/20/30/image_16062025_20_30_14_10046.jpg', '/mnt/data/16062025/20/29/image_16062025_20_30_04_10388.jpg', '/mnt/data/16062025/20/29/image_16062025_20_29_54_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/30/image_16062025_20_30_44_9929.jpg
/mnt/data/16062025/20/30/image_16062025_20_30_34_10080.jpg
/mnt/data/16062025/20/30/image_16062025_20_30_24_10126.jpg
/mnt/data/16062025/20/30/image_16062025_20_30_14_10046.jpg
/mnt/data/16062025/20/29/image_16062025_20_30_04_10388.jpg
/mnt/data/16062025/20/29/image_16062025_20_29_54_9934.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.40619730949402 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:32:03.250256
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/31/image_16062025_20_31_44_9998.jpg', 2), ('/mnt/data/16062025/20/31/image_16062025_20_31_34_10011.jpg', 2), ('/mnt/data/16062025/20/31/image_16062025_20_31_24_9995.jpg', 2), ('/mnt/data/16062025/20/31/image_16062025_20_31_14_9963.jpg', 2), ('/mnt/data/16062025/20/30/image_16062025_20_31_04_10137.jpg', 2), ('/mnt/data/16062025/20/30/image_16062025_20_30_54_9989.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/31/image_16062025_20_31_44_9998.jpg', '/mnt/data/16062025/20/31/image_16062025_20_31_34_10011.jpg', '/mnt/data/16062025/20/31/image_16062025_20_31_24_9995.jpg', '/mnt/data/16062025/20/31/image_16062025_20_31_14_9963.jpg', '/mnt/data/16062025/20/30/image_16062025_20_31_04_10137.jpg', '/mnt/data/16062025/20/30/image_16062025_20_30_54_9989.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/31/image_16062025_20_31_44_9998.jpg
/mnt/data/16062025/20/31/image_16062025_20_31_34_10011.jpg
/mnt/data/16062025/20/31/image_16062025_20_31_24_9995.jpg
/mnt/data/16062025/20/31/image_16062025_20_31_14_9963.jpg
/mnt/data/16062025/20/30/image_16062025_20_31_04_10137.jpg
/mnt/data/16062025/20/30/image_16062025_20_30_54_9989.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.231473684310913 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:33:03.705718
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/32/image_16062025_20_32_45_9952.jpg', 2), ('/mnt/data/16062025/20/32/image_16062025_20_32_35_10108.jpg', 2), ('/mnt/data/16062025/20/32/image_16062025_20_32_25_10005.jpg', 2), ('/mnt/data/16062025/20/32/image_16062025_20_32_15_9995.jpg', 2), ('/mnt/data/16062025/20/31/image_16062025_20_32_05_10279.jpg', 2), ('/mnt/data/16062025/20/31/image_16062025_20_31_54_9984.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/32/image_16062025_20_32_45_9952.jpg', '/mnt/data/16062025/20/32/image_16062025_20_32_35_10108.jpg', '/mnt/data/16062025/20/32/image_16062025_20_32_25_10005.jpg', '/mnt/data/16062025/20/32/image_16062025_20_32_15_9995.jpg', '/mnt/data/16062025/20/31/image_16062025_20_32_05_10279.jpg', '/mnt/data/16062025/20/31/image_16062025_20_31_54_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/32/image_16062025_20_32_45_9952.jpg
/mnt/data/16062025/20/32/image_16062025_20_32_35_10108.jpg
/mnt/data/16062025/20/32/image_16062025_20_32_25_10005.jpg
/mnt/data/16062025/20/32/image_16062025_20_32_15_9995.jpg
/mnt/data/16062025/20/31/image_16062025_20_32_05_10279.jpg
/mnt/data/16062025/20/31/image_16062025_20_31_54_9984.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.92131757736206 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:34:03.411694
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/33/image_16062025_20_33_34_9936.jpg', 2), ('/mnt/data/16062025/20/33/image_16062025_20_33_24_9947.jpg', 2), ('/mnt/data/16062025/20/33/image_16062025_20_33_14_10015.jpg', 2), ('/mnt/data/16062025/20/32/image_16062025_20_33_04_9033.jpg', 2), ('/mnt/data/16062025/20/32/image_16062025_20_32_55_9936.jpg', 2), ('/mnt/data/16062025/20/32/image_16062025_20_32_45_9952.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/33/image_16062025_20_33_34_9936.jpg', '/mnt/data/16062025/20/33/image_16062025_20_33_24_9947.jpg', '/mnt/data/16062025/20/33/image_16062025_20_33_14_10015.jpg', '/mnt/data/16062025/20/32/image_16062025_20_33_04_9033.jpg', '/mnt/data/16062025/20/32/image_16062025_20_32_55_9936.jpg', '/mnt/data/16062025/20/32/image_16062025_20_32_45_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/33/image_16062025_20_33_34_9936.jpg
/mnt/data/16062025/20/33/image_16062025_20_33_24_9947.jpg
/mnt/data/16062025/20/33/image_16062025_20_33_14_10015.jpg
/mnt/data/16062025/20/32/image_16062025_20_33_04_9033.jpg
/mnt/data/16062025/20/32/image_16062025_20_32_55_9936.jpg
/mnt/data/16062025/20/32/image_16062025_20_32_45_9952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.369513511657715 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:35:02.682737
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/34/image_16062025_20_34_44_9247.jpg', 2), ('/mnt/data/16062025/20/33/image_16062025_20_33_44_10005.jpg', 2), ('/mnt/data/16062025/20/33/image_16062025_20_33_34_9936.jpg', 2), ('/mnt/data/16062025/20/33/image_16062025_20_33_24_9947.jpg', 2), ('/mnt/data/16062025/20/33/image_16062025_20_33_14_10015.jpg', 2), ('/mnt/data/16062025/20/32/image_16062025_20_33_04_9033.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/34/image_16062025_20_34_44_9247.jpg', '/mnt/data/16062025/20/33/image_16062025_20_33_44_10005.jpg', '/mnt/data/16062025/20/33/image_16062025_20_33_34_9936.jpg', '/mnt/data/16062025/20/33/image_16062025_20_33_24_9947.jpg', '/mnt/data/16062025/20/33/image_16062025_20_33_14_10015.jpg', '/mnt/data/16062025/20/32/image_16062025_20_33_04_9033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/34/image_16062025_20_34_44_9247.jpg
/mnt/data/16062025/20/33/image_16062025_20_33_44_10005.jpg
/mnt/data/16062025/20/33/image_16062025_20_33_34_9936.jpg
/mnt/data/16062025/20/33/image_16062025_20_33_24_9947.jpg
/mnt/data/16062025/20/33/image_16062025_20_33_14_10015.jpg
/mnt/data/16062025/20/32/image_16062025_20_33_04_9033.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
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366592715","1366592709","1366592730","1366592724","1366592705","1366592720"],"photo_ids_order":["1366592705","1366592709","1366592715","1366592720","1366592724","1366592730"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ad309ae3175ef7edb14726f83f7de261.jpg","text":"TemporaryFile(/tmp/multipartBody2862278484489516190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098980636,"filename":"image_16062025_20_33_34_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0e9659737a70a1863d36fab99905b540.jpg","text":"TemporaryFile(/tmp/multipartBody4351899090423273439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098980636,"filename":"image_16062025_20_33_44_10005.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/7d1921bdfd39c6bc819cd1e83a21344a.jpg","text":"TemporaryFile(/tmp/multipartBody5557288668735465468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098980636,"filename":"image_16062025_20_33_04_9033.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/192ca3ff616433c2c69a35a247278b3f.jpg","text":"TemporaryFile(/tmp/multipartBody5944289112649730348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098980636,"filename":"image_16062025_20_33_14_10015.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/5f9a67f2d8af9809fafcd5badeac9fed.jpg","text":"TemporaryFile(/tmp/multipartBody4213080084355489989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098980636,"filename":"image_16062025_20_34_44_9247.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/d7a45a76dbeaacf3ee90965f576bb9ac.jpg","text":"TemporaryFile(/tmp/multipartBody8520300170783301265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750098980636,"filename":"image_16062025_20_33_24_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366592715","file1":"1366592709","file0":"1366592705","file4":"1366592724","file5":"1366592730","file3":"1366592720"},"map_files_photo_id_array":[{"photo_id":"1366592730","filename":"file5"},{"photo_id":"1366592715","filename":"file2"},{"photo_id":"1366592724","filename":"file4"},{"photo_id":"1366592709","filename":"file1"},{"photo_id":"1366592705","filename":"file0"},{"photo_id":"1366592720","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366592715":["hashtag1","hashtag2"]},{"1366592709":["hashtag1","hashtag2"]},{"1366592730":["hashtag1","hashtag2"]},{"1366592724":["hashtag1","hashtag2"]},{"1366592705":["hashtag1","hashtag2"]},{"1366592720":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366592715, 1366592709, 1366592730, 1366592724, 1366592705, 1366592720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.91228914260864 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:36:25.933775
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/36/image_16062025_20_36_44_9972.jpg', 2), ('/mnt/data/16062025/20/36/image_16062025_20_36_34_9991.jpg', 2), ('/mnt/data/16062025/20/36/image_16062025_20_36_24_9995.jpg', 2), ('/mnt/data/16062025/20/36/image_16062025_20_36_14_10069.jpg', 2), ('/mnt/data/16062025/20/35/image_16062025_20_36_04_10087.jpg', 2), ('/mnt/data/16062025/20/35/image_16062025_20_35_54_9972.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/36/image_16062025_20_36_44_9972.jpg', '/mnt/data/16062025/20/36/image_16062025_20_36_34_9991.jpg', '/mnt/data/16062025/20/36/image_16062025_20_36_24_9995.jpg', '/mnt/data/16062025/20/36/image_16062025_20_36_14_10069.jpg', '/mnt/data/16062025/20/35/image_16062025_20_36_04_10087.jpg', '/mnt/data/16062025/20/35/image_16062025_20_35_54_9972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/36/image_16062025_20_36_44_9972.jpg
/mnt/data/16062025/20/36/image_16062025_20_36_34_9991.jpg
/mnt/data/16062025/20/36/image_16062025_20_36_24_9995.jpg
/mnt/data/16062025/20/36/image_16062025_20_36_14_10069.jpg
/mnt/data/16062025/20/35/image_16062025_20_36_04_10087.jpg
/mnt/data/16062025/20/35/image_16062025_20_35_54_9972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366592771","1366592788","1366592776","1366592790","1366592784","1366592766"],"photo_ids_order":["1366592766","1366592771","1366592776","1366592784","1366592788","1366592790"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/97504da6202b93065d929c0801dbfd13.jpg","text":"TemporaryFile(/tmp/multipartBody1764756754655067341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099075951,"filename":"image_16062025_20_36_34_9991.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/27589bb5259da45693d544057d6f80ba.jpg","text":"TemporaryFile(/tmp/multipartBody4870604238980128201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099075951,"filename":"image_16062025_20_36_04_10087.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/09675e78a4fe7646bd53531d84c296f2.jpg","text":"TemporaryFile(/tmp/multipartBody1045290193028291755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099075951,"filename":"image_16062025_20_36_24_9995.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/3d8fa6a6571b8aabd2748d04ff24a461.jpg","text":"TemporaryFile(/tmp/multipartBody8579259675313530113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099075951,"filename":"image_16062025_20_35_54_9972.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/a8a7ceecb9471d269d564373361b7c7d.jpg","text":"TemporaryFile(/tmp/multipartBody744187143625594967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099075951,"filename":"image_16062025_20_36_14_10069.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/9c2280343d5339c15776ad1e3086cd4e.jpg","text":"TemporaryFile(/tmp/multipartBody9151269801738629505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099075951,"filename":"image_16062025_20_36_44_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366592776","file1":"1366592771","file0":"1366592766","file4":"1366592788","file5":"1366592790","file3":"1366592784"},"map_files_photo_id_array":[{"photo_id":"1366592790","filename":"file5"},{"photo_id":"1366592776","filename":"file2"},{"photo_id":"1366592788","filename":"file4"},{"photo_id":"1366592771","filename":"file1"},{"photo_id":"1366592766","filename":"file0"},{"photo_id":"1366592784","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366592771":["hashtag1","hashtag2"]},{"1366592788":["hashtag1","hashtag2"]},{"1366592776":["hashtag1","hashtag2"]},{"1366592790":["hashtag1","hashtag2"]},{"1366592784":["hashtag1","hashtag2"]},{"1366592766":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366592771, 1366592788, 1366592776, 1366592790, 1366592784, 1366592766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.18394589424133 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:38:02.546936
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/37/image_16062025_20_37_45_10144.jpg', 2), ('/mnt/data/16062025/20/37/image_16062025_20_37_35_10193.jpg', 2), ('/mnt/data/16062025/20/37/image_16062025_20_37_24_9912.jpg', 2), ('/mnt/data/16062025/20/37/image_16062025_20_37_14_10076.jpg', 2), ('/mnt/data/16062025/20/36/image_16062025_20_37_04_10073.jpg', 2), ('/mnt/data/16062025/20/36/image_16062025_20_36_54_9994.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/37/image_16062025_20_37_45_10144.jpg', '/mnt/data/16062025/20/37/image_16062025_20_37_35_10193.jpg', '/mnt/data/16062025/20/37/image_16062025_20_37_24_9912.jpg', '/mnt/data/16062025/20/37/image_16062025_20_37_14_10076.jpg', '/mnt/data/16062025/20/36/image_16062025_20_37_04_10073.jpg', '/mnt/data/16062025/20/36/image_16062025_20_36_54_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/37/image_16062025_20_37_45_10144.jpg
/mnt/data/16062025/20/37/image_16062025_20_37_35_10193.jpg
/mnt/data/16062025/20/37/image_16062025_20_37_24_9912.jpg
/mnt/data/16062025/20/37/image_16062025_20_37_14_10076.jpg
/mnt/data/16062025/20/36/image_16062025_20_37_04_10073.jpg
/mnt/data/16062025/20/36/image_16062025_20_36_54_9994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.245758533477783 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:39:03.087405
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/38/image_16062025_20_38_44_9959.jpg', 2), ('/mnt/data/16062025/20/38/image_16062025_20_38_34_10000.jpg', 2), ('/mnt/data/16062025/20/38/image_16062025_20_38_24_10115.jpg', 2), ('/mnt/data/16062025/20/38/image_16062025_20_38_14_10106.jpg', 2), ('/mnt/data/16062025/20/37/image_16062025_20_38_04_10589.jpg', 2), ('/mnt/data/16062025/20/37/image_16062025_20_37_54_8951.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/38/image_16062025_20_38_44_9959.jpg', '/mnt/data/16062025/20/38/image_16062025_20_38_34_10000.jpg', '/mnt/data/16062025/20/38/image_16062025_20_38_24_10115.jpg', '/mnt/data/16062025/20/38/image_16062025_20_38_14_10106.jpg', '/mnt/data/16062025/20/37/image_16062025_20_38_04_10589.jpg', '/mnt/data/16062025/20/37/image_16062025_20_37_54_8951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/38/image_16062025_20_38_44_9959.jpg
/mnt/data/16062025/20/38/image_16062025_20_38_34_10000.jpg
/mnt/data/16062025/20/38/image_16062025_20_38_24_10115.jpg
/mnt/data/16062025/20/38/image_16062025_20_38_14_10106.jpg
/mnt/data/16062025/20/37/image_16062025_20_38_04_10589.jpg
/mnt/data/16062025/20/37/image_16062025_20_37_54_8951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.17275619506836 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:40:03.004163
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/39/image_16062025_20_39_44_9969.jpg', 2), ('/mnt/data/16062025/20/39/image_16062025_20_39_34_9968.jpg', 2), ('/mnt/data/16062025/20/39/image_16062025_20_39_24_9948.jpg', 2), ('/mnt/data/16062025/20/39/image_16062025_20_39_14_9963.jpg', 2), ('/mnt/data/16062025/20/38/image_16062025_20_39_04_10125.jpg', 2), ('/mnt/data/16062025/20/38/image_16062025_20_38_54_9965.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/39/image_16062025_20_39_44_9969.jpg', '/mnt/data/16062025/20/39/image_16062025_20_39_34_9968.jpg', '/mnt/data/16062025/20/39/image_16062025_20_39_24_9948.jpg', '/mnt/data/16062025/20/39/image_16062025_20_39_14_9963.jpg', '/mnt/data/16062025/20/38/image_16062025_20_39_04_10125.jpg', '/mnt/data/16062025/20/38/image_16062025_20_38_54_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/39/image_16062025_20_39_44_9969.jpg
/mnt/data/16062025/20/39/image_16062025_20_39_34_9968.jpg
/mnt/data/16062025/20/39/image_16062025_20_39_24_9948.jpg
/mnt/data/16062025/20/39/image_16062025_20_39_14_9963.jpg
/mnt/data/16062025/20/38/image_16062025_20_39_04_10125.jpg
/mnt/data/16062025/20/38/image_16062025_20_38_54_9965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.253543376922607 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:41:03.410559
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/40/image_16062025_20_40_45_9925.jpg', 2), ('/mnt/data/16062025/20/40/image_16062025_20_40_35_10123.jpg', 2), ('/mnt/data/16062025/20/40/image_16062025_20_40_25_9934.jpg', 2), ('/mnt/data/16062025/20/40/image_16062025_20_40_15_9995.jpg', 2), ('/mnt/data/16062025/20/39/image_16062025_20_40_05_10511.jpg', 2), ('/mnt/data/16062025/20/39/image_16062025_20_39_54_9796.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/40/image_16062025_20_40_45_9925.jpg', '/mnt/data/16062025/20/40/image_16062025_20_40_35_10123.jpg', '/mnt/data/16062025/20/40/image_16062025_20_40_25_9934.jpg', '/mnt/data/16062025/20/40/image_16062025_20_40_15_9995.jpg', '/mnt/data/16062025/20/39/image_16062025_20_40_05_10511.jpg', '/mnt/data/16062025/20/39/image_16062025_20_39_54_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/40/image_16062025_20_40_45_9925.jpg
/mnt/data/16062025/20/40/image_16062025_20_40_35_10123.jpg
/mnt/data/16062025/20/40/image_16062025_20_40_25_9934.jpg
/mnt/data/16062025/20/40/image_16062025_20_40_15_9995.jpg
/mnt/data/16062025/20/39/image_16062025_20_40_05_10511.jpg
/mnt/data/16062025/20/39/image_16062025_20_39_54_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22326898574829 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:42:03.266525
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/41/image_16062025_20_41_44_9122.jpg', 2), ('/mnt/data/16062025/20/41/image_16062025_20_41_35_10263.jpg', 2), ('/mnt/data/16062025/20/41/image_16062025_20_41_25_10173.jpg', 2), ('/mnt/data/16062025/20/41/image_16062025_20_41_14_10208.jpg', 2), ('/mnt/data/16062025/20/40/image_16062025_20_41_04_9443.jpg', 2), ('/mnt/data/16062025/20/40/image_16062025_20_40_55_10151.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/41/image_16062025_20_41_44_9122.jpg', '/mnt/data/16062025/20/41/image_16062025_20_41_35_10263.jpg', '/mnt/data/16062025/20/41/image_16062025_20_41_25_10173.jpg', '/mnt/data/16062025/20/41/image_16062025_20_41_14_10208.jpg', '/mnt/data/16062025/20/40/image_16062025_20_41_04_9443.jpg', '/mnt/data/16062025/20/40/image_16062025_20_40_55_10151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/41/image_16062025_20_41_44_9122.jpg
/mnt/data/16062025/20/41/image_16062025_20_41_35_10263.jpg
/mnt/data/16062025/20/41/image_16062025_20_41_25_10173.jpg
/mnt/data/16062025/20/41/image_16062025_20_41_14_10208.jpg
/mnt/data/16062025/20/40/image_16062025_20_41_04_9443.jpg
/mnt/data/16062025/20/40/image_16062025_20_40_55_10151.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.236870765686035 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=30)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:43:03.569402
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/42/image_16062025_20_42_44_10177.jpg', 2), ('/mnt/data/16062025/20/42/image_16062025_20_42_24_9012.jpg', 2), ('/mnt/data/16062025/20/42/image_16062025_20_42_15_10218.jpg', 2), ('/mnt/data/16062025/20/41/image_16062025_20_42_05_10442.jpg', 2), ('/mnt/data/16062025/20/41/image_16062025_20_41_54_10150.jpg', 2), ('/mnt/data/16062025/20/41/image_16062025_20_41_44_9122.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/42/image_16062025_20_42_44_10177.jpg', '/mnt/data/16062025/20/42/image_16062025_20_42_24_9012.jpg', '/mnt/data/16062025/20/42/image_16062025_20_42_15_10218.jpg', '/mnt/data/16062025/20/41/image_16062025_20_42_05_10442.jpg', '/mnt/data/16062025/20/41/image_16062025_20_41_54_10150.jpg', '/mnt/data/16062025/20/41/image_16062025_20_41_44_9122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/42/image_16062025_20_42_44_10177.jpg
/mnt/data/16062025/20/42/image_16062025_20_42_24_9012.jpg
/mnt/data/16062025/20/42/image_16062025_20_42_15_10218.jpg
/mnt/data/16062025/20/41/image_16062025_20_42_05_10442.jpg
/mnt/data/16062025/20/41/image_16062025_20_41_54_10150.jpg
/mnt/data/16062025/20/41/image_16062025_20_41_44_9122.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.35438346862793 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:44:02.528629
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/43/image_16062025_20_43_44_10164.jpg', 2), ('/mnt/data/16062025/20/43/image_16062025_20_43_34_10157.jpg', 2), ('/mnt/data/16062025/20/43/image_16062025_20_43_24_10271.jpg', 2), ('/mnt/data/16062025/20/43/image_16062025_20_43_14_9004.jpg', 2), ('/mnt/data/16062025/20/42/image_16062025_20_43_05_10395.jpg', 2), ('/mnt/data/16062025/20/42/image_16062025_20_42_54_9973.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/43/image_16062025_20_43_44_10164.jpg', '/mnt/data/16062025/20/43/image_16062025_20_43_34_10157.jpg', '/mnt/data/16062025/20/43/image_16062025_20_43_24_10271.jpg', '/mnt/data/16062025/20/43/image_16062025_20_43_14_9004.jpg', '/mnt/data/16062025/20/42/image_16062025_20_43_05_10395.jpg', '/mnt/data/16062025/20/42/image_16062025_20_42_54_9973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/43/image_16062025_20_43_44_10164.jpg
/mnt/data/16062025/20/43/image_16062025_20_43_34_10157.jpg
/mnt/data/16062025/20/43/image_16062025_20_43_24_10271.jpg
/mnt/data/16062025/20/43/image_16062025_20_43_14_9004.jpg
/mnt/data/16062025/20/42/image_16062025_20_43_05_10395.jpg
/mnt/data/16062025/20/42/image_16062025_20_42_54_9973.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.343732833862305 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:45:02.596440
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/44/image_16062025_20_44_44_8826.jpg', 2), ('/mnt/data/16062025/20/44/image_16062025_20_44_35_10014.jpg', 2), ('/mnt/data/16062025/20/44/image_16062025_20_44_25_10011.jpg', 2), ('/mnt/data/16062025/20/44/image_16062025_20_44_15_10058.jpg', 2), ('/mnt/data/16062025/20/43/image_16062025_20_44_05_10416.jpg', 2), ('/mnt/data/16062025/20/43/image_16062025_20_43_54_10087.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/44/image_16062025_20_44_44_8826.jpg', '/mnt/data/16062025/20/44/image_16062025_20_44_35_10014.jpg', '/mnt/data/16062025/20/44/image_16062025_20_44_25_10011.jpg', '/mnt/data/16062025/20/44/image_16062025_20_44_15_10058.jpg', '/mnt/data/16062025/20/43/image_16062025_20_44_05_10416.jpg', '/mnt/data/16062025/20/43/image_16062025_20_43_54_10087.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/44/image_16062025_20_44_44_8826.jpg
/mnt/data/16062025/20/44/image_16062025_20_44_35_10014.jpg
/mnt/data/16062025/20/44/image_16062025_20_44_25_10011.jpg
/mnt/data/16062025/20/44/image_16062025_20_44_15_10058.jpg
/mnt/data/16062025/20/43/image_16062025_20_44_05_10416.jpg
/mnt/data/16062025/20/43/image_16062025_20_43_54_10087.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.013381004333496 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:46:03.118483
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/45/image_16062025_20_45_14_9965.jpg', 2), ('/mnt/data/16062025/20/44/image_16062025_20_45_04_10313.jpg', 2), ('/mnt/data/16062025/20/44/image_16062025_20_44_54_9993.jpg', 2), ('/mnt/data/16062025/20/44/image_16062025_20_44_44_8826.jpg', 2), ('/mnt/data/16062025/20/44/image_16062025_20_44_35_10014.jpg', 2), ('/mnt/data/16062025/20/44/image_16062025_20_44_25_10011.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/45/image_16062025_20_45_14_9965.jpg', '/mnt/data/16062025/20/44/image_16062025_20_45_04_10313.jpg', '/mnt/data/16062025/20/44/image_16062025_20_44_54_9993.jpg', '/mnt/data/16062025/20/44/image_16062025_20_44_44_8826.jpg', '/mnt/data/16062025/20/44/image_16062025_20_44_35_10014.jpg', '/mnt/data/16062025/20/44/image_16062025_20_44_25_10011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/45/image_16062025_20_45_14_9965.jpg
/mnt/data/16062025/20/44/image_16062025_20_45_04_10313.jpg
/mnt/data/16062025/20/44/image_16062025_20_44_54_9993.jpg
/mnt/data/16062025/20/44/image_16062025_20_44_44_8826.jpg
/mnt/data/16062025/20/44/image_16062025_20_44_35_10014.jpg
/mnt/data/16062025/20/44/image_16062025_20_44_25_10011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.42129349708557 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:47:03.295450
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/46/image_16062025_20_46_44_9999.jpg', 2), ('/mnt/data/16062025/20/46/image_16062025_20_46_34_10286.jpg', 2), ('/mnt/data/16062025/20/46/image_16062025_20_46_24_10014.jpg', 2), ('/mnt/data/16062025/20/46/image_16062025_20_46_14_10141.jpg', 2), ('/mnt/data/16062025/20/45/image_16062025_20_45_24_10119.jpg', 2), ('/mnt/data/16062025/20/45/image_16062025_20_45_14_9965.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/46/image_16062025_20_46_44_9999.jpg', '/mnt/data/16062025/20/46/image_16062025_20_46_34_10286.jpg', '/mnt/data/16062025/20/46/image_16062025_20_46_24_10014.jpg', '/mnt/data/16062025/20/46/image_16062025_20_46_14_10141.jpg', '/mnt/data/16062025/20/45/image_16062025_20_45_24_10119.jpg', '/mnt/data/16062025/20/45/image_16062025_20_45_14_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/46/image_16062025_20_46_44_9999.jpg
/mnt/data/16062025/20/46/image_16062025_20_46_34_10286.jpg
/mnt/data/16062025/20/46/image_16062025_20_46_24_10014.jpg
/mnt/data/16062025/20/46/image_16062025_20_46_14_10141.jpg
/mnt/data/16062025/20/45/image_16062025_20_45_24_10119.jpg
/mnt/data/16062025/20/45/image_16062025_20_45_14_9965.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
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366593152","1366593155","1366593143","1366593139","1366593159","1366593147"],"photo_ids_order":["1366593139","1366593143","1366593147","1366593152","1366593155","1366593159"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/1ecd119801879bd975f003598617a8a1.jpg","text":"TemporaryFile(/tmp/multipartBody118586313820900852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099711177,"filename":"image_16062025_20_46_14_10141.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/1a7deacca15cf28e47778f072e71cab6.jpg","text":"TemporaryFile(/tmp/multipartBody201229634686676135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099711177,"filename":"image_16062025_20_45_24_10119.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0390e9aaecb8c437a46978c95103f046.jpg","text":"TemporaryFile(/tmp/multipartBody925361935390807569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099711177,"filename":"image_16062025_20_46_34_10286.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e024242f4fed8cec24f1d8f4de0daebe.jpg","text":"TemporaryFile(/tmp/multipartBody3052141719123075062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099711177,"filename":"image_16062025_20_46_44_9999.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/18bd35d186097b6b61b07d8ef2f98a87.jpg","text":"TemporaryFile(/tmp/multipartBody8854814572370306070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099711177,"filename":"image_16062025_20_45_14_9965.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/73894cc9aa7787e261cd59e24b8d88a9.jpg","text":"TemporaryFile(/tmp/multipartBody4897150836813345093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750099711177,"filename":"image_16062025_20_46_24_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366593147","file1":"1366593143","file0":"1366593139","file4":"1366593155","file5":"1366593159","file3":"1366593152"},"map_files_photo_id_array":[{"photo_id":"1366593159","filename":"file5"},{"photo_id":"1366593147","filename":"file2"},{"photo_id":"1366593155","filename":"file4"},{"photo_id":"1366593143","filename":"file1"},{"photo_id":"1366593139","filename":"file0"},{"photo_id":"1366593152","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366593152":["hashtag1","hashtag2"]},{"1366593155":["hashtag1","hashtag2"]},{"1366593143":["hashtag1","hashtag2"]},{"1366593139":["hashtag1","hashtag2"]},{"1366593159":["hashtag1","hashtag2"]},{"1366593147":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366593152, 1366593155, 1366593143, 1366593139, 1366593159, 1366593147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.9905526638031 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:48:26.723839
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/48/image_16062025_20_48_44_10218.jpg', 2), ('/mnt/data/16062025/20/48/image_16062025_20_48_34_10149.jpg', 2), ('/mnt/data/16062025/20/48/image_16062025_20_48_24_10089.jpg', 2), ('/mnt/data/16062025/20/48/image_16062025_20_48_14_9049.jpg', 2), ('/mnt/data/16062025/20/47/image_16062025_20_48_05_10414.jpg', 2), ('/mnt/data/16062025/20/47/image_16062025_20_47_54_10119.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/48/image_16062025_20_48_44_10218.jpg', '/mnt/data/16062025/20/48/image_16062025_20_48_34_10149.jpg', '/mnt/data/16062025/20/48/image_16062025_20_48_24_10089.jpg', '/mnt/data/16062025/20/48/image_16062025_20_48_14_9049.jpg', '/mnt/data/16062025/20/47/image_16062025_20_48_05_10414.jpg', '/mnt/data/16062025/20/47/image_16062025_20_47_54_10119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/48/image_16062025_20_48_44_10218.jpg
/mnt/data/16062025/20/48/image_16062025_20_48_34_10149.jpg
/mnt/data/16062025/20/48/image_16062025_20_48_24_10089.jpg
/mnt/data/16062025/20/48/image_16062025_20_48_14_9049.jpg
/mnt/data/16062025/20/47/image_16062025_20_48_05_10414.jpg
/mnt/data/16062025/20/47/image_16062025_20_47_54_10119.jpg
uploaded 0 photos
time to upload: 30.192267894744873 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:49:02.657442
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/48/image_16062025_20_48_44_10218.jpg', 2), ('/mnt/data/16062025/20/48/image_16062025_20_48_34_10149.jpg', 2), ('/mnt/data/16062025/20/48/image_16062025_20_48_24_10089.jpg', 2), ('/mnt/data/16062025/20/48/image_16062025_20_48_14_9049.jpg', 2), ('/mnt/data/16062025/20/47/image_16062025_20_48_05_10414.jpg', 2), ('/mnt/data/16062025/20/47/image_16062025_20_47_54_10119.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/48/image_16062025_20_48_44_10218.jpg', '/mnt/data/16062025/20/48/image_16062025_20_48_34_10149.jpg', '/mnt/data/16062025/20/48/image_16062025_20_48_24_10089.jpg', '/mnt/data/16062025/20/48/image_16062025_20_48_14_9049.jpg', '/mnt/data/16062025/20/47/image_16062025_20_48_05_10414.jpg', '/mnt/data/16062025/20/47/image_16062025_20_47_54_10119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/48/image_16062025_20_48_44_10218.jpg
/mnt/data/16062025/20/48/image_16062025_20_48_34_10149.jpg
/mnt/data/16062025/20/48/image_16062025_20_48_24_10089.jpg
/mnt/data/16062025/20/48/image_16062025_20_48_14_9049.jpg
/mnt/data/16062025/20/47/image_16062025_20_48_05_10414.jpg
/mnt/data/16062025/20/47/image_16062025_20_47_54_10119.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.200451850891113 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:50:02.545489
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/49/image_16062025_20_49_44_10270.jpg', 2), ('/mnt/data/16062025/20/49/image_16062025_20_49_34_10098.jpg', 2), ('/mnt/data/16062025/20/49/image_16062025_20_49_24_8991.jpg', 2), ('/mnt/data/16062025/20/49/image_16062025_20_49_15_10031.jpg', 2), ('/mnt/data/16062025/20/48/image_16062025_20_49_05_10433.jpg', 2), ('/mnt/data/16062025/20/48/image_16062025_20_48_54_10148.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/49/image_16062025_20_49_44_10270.jpg', '/mnt/data/16062025/20/49/image_16062025_20_49_34_10098.jpg', '/mnt/data/16062025/20/49/image_16062025_20_49_24_8991.jpg', '/mnt/data/16062025/20/49/image_16062025_20_49_15_10031.jpg', '/mnt/data/16062025/20/48/image_16062025_20_49_05_10433.jpg', '/mnt/data/16062025/20/48/image_16062025_20_48_54_10148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/49/image_16062025_20_49_44_10270.jpg
/mnt/data/16062025/20/49/image_16062025_20_49_34_10098.jpg
/mnt/data/16062025/20/49/image_16062025_20_49_24_8991.jpg
/mnt/data/16062025/20/49/image_16062025_20_49_15_10031.jpg
/mnt/data/16062025/20/48/image_16062025_20_49_05_10433.jpg
/mnt/data/16062025/20/48/image_16062025_20_48_54_10148.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.178017377853394 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:51:02.853968
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/50/image_16062025_20_50_44_10023.jpg', 2), ('/mnt/data/16062025/20/50/image_16062025_20_50_34_10253.jpg', 2), ('/mnt/data/16062025/20/50/image_16062025_20_50_24_8917.jpg', 2), ('/mnt/data/16062025/20/50/image_16062025_20_50_15_10367.jpg', 2), ('/mnt/data/16062025/20/49/image_16062025_20_50_04_10235.jpg', 2), ('/mnt/data/16062025/20/49/image_16062025_20_49_54_9991.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/50/image_16062025_20_50_44_10023.jpg', '/mnt/data/16062025/20/50/image_16062025_20_50_34_10253.jpg', '/mnt/data/16062025/20/50/image_16062025_20_50_24_8917.jpg', '/mnt/data/16062025/20/50/image_16062025_20_50_15_10367.jpg', '/mnt/data/16062025/20/49/image_16062025_20_50_04_10235.jpg', '/mnt/data/16062025/20/49/image_16062025_20_49_54_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/50/image_16062025_20_50_44_10023.jpg
/mnt/data/16062025/20/50/image_16062025_20_50_34_10253.jpg
/mnt/data/16062025/20/50/image_16062025_20_50_24_8917.jpg
/mnt/data/16062025/20/50/image_16062025_20_50_15_10367.jpg
/mnt/data/16062025/20/49/image_16062025_20_50_04_10235.jpg
/mnt/data/16062025/20/49/image_16062025_20_49_54_9991.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.202102422714233 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:52:02.814274
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/51/image_16062025_20_51_44_10149.jpg', 2), ('/mnt/data/16062025/20/51/image_16062025_20_51_34_9133.jpg', 2), ('/mnt/data/16062025/20/51/image_16062025_20_51_25_10128.jpg', 2), ('/mnt/data/16062025/20/51/image_16062025_20_51_15_10128.jpg', 2), ('/mnt/data/16062025/20/50/image_16062025_20_50_54_10122.jpg', 2), ('/mnt/data/16062025/20/50/image_16062025_20_50_44_10023.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/51/image_16062025_20_51_44_10149.jpg', '/mnt/data/16062025/20/51/image_16062025_20_51_34_9133.jpg', '/mnt/data/16062025/20/51/image_16062025_20_51_25_10128.jpg', '/mnt/data/16062025/20/51/image_16062025_20_51_15_10128.jpg', '/mnt/data/16062025/20/50/image_16062025_20_50_54_10122.jpg', '/mnt/data/16062025/20/50/image_16062025_20_50_44_10023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/51/image_16062025_20_51_44_10149.jpg
/mnt/data/16062025/20/51/image_16062025_20_51_34_9133.jpg
/mnt/data/16062025/20/51/image_16062025_20_51_25_10128.jpg
/mnt/data/16062025/20/51/image_16062025_20_51_15_10128.jpg
/mnt/data/16062025/20/50/image_16062025_20_50_54_10122.jpg
/mnt/data/16062025/20/50/image_16062025_20_50_44_10023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.268476009368896 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:53:03.035487
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/52/image_16062025_20_52_44_10119.jpg', 2), ('/mnt/data/16062025/20/52/image_16062025_20_52_34_10109.jpg', 2), ('/mnt/data/16062025/20/52/image_16062025_20_52_24_10147.jpg', 2), ('/mnt/data/16062025/20/52/image_16062025_20_52_14_9121.jpg', 2), ('/mnt/data/16062025/20/51/image_16062025_20_52_05_10388.jpg', 2), ('/mnt/data/16062025/20/51/image_16062025_20_51_54_10211.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/52/image_16062025_20_52_44_10119.jpg', '/mnt/data/16062025/20/52/image_16062025_20_52_34_10109.jpg', '/mnt/data/16062025/20/52/image_16062025_20_52_24_10147.jpg', '/mnt/data/16062025/20/52/image_16062025_20_52_14_9121.jpg', '/mnt/data/16062025/20/51/image_16062025_20_52_05_10388.jpg', '/mnt/data/16062025/20/51/image_16062025_20_51_54_10211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/52/image_16062025_20_52_44_10119.jpg
/mnt/data/16062025/20/52/image_16062025_20_52_34_10109.jpg
/mnt/data/16062025/20/52/image_16062025_20_52_24_10147.jpg
/mnt/data/16062025/20/52/image_16062025_20_52_14_9121.jpg
/mnt/data/16062025/20/51/image_16062025_20_52_05_10388.jpg
/mnt/data/16062025/20/51/image_16062025_20_51_54_10211.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.18341064453125 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:54:03.074702
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/53/image_16062025_20_53_45_10016.jpg', 2), ('/mnt/data/16062025/20/53/image_16062025_20_53_35_10018.jpg', 2), ('/mnt/data/16062025/20/53/image_16062025_20_53_25_9991.jpg', 2), ('/mnt/data/16062025/20/53/image_16062025_20_53_15_9966.jpg', 2), ('/mnt/data/16062025/20/52/image_16062025_20_53_05_10314.jpg', 2), ('/mnt/data/16062025/20/52/image_16062025_20_52_54_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/53/image_16062025_20_53_45_10016.jpg', '/mnt/data/16062025/20/53/image_16062025_20_53_35_10018.jpg', '/mnt/data/16062025/20/53/image_16062025_20_53_25_9991.jpg', '/mnt/data/16062025/20/53/image_16062025_20_53_15_9966.jpg', '/mnt/data/16062025/20/52/image_16062025_20_53_05_10314.jpg', '/mnt/data/16062025/20/52/image_16062025_20_52_54_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/53/image_16062025_20_53_45_10016.jpg
/mnt/data/16062025/20/53/image_16062025_20_53_35_10018.jpg
/mnt/data/16062025/20/53/image_16062025_20_53_25_9991.jpg
/mnt/data/16062025/20/53/image_16062025_20_53_15_9966.jpg
/mnt/data/16062025/20/52/image_16062025_20_53_05_10314.jpg
/mnt/data/16062025/20/52/image_16062025_20_52_54_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20522975921631 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 20:59:02.742993
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/58/image_16062025_20_58_44_9984.jpg', 2), ('/mnt/data/16062025/20/58/image_16062025_20_58_34_10076.jpg', 2), ('/mnt/data/16062025/20/58/image_16062025_20_58_24_8967.jpg', 2), ('/mnt/data/16062025/20/57/image_16062025_20_58_04_10410.jpg', 2), ('/mnt/data/16062025/20/57/image_16062025_20_57_54_10132.jpg', 2), ('/mnt/data/16062025/20/57/image_16062025_20_57_44_8966.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/58/image_16062025_20_58_44_9984.jpg', '/mnt/data/16062025/20/58/image_16062025_20_58_34_10076.jpg', '/mnt/data/16062025/20/58/image_16062025_20_58_24_8967.jpg', '/mnt/data/16062025/20/57/image_16062025_20_58_04_10410.jpg', '/mnt/data/16062025/20/57/image_16062025_20_57_54_10132.jpg', '/mnt/data/16062025/20/57/image_16062025_20_57_44_8966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/58/image_16062025_20_58_44_9984.jpg
/mnt/data/16062025/20/58/image_16062025_20_58_34_10076.jpg
/mnt/data/16062025/20/58/image_16062025_20_58_24_8967.jpg
/mnt/data/16062025/20/57/image_16062025_20_58_04_10410.jpg
/mnt/data/16062025/20/57/image_16062025_20_57_54_10132.jpg
/mnt/data/16062025/20/57/image_16062025_20_57_44_8966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.192126035690308 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:00:02.763501
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/20/59/image_16062025_20_59_44_9970.jpg', 2), ('/mnt/data/16062025/20/59/image_16062025_20_59_34_9953.jpg', 2), ('/mnt/data/16062025/20/59/image_16062025_20_59_24_9970.jpg', 2), ('/mnt/data/16062025/20/59/image_16062025_20_59_14_9947.jpg', 2), ('/mnt/data/16062025/20/58/image_16062025_20_59_04_10027.jpg', 2), ('/mnt/data/16062025/20/58/image_16062025_20_58_54_10132.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/20/59/image_16062025_20_59_44_9970.jpg', '/mnt/data/16062025/20/59/image_16062025_20_59_34_9953.jpg', '/mnt/data/16062025/20/59/image_16062025_20_59_24_9970.jpg', '/mnt/data/16062025/20/59/image_16062025_20_59_14_9947.jpg', '/mnt/data/16062025/20/58/image_16062025_20_59_04_10027.jpg', '/mnt/data/16062025/20/58/image_16062025_20_58_54_10132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/20/59/image_16062025_20_59_44_9970.jpg
/mnt/data/16062025/20/59/image_16062025_20_59_34_9953.jpg
/mnt/data/16062025/20/59/image_16062025_20_59_24_9970.jpg
/mnt/data/16062025/20/59/image_16062025_20_59_14_9947.jpg
/mnt/data/16062025/20/58/image_16062025_20_59_04_10027.jpg
/mnt/data/16062025/20/58/image_16062025_20_58_54_10132.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.77117657661438 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:01:03.111249
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/00/image_16062025_21_00_44_10083.jpg', 2), ('/mnt/data/16062025/21/00/image_16062025_21_00_14_9998.jpg', 2), ('/mnt/data/16062025/20/59/image_16062025_21_00_04_10306.jpg', 2), ('/mnt/data/16062025/20/59/image_16062025_20_59_54_9955.jpg', 2), ('/mnt/data/16062025/20/59/image_16062025_20_59_44_9970.jpg', 2), ('/mnt/data/16062025/20/59/image_16062025_20_59_34_9953.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/00/image_16062025_21_00_44_10083.jpg', '/mnt/data/16062025/21/00/image_16062025_21_00_14_9998.jpg', '/mnt/data/16062025/20/59/image_16062025_21_00_04_10306.jpg', '/mnt/data/16062025/20/59/image_16062025_20_59_54_9955.jpg', '/mnt/data/16062025/20/59/image_16062025_20_59_44_9970.jpg', '/mnt/data/16062025/20/59/image_16062025_20_59_34_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/00/image_16062025_21_00_44_10083.jpg
/mnt/data/16062025/21/00/image_16062025_21_00_14_9998.jpg
/mnt/data/16062025/20/59/image_16062025_21_00_04_10306.jpg
/mnt/data/16062025/20/59/image_16062025_20_59_54_9955.jpg
/mnt/data/16062025/20/59/image_16062025_20_59_44_9970.jpg
/mnt/data/16062025/20/59/image_16062025_20_59_34_9953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.121747970581055 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:02:03.101132
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/01/image_16062025_21_01_45_10156.jpg', 2), ('/mnt/data/16062025/21/01/image_16062025_21_01_35_10093.jpg', 2), ('/mnt/data/16062025/21/01/image_16062025_21_01_25_10134.jpg', 2), ('/mnt/data/16062025/21/01/image_16062025_21_01_14_10128.jpg', 2), ('/mnt/data/16062025/21/00/image_16062025_21_01_04_10055.jpg', 2), ('/mnt/data/16062025/21/00/image_16062025_21_00_54_9922.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/01/image_16062025_21_01_45_10156.jpg', '/mnt/data/16062025/21/01/image_16062025_21_01_35_10093.jpg', '/mnt/data/16062025/21/01/image_16062025_21_01_25_10134.jpg', '/mnt/data/16062025/21/01/image_16062025_21_01_14_10128.jpg', '/mnt/data/16062025/21/00/image_16062025_21_01_04_10055.jpg', '/mnt/data/16062025/21/00/image_16062025_21_00_54_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/01/image_16062025_21_01_45_10156.jpg
/mnt/data/16062025/21/01/image_16062025_21_01_35_10093.jpg
/mnt/data/16062025/21/01/image_16062025_21_01_25_10134.jpg
/mnt/data/16062025/21/01/image_16062025_21_01_14_10128.jpg
/mnt/data/16062025/21/00/image_16062025_21_01_04_10055.jpg
/mnt/data/16062025/21/00/image_16062025_21_00_54_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.190635442733765 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:03:03.314325
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/02/image_16062025_21_02_44_10139.jpg', 2), ('/mnt/data/16062025/21/02/image_16062025_21_02_34_9760.jpg', 2), ('/mnt/data/16062025/21/02/image_16062025_21_02_24_10090.jpg', 2), ('/mnt/data/16062025/21/02/image_16062025_21_02_14_10081.jpg', 2), ('/mnt/data/16062025/21/01/image_16062025_21_02_04_10442.jpg', 2), ('/mnt/data/16062025/21/01/image_16062025_21_01_54_8921.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/02/image_16062025_21_02_44_10139.jpg', '/mnt/data/16062025/21/02/image_16062025_21_02_34_9760.jpg', '/mnt/data/16062025/21/02/image_16062025_21_02_24_10090.jpg', '/mnt/data/16062025/21/02/image_16062025_21_02_14_10081.jpg', '/mnt/data/16062025/21/01/image_16062025_21_02_04_10442.jpg', '/mnt/data/16062025/21/01/image_16062025_21_01_54_8921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/02/image_16062025_21_02_44_10139.jpg
/mnt/data/16062025/21/02/image_16062025_21_02_34_9760.jpg
/mnt/data/16062025/21/02/image_16062025_21_02_24_10090.jpg
/mnt/data/16062025/21/02/image_16062025_21_02_14_10081.jpg
/mnt/data/16062025/21/01/image_16062025_21_02_04_10442.jpg
/mnt/data/16062025/21/01/image_16062025_21_01_54_8921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.826336145401 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:04:03.413181
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/03/image_16062025_21_03_44_10077.jpg', 2), ('/mnt/data/16062025/21/03/image_16062025_21_03_34_10234.jpg', 2), ('/mnt/data/16062025/21/03/image_16062025_21_03_24_10132.jpg', 2), ('/mnt/data/16062025/21/03/image_16062025_21_03_14_8940.jpg', 2), ('/mnt/data/16062025/21/02/image_16062025_21_03_05_10281.jpg', 2), ('/mnt/data/16062025/21/02/image_16062025_21_02_54_10231.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/03/image_16062025_21_03_44_10077.jpg', '/mnt/data/16062025/21/03/image_16062025_21_03_34_10234.jpg', '/mnt/data/16062025/21/03/image_16062025_21_03_24_10132.jpg', '/mnt/data/16062025/21/03/image_16062025_21_03_14_8940.jpg', '/mnt/data/16062025/21/02/image_16062025_21_03_05_10281.jpg', '/mnt/data/16062025/21/02/image_16062025_21_02_54_10231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/03/image_16062025_21_03_44_10077.jpg
/mnt/data/16062025/21/03/image_16062025_21_03_34_10234.jpg
/mnt/data/16062025/21/03/image_16062025_21_03_24_10132.jpg
/mnt/data/16062025/21/03/image_16062025_21_03_14_8940.jpg
/mnt/data/16062025/21/02/image_16062025_21_03_05_10281.jpg
/mnt/data/16062025/21/02/image_16062025_21_02_54_10231.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.257888078689575 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:05:02.435473
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/04/image_16062025_21_04_44_10008.jpg', 2), ('/mnt/data/16062025/21/04/image_16062025_21_04_34_10006.jpg', 2), ('/mnt/data/16062025/21/04/image_16062025_21_04_24_9986.jpg', 2), ('/mnt/data/16062025/21/04/image_16062025_21_04_14_10003.jpg', 2), ('/mnt/data/16062025/21/03/image_16062025_21_04_04_10293.jpg', 2), ('/mnt/data/16062025/21/03/image_16062025_21_03_54_10105.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/04/image_16062025_21_04_44_10008.jpg', '/mnt/data/16062025/21/04/image_16062025_21_04_34_10006.jpg', '/mnt/data/16062025/21/04/image_16062025_21_04_24_9986.jpg', '/mnt/data/16062025/21/04/image_16062025_21_04_14_10003.jpg', '/mnt/data/16062025/21/03/image_16062025_21_04_04_10293.jpg', '/mnt/data/16062025/21/03/image_16062025_21_03_54_10105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/04/image_16062025_21_04_44_10008.jpg
/mnt/data/16062025/21/04/image_16062025_21_04_34_10006.jpg
/mnt/data/16062025/21/04/image_16062025_21_04_24_9986.jpg
/mnt/data/16062025/21/04/image_16062025_21_04_14_10003.jpg
/mnt/data/16062025/21/03/image_16062025_21_04_04_10293.jpg
/mnt/data/16062025/21/03/image_16062025_21_03_54_10105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.52493691444397 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:06:02.646342
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/04/image_16062025_21_04_55_10121.jpg', 2), ('/mnt/data/16062025/21/04/image_16062025_21_04_44_10008.jpg', 2), ('/mnt/data/16062025/21/04/image_16062025_21_04_34_10006.jpg', 2), ('/mnt/data/16062025/21/04/image_16062025_21_04_24_9986.jpg', 2), ('/mnt/data/16062025/21/04/image_16062025_21_04_14_10003.jpg', 2), ('/mnt/data/16062025/21/03/image_16062025_21_04_04_10293.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/04/image_16062025_21_04_55_10121.jpg', '/mnt/data/16062025/21/04/image_16062025_21_04_44_10008.jpg', '/mnt/data/16062025/21/04/image_16062025_21_04_34_10006.jpg', '/mnt/data/16062025/21/04/image_16062025_21_04_24_9986.jpg', '/mnt/data/16062025/21/04/image_16062025_21_04_14_10003.jpg', '/mnt/data/16062025/21/03/image_16062025_21_04_04_10293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/04/image_16062025_21_04_55_10121.jpg
/mnt/data/16062025/21/04/image_16062025_21_04_44_10008.jpg
/mnt/data/16062025/21/04/image_16062025_21_04_34_10006.jpg
/mnt/data/16062025/21/04/image_16062025_21_04_24_9986.jpg
/mnt/data/16062025/21/04/image_16062025_21_04_14_10003.jpg
/mnt/data/16062025/21/03/image_16062025_21_04_04_10293.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.161964654922485 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:07:03.168449
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/06/image_16062025_21_06_44_9957.jpg', 2), ('/mnt/data/16062025/21/06/image_16062025_21_06_34_9966.jpg', 2), ('/mnt/data/16062025/21/06/image_16062025_21_06_24_10103.jpg', 2), ('/mnt/data/16062025/21/06/image_16062025_21_06_14_9993.jpg', 2), ('/mnt/data/16062025/21/05/image_16062025_21_06_04_9268.jpg', 2), ('/mnt/data/16062025/21/05/image_16062025_21_05_55_10154.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/06/image_16062025_21_06_44_9957.jpg', '/mnt/data/16062025/21/06/image_16062025_21_06_34_9966.jpg', '/mnt/data/16062025/21/06/image_16062025_21_06_24_10103.jpg', '/mnt/data/16062025/21/06/image_16062025_21_06_14_9993.jpg', '/mnt/data/16062025/21/05/image_16062025_21_06_04_9268.jpg', '/mnt/data/16062025/21/05/image_16062025_21_05_55_10154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/06/image_16062025_21_06_44_9957.jpg
/mnt/data/16062025/21/06/image_16062025_21_06_34_9966.jpg
/mnt/data/16062025/21/06/image_16062025_21_06_24_10103.jpg
/mnt/data/16062025/21/06/image_16062025_21_06_14_9993.jpg
/mnt/data/16062025/21/05/image_16062025_21_06_04_9268.jpg
/mnt/data/16062025/21/05/image_16062025_21_05_55_10154.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
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366595944","1366595897","1366595984","1366595960","1366595837","1366595816"],"photo_ids_order":["1366595816","1366595837","1366595897","1366595944","1366595960","1366595984"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b111590a136baa3cfa0f9a8eaf2086cf.jpg","text":"TemporaryFile(/tmp/multipartBody5788431796110613942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750100906822,"filename":"image_16062025_21_06_14_9993.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/e075e46b4293ad6835606542378745a5.jpg","text":"TemporaryFile(/tmp/multipartBody1443275410492775045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750100906822,"filename":"image_16062025_21_06_24_10103.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ed8e3708b71f52dfe644928236479f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8370033101782163882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750100906822,"filename":"image_16062025_21_05_55_10154.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/4fec3c6dd9588fbbebd5ed70fc4159d4.jpg","text":"TemporaryFile(/tmp/multipartBody2071059787734659840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750100906822,"filename":"image_16062025_21_06_04_9268.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/fc0f362726942f6f8bde7d7051ef87be.jpg","text":"TemporaryFile(/tmp/multipartBody975120630745536322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750100906822,"filename":"image_16062025_21_06_34_9966.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/8b3f7e834a16614e8cc0b22b7c36a838.jpg","text":"TemporaryFile(/tmp/multipartBody4859431441153467027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750100906822,"filename":"image_16062025_21_06_44_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366595897","file1":"1366595837","file0":"1366595816","file4":"1366595960","file5":"1366595984","file3":"1366595944"},"map_files_photo_id_array":[{"photo_id":"1366595984","filename":"file5"},{"photo_id":"1366595897","filename":"file2"},{"photo_id":"1366595960","filename":"file4"},{"photo_id":"1366595837","filename":"file1"},{"photo_id":"1366595816","filename":"file0"},{"photo_id":"1366595944","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366595944":["hashtag1","hashtag2"]},{"1366595897":["hashtag1","hashtag2"]},{"1366595984":["hashtag1","hashtag2"]},{"1366595960":["hashtag1","hashtag2"]},{"1366595837":["hashtag1","hashtag2"]},{"1366595816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366595944, 1366595897, 1366595984, 1366595960, 1366595837, 1366595816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.00638270378113 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:08:26.485286
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_25_10027.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_14_10000.jpg', 2), ('/mnt/data/16062025/21/07/image_16062025_21_08_04_10456.jpg', 2), ('/mnt/data/16062025/21/07/image_16062025_21_07_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_25_10027.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_14_10000.jpg', '/mnt/data/16062025/21/07/image_16062025_21_08_04_10456.jpg', '/mnt/data/16062025/21/07/image_16062025_21_07_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_25_10027.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_14_10000.jpg
/mnt/data/16062025/21/07/image_16062025_21_08_04_10456.jpg
/mnt/data/16062025/21/07/image_16062025_21_07_54_10005.jpg
uploaded 0 photos
time to upload: 30.209696769714355 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:09:03.357442
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_25_10027.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_14_10000.jpg', 2), ('/mnt/data/16062025/21/07/image_16062025_21_08_04_10456.jpg', 2), ('/mnt/data/16062025/21/07/image_16062025_21_07_54_10005.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_25_10027.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_14_10000.jpg', '/mnt/data/16062025/21/07/image_16062025_21_08_04_10456.jpg', '/mnt/data/16062025/21/07/image_16062025_21_07_54_10005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_25_10027.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_14_10000.jpg
/mnt/data/16062025/21/07/image_16062025_21_08_04_10456.jpg
/mnt/data/16062025/21/07/image_16062025_21_07_54_10005.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20281195640564 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:10:02.852824
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg', '/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg
/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.205763339996338 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:11:02.974076
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.55090045928955 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:12:02.970335
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.1617431640625 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:13:03.244241
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.25295662879944 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:14:03.334902
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2555034160614 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:15:02.604053
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.235774993896484 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:16:02.692906
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.186027765274048 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:17:03.275382
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.260432243347168 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:18:03.100663
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.226401567459106 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:19:03.602033
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.216233253479004 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:20:02.476188
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.226398229599 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:21:02.772780
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', 2), ('/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg', '/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/10/image_16062025_21_11_04_10256.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_54_10020.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_44_9979.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_34_10042.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_24_10127.jpg
/mnt/data/16062025/21/10/image_16062025_21_10_14_10164.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366596573","1366596564","1366596569","1366596577","1366596586","1366596580"],"photo_ids_order":["1366596564","1366596569","1366596573","1366596577","1366596580","1366596586"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/2e5cecddf2f52dabc5007be5e5011376.jpg","text":"TemporaryFile(/tmp/multipartBody3102809995026917358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750101752463,"filename":"image_16062025_21_10_44_9979.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/dd6cd3008036f41283d411860083371d.jpg","text":"TemporaryFile(/tmp/multipartBody8272116987841432233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750101752463,"filename":"image_16062025_21_11_04_10256.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/5bf136bf92ff8533d18f9aa5b4d68d72.jpg","text":"TemporaryFile(/tmp/multipartBody7056165796115812641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750101752463,"filename":"image_16062025_21_10_54_10020.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ab2bf6783b557689b76863247a932b04.jpg","text":"TemporaryFile(/tmp/multipartBody2838604642831705416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750101752463,"filename":"image_16062025_21_10_34_10042.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/6b015344d84562408513eeeda45a9e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5274406965161949775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750101752463,"filename":"image_16062025_21_10_14_10164.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/133bb62301fc55cd54455f914f0bfc4a.jpg","text":"TemporaryFile(/tmp/multipartBody1298192381179195444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750101752463,"filename":"image_16062025_21_10_24_10127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366596573","file1":"1366596569","file0":"1366596564","file4":"1366596580","file5":"1366596586","file3":"1366596577"},"map_files_photo_id_array":[{"photo_id":"1366596586","filename":"file5"},{"photo_id":"1366596573","filename":"file2"},{"photo_id":"1366596580","filename":"file4"},{"photo_id":"1366596569","filename":"file1"},{"photo_id":"1366596564","filename":"file0"},{"photo_id":"1366596577","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366596573":["hashtag1","hashtag2"]},{"1366596564":["hashtag1","hashtag2"]},{"1366596569":["hashtag1","hashtag2"]},{"1366596577":["hashtag1","hashtag2"]},{"1366596586":["hashtag1","hashtag2"]},{"1366596580":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366596573, 1366596564, 1366596569, 1366596577, 1366596586, 1366596580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.44214296340942 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:23:03.082377
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23209500312805 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:24:02.987514
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.837334871292114 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:25:02.746402
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23223638534546 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:26:03.127584
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20491337776184 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:27:03.347921
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.196626663208008 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:29:03.200473
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.1727237701416 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:30:03.298622
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.192451000213623 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:31:03.325542
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.580683708190918 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:32:03.363248
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.53315472602844 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:33:02.617617
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/32/image_16062025_21_32_15_10084.jpg', 2), ('/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/32/image_16062025_21_32_15_10084.jpg', '/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg', '/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/32/image_16062025_21_32_15_10084.jpg
/mnt/data/16062025/21/22/image_16062025_21_23_04_10310.jpg
/mnt/data/16062025/21/09/image_16062025_21_10_04_9208.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_54_10107.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_44_10247.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_34_10289.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366597083","1366597071","1366597067","1366597100","1366597078","1366597089"],"photo_ids_order":["1366597067","1366597071","1366597078","1366597083","1366597089","1366597100"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/14cb1038bddd70bebaa52d4ed5fce1f4.jpg","text":"TemporaryFile(/tmp/multipartBody7775183988432926222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750102469382,"filename":"image_16062025_21_09_54_10107.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b3aa9691d94f38c2fd7791622ae07598.jpg","text":"TemporaryFile(/tmp/multipartBody814828653170822856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750102469382,"filename":"image_16062025_21_23_04_10310.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/239ed28dae6652ec1296472f25eb36dd.jpg","text":"TemporaryFile(/tmp/multipartBody1610057982547877594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750102469382,"filename":"image_16062025_21_32_15_10084.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/56b5c6bc7bd7484b7b2e0c0c370ecf99.jpg","text":"TemporaryFile(/tmp/multipartBody2948382959706346277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750102469382,"filename":"image_16062025_21_09_34_10289.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b3e48868a3530fd76ff03348de652823.jpg","text":"TemporaryFile(/tmp/multipartBody9132020474101188498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750102469382,"filename":"image_16062025_21_10_04_9208.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/474873ed6bb45da2ecdc19075d996ca0.jpg","text":"TemporaryFile(/tmp/multipartBody967187668543590942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750102469382,"filename":"image_16062025_21_09_44_10247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366597078","file1":"1366597071","file0":"1366597067","file4":"1366597089","file5":"1366597100","file3":"1366597083"},"map_files_photo_id_array":[{"photo_id":"1366597100","filename":"file5"},{"photo_id":"1366597078","filename":"file2"},{"photo_id":"1366597089","filename":"file4"},{"photo_id":"1366597071","filename":"file1"},{"photo_id":"1366597067","filename":"file0"},{"photo_id":"1366597083","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366597083":["hashtag1","hashtag2"]},{"1366597071":["hashtag1","hashtag2"]},{"1366597067":["hashtag1","hashtag2"]},{"1366597100":["hashtag1","hashtag2"]},{"1366597078":["hashtag1","hashtag2"]},{"1366597089":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366597083, 1366597071, 1366597067, 1366597100, 1366597078, 1366597089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.1520402431488 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:35:02.730753
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg', '/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg
/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_44_10072.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_35_10098.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.236908674240112 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:36:02.891628
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/35/image_16062025_21_35_35_10027.jpg', 2), ('/mnt/data/16062025/21/11/image_16062025_21_11_14_10134.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', 2), ('/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg', 2), ('/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/35/image_16062025_21_35_35_10027.jpg', '/mnt/data/16062025/21/11/image_16062025_21_11_14_10134.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg', '/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg', '/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg', '/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/35/image_16062025_21_35_35_10027.jpg
/mnt/data/16062025/21/11/image_16062025_21_11_14_10134.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_24_8988.jpg
/mnt/data/16062025/21/09/image_16062025_21_09_15_10117.jpg
/mnt/data/16062025/21/08/image_16062025_21_09_05_10103.jpg
/mnt/data/16062025/21/08/image_16062025_21_08_55_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.932312965393066 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:37:02.744359
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/36/image_16062025_21_36_44_9934.jpg', 2), ('/mnt/data/16062025/21/36/image_16062025_21_36_34_9981.jpg', 2), ('/mnt/data/16062025/21/36/image_16062025_21_36_24_10011.jpg', 2), ('/mnt/data/16062025/21/36/image_16062025_21_36_14_9979.jpg', 2), ('/mnt/data/16062025/21/35/image_16062025_21_36_04_10281.jpg', 2), ('/mnt/data/16062025/21/35/image_16062025_21_35_54_10027.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/36/image_16062025_21_36_44_9934.jpg', '/mnt/data/16062025/21/36/image_16062025_21_36_34_9981.jpg', '/mnt/data/16062025/21/36/image_16062025_21_36_24_10011.jpg', '/mnt/data/16062025/21/36/image_16062025_21_36_14_9979.jpg', '/mnt/data/16062025/21/35/image_16062025_21_36_04_10281.jpg', '/mnt/data/16062025/21/35/image_16062025_21_35_54_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/36/image_16062025_21_36_44_9934.jpg
/mnt/data/16062025/21/36/image_16062025_21_36_34_9981.jpg
/mnt/data/16062025/21/36/image_16062025_21_36_24_10011.jpg
/mnt/data/16062025/21/36/image_16062025_21_36_14_9979.jpg
/mnt/data/16062025/21/35/image_16062025_21_36_04_10281.jpg
/mnt/data/16062025/21/35/image_16062025_21_35_54_10027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.010117053985596 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:38:02.797784
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/37/image_16062025_21_37_44_10056.jpg', 2), ('/mnt/data/16062025/21/37/image_16062025_21_37_34_10054.jpg', 2), ('/mnt/data/16062025/21/37/image_16062025_21_37_24_10079.jpg', 2), ('/mnt/data/16062025/21/37/image_16062025_21_37_14_10042.jpg', 2), ('/mnt/data/16062025/21/36/image_16062025_21_37_04_10282.jpg', 2), ('/mnt/data/16062025/21/36/image_16062025_21_36_54_9947.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/37/image_16062025_21_37_44_10056.jpg', '/mnt/data/16062025/21/37/image_16062025_21_37_34_10054.jpg', '/mnt/data/16062025/21/37/image_16062025_21_37_24_10079.jpg', '/mnt/data/16062025/21/37/image_16062025_21_37_14_10042.jpg', '/mnt/data/16062025/21/36/image_16062025_21_37_04_10282.jpg', '/mnt/data/16062025/21/36/image_16062025_21_36_54_9947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/37/image_16062025_21_37_44_10056.jpg
/mnt/data/16062025/21/37/image_16062025_21_37_34_10054.jpg
/mnt/data/16062025/21/37/image_16062025_21_37_24_10079.jpg
/mnt/data/16062025/21/37/image_16062025_21_37_14_10042.jpg
/mnt/data/16062025/21/36/image_16062025_21_37_04_10282.jpg
/mnt/data/16062025/21/36/image_16062025_21_36_54_9947.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.185485363006592 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:39:03.022867
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/38/image_16062025_21_38_44_10069.jpg', 2), ('/mnt/data/16062025/21/38/image_16062025_21_38_34_10128.jpg', 2), ('/mnt/data/16062025/21/38/image_16062025_21_38_24_10168.jpg', 2), ('/mnt/data/16062025/21/37/image_16062025_21_38_04_9437.jpg', 2), ('/mnt/data/16062025/21/37/image_16062025_21_37_54_10078.jpg', 2), ('/mnt/data/16062025/21/37/image_16062025_21_37_44_10056.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/38/image_16062025_21_38_44_10069.jpg', '/mnt/data/16062025/21/38/image_16062025_21_38_34_10128.jpg', '/mnt/data/16062025/21/38/image_16062025_21_38_24_10168.jpg', '/mnt/data/16062025/21/37/image_16062025_21_38_04_9437.jpg', '/mnt/data/16062025/21/37/image_16062025_21_37_54_10078.jpg', '/mnt/data/16062025/21/37/image_16062025_21_37_44_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/38/image_16062025_21_38_44_10069.jpg
/mnt/data/16062025/21/38/image_16062025_21_38_34_10128.jpg
/mnt/data/16062025/21/38/image_16062025_21_38_24_10168.jpg
/mnt/data/16062025/21/37/image_16062025_21_38_04_9437.jpg
/mnt/data/16062025/21/37/image_16062025_21_37_54_10078.jpg
/mnt/data/16062025/21/37/image_16062025_21_37_44_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.57895112037659 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:40:02.877542
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/39/image_16062025_21_39_44_10125.jpg', 2), ('/mnt/data/16062025/21/39/image_16062025_21_39_34_10071.jpg', 2), ('/mnt/data/16062025/21/39/image_16062025_21_39_24_10073.jpg', 2), ('/mnt/data/16062025/21/39/image_16062025_21_39_14_8885.jpg', 2), ('/mnt/data/16062025/21/38/image_16062025_21_39_05_10260.jpg', 2), ('/mnt/data/16062025/21/38/image_16062025_21_38_55_10077.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/39/image_16062025_21_39_44_10125.jpg', '/mnt/data/16062025/21/39/image_16062025_21_39_34_10071.jpg', '/mnt/data/16062025/21/39/image_16062025_21_39_24_10073.jpg', '/mnt/data/16062025/21/39/image_16062025_21_39_14_8885.jpg', '/mnt/data/16062025/21/38/image_16062025_21_39_05_10260.jpg', '/mnt/data/16062025/21/38/image_16062025_21_38_55_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/39/image_16062025_21_39_44_10125.jpg
/mnt/data/16062025/21/39/image_16062025_21_39_34_10071.jpg
/mnt/data/16062025/21/39/image_16062025_21_39_24_10073.jpg
/mnt/data/16062025/21/39/image_16062025_21_39_14_8885.jpg
/mnt/data/16062025/21/38/image_16062025_21_39_05_10260.jpg
/mnt/data/16062025/21/38/image_16062025_21_38_55_10077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.264129161834717 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:41:03.010472
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/40/image_16062025_21_40_45_11125.jpg', 2), ('/mnt/data/16062025/21/40/image_16062025_21_40_34_8831.jpg', 2), ('/mnt/data/16062025/21/40/image_16062025_21_40_25_10202.jpg', 2), ('/mnt/data/16062025/21/40/image_16062025_21_40_15_10170.jpg', 2), ('/mnt/data/16062025/21/39/image_16062025_21_40_04_10368.jpg', 2), ('/mnt/data/16062025/21/39/image_16062025_21_39_54_10092.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/40/image_16062025_21_40_45_11125.jpg', '/mnt/data/16062025/21/40/image_16062025_21_40_34_8831.jpg', '/mnt/data/16062025/21/40/image_16062025_21_40_25_10202.jpg', '/mnt/data/16062025/21/40/image_16062025_21_40_15_10170.jpg', '/mnt/data/16062025/21/39/image_16062025_21_40_04_10368.jpg', '/mnt/data/16062025/21/39/image_16062025_21_39_54_10092.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/40/image_16062025_21_40_45_11125.jpg
/mnt/data/16062025/21/40/image_16062025_21_40_34_8831.jpg
/mnt/data/16062025/21/40/image_16062025_21_40_25_10202.jpg
/mnt/data/16062025/21/40/image_16062025_21_40_15_10170.jpg
/mnt/data/16062025/21/39/image_16062025_21_40_04_10368.jpg
/mnt/data/16062025/21/39/image_16062025_21_39_54_10092.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.184497833251953 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:42:03.043035
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/41/image_16062025_21_41_45_9980.jpg', 2), ('/mnt/data/16062025/21/41/image_16062025_21_41_35_10014.jpg', 2), ('/mnt/data/16062025/21/41/image_16062025_21_41_25_11144.jpg', 2), ('/mnt/data/16062025/21/41/image_16062025_21_41_14_9945.jpg', 2), ('/mnt/data/16062025/21/40/image_16062025_21_41_04_8992.jpg', 2), ('/mnt/data/16062025/21/40/image_16062025_21_40_55_9955.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/41/image_16062025_21_41_45_9980.jpg', '/mnt/data/16062025/21/41/image_16062025_21_41_35_10014.jpg', '/mnt/data/16062025/21/41/image_16062025_21_41_25_11144.jpg', '/mnt/data/16062025/21/41/image_16062025_21_41_14_9945.jpg', '/mnt/data/16062025/21/40/image_16062025_21_41_04_8992.jpg', '/mnt/data/16062025/21/40/image_16062025_21_40_55_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/41/image_16062025_21_41_45_9980.jpg
/mnt/data/16062025/21/41/image_16062025_21_41_35_10014.jpg
/mnt/data/16062025/21/41/image_16062025_21_41_25_11144.jpg
/mnt/data/16062025/21/41/image_16062025_21_41_14_9945.jpg
/mnt/data/16062025/21/40/image_16062025_21_41_04_8992.jpg
/mnt/data/16062025/21/40/image_16062025_21_40_55_9955.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366597496","1366597499","1366597547","1366597463","1366597421","1366597486"],"photo_ids_order":["1366597421","1366597463","1366597486","1366597496","1366597499","1366597547"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/1dde0de56122378eae696083d7def0e1.jpg","text":"TemporaryFile(/tmp/multipartBody3332575390996169700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750103012514,"filename":"image_16062025_21_41_14_9945.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/bcc82423687dcca3dfecc682cbd2f501.jpg","text":"TemporaryFile(/tmp/multipartBody4663200802236859467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750103012514,"filename":"image_16062025_21_41_04_8992.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/dba45debb009044fd3dee43fab35d533.jpg","text":"TemporaryFile(/tmp/multipartBody3200180789343168284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750103012514,"filename":"image_16062025_21_40_55_9955.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/db323780f72bed970f2022e9347ae3c7.jpg","text":"TemporaryFile(/tmp/multipartBody8645958556716203713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750103012514,"filename":"image_16062025_21_41_35_10014.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/1b6763839141b57c8882c88970a7d547.jpg","text":"TemporaryFile(/tmp/multipartBody4476379156367045365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750103012514,"filename":"image_16062025_21_41_45_9980.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/db21d77ee921b981a05f31d7f9f61fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3730655958667200959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750103012514,"filename":"image_16062025_21_41_25_11144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366597486","file1":"1366597463","file0":"1366597421","file4":"1366597499","file5":"1366597547","file3":"1366597496"},"map_files_photo_id_array":[{"photo_id":"1366597547","filename":"file5"},{"photo_id":"1366597486","filename":"file2"},{"photo_id":"1366597499","filename":"file4"},{"photo_id":"1366597463","filename":"file1"},{"photo_id":"1366597421","filename":"file0"},{"photo_id":"1366597496","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366597496":["hashtag1","hashtag2"]},{"1366597499":["hashtag1","hashtag2"]},{"1366597547":["hashtag1","hashtag2"]},{"1366597463":["hashtag1","hashtag2"]},{"1366597421":["hashtag1","hashtag2"]},{"1366597486":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366597496, 1366597499, 1366597547, 1366597463, 1366597421, 1366597486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.76161098480225 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:44:03.289351
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/43/image_16062025_21_43_44_10099.jpg', 2), ('/mnt/data/16062025/21/43/image_16062025_21_43_34_10123.jpg', 2), ('/mnt/data/16062025/21/43/image_16062025_21_43_24_10126.jpg', 2), ('/mnt/data/16062025/21/43/image_16062025_21_43_14_10083.jpg', 2), ('/mnt/data/16062025/21/42/image_16062025_21_43_04_8946.jpg', 2), ('/mnt/data/16062025/21/42/image_16062025_21_42_55_10009.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/43/image_16062025_21_43_44_10099.jpg', '/mnt/data/16062025/21/43/image_16062025_21_43_34_10123.jpg', '/mnt/data/16062025/21/43/image_16062025_21_43_24_10126.jpg', '/mnt/data/16062025/21/43/image_16062025_21_43_14_10083.jpg', '/mnt/data/16062025/21/42/image_16062025_21_43_04_8946.jpg', '/mnt/data/16062025/21/42/image_16062025_21_42_55_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/43/image_16062025_21_43_44_10099.jpg
/mnt/data/16062025/21/43/image_16062025_21_43_34_10123.jpg
/mnt/data/16062025/21/43/image_16062025_21_43_24_10126.jpg
/mnt/data/16062025/21/43/image_16062025_21_43_14_10083.jpg
/mnt/data/16062025/21/42/image_16062025_21_43_04_8946.jpg
/mnt/data/16062025/21/42/image_16062025_21_42_55_10009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.27312660217285 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:45:02.632657
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/44/image_16062025_21_44_44_9999.jpg', 2), ('/mnt/data/16062025/21/44/image_16062025_21_44_34_10006.jpg', 2), ('/mnt/data/16062025/21/44/image_16062025_21_44_24_10144.jpg', 2), ('/mnt/data/16062025/21/44/image_16062025_21_44_14_8967.jpg', 2), ('/mnt/data/16062025/21/43/image_16062025_21_44_05_10544.jpg', 2), ('/mnt/data/16062025/21/43/image_16062025_21_43_54_10088.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/44/image_16062025_21_44_44_9999.jpg', '/mnt/data/16062025/21/44/image_16062025_21_44_34_10006.jpg', '/mnt/data/16062025/21/44/image_16062025_21_44_24_10144.jpg', '/mnt/data/16062025/21/44/image_16062025_21_44_14_8967.jpg', '/mnt/data/16062025/21/43/image_16062025_21_44_05_10544.jpg', '/mnt/data/16062025/21/43/image_16062025_21_43_54_10088.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/44/image_16062025_21_44_44_9999.jpg
/mnt/data/16062025/21/44/image_16062025_21_44_34_10006.jpg
/mnt/data/16062025/21/44/image_16062025_21_44_24_10144.jpg
/mnt/data/16062025/21/44/image_16062025_21_44_14_8967.jpg
/mnt/data/16062025/21/43/image_16062025_21_44_05_10544.jpg
/mnt/data/16062025/21/43/image_16062025_21_43_54_10088.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.33234667778015 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:46:02.876350
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/45/image_16062025_21_45_44_9998.jpg', 2), ('/mnt/data/16062025/21/45/image_16062025_21_45_34_9966.jpg', 2), ('/mnt/data/16062025/21/45/image_16062025_21_45_24_10066.jpg', 2), ('/mnt/data/16062025/21/45/image_16062025_21_45_14_10033.jpg', 2), ('/mnt/data/16062025/21/44/image_16062025_21_45_04_10044.jpg', 2), ('/mnt/data/16062025/21/44/image_16062025_21_44_54_9977.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/45/image_16062025_21_45_44_9998.jpg', '/mnt/data/16062025/21/45/image_16062025_21_45_34_9966.jpg', '/mnt/data/16062025/21/45/image_16062025_21_45_24_10066.jpg', '/mnt/data/16062025/21/45/image_16062025_21_45_14_10033.jpg', '/mnt/data/16062025/21/44/image_16062025_21_45_04_10044.jpg', '/mnt/data/16062025/21/44/image_16062025_21_44_54_9977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/45/image_16062025_21_45_44_9998.jpg
/mnt/data/16062025/21/45/image_16062025_21_45_34_9966.jpg
/mnt/data/16062025/21/45/image_16062025_21_45_24_10066.jpg
/mnt/data/16062025/21/45/image_16062025_21_45_14_10033.jpg
/mnt/data/16062025/21/44/image_16062025_21_45_04_10044.jpg
/mnt/data/16062025/21/44/image_16062025_21_44_54_9977.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.112685680389404 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:47:02.876168
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/46/image_16062025_21_46_44_10010.jpg', 2), ('/mnt/data/16062025/21/46/image_16062025_21_46_34_10035.jpg', 2), ('/mnt/data/16062025/21/46/image_16062025_21_46_24_10009.jpg', 2), ('/mnt/data/16062025/21/46/image_16062025_21_46_14_9991.jpg', 2), ('/mnt/data/16062025/21/45/image_16062025_21_46_04_10171.jpg', 2), ('/mnt/data/16062025/21/45/image_16062025_21_45_54_9972.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/46/image_16062025_21_46_44_10010.jpg', '/mnt/data/16062025/21/46/image_16062025_21_46_34_10035.jpg', '/mnt/data/16062025/21/46/image_16062025_21_46_24_10009.jpg', '/mnt/data/16062025/21/46/image_16062025_21_46_14_9991.jpg', '/mnt/data/16062025/21/45/image_16062025_21_46_04_10171.jpg', '/mnt/data/16062025/21/45/image_16062025_21_45_54_9972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/46/image_16062025_21_46_44_10010.jpg
/mnt/data/16062025/21/46/image_16062025_21_46_34_10035.jpg
/mnt/data/16062025/21/46/image_16062025_21_46_24_10009.jpg
/mnt/data/16062025/21/46/image_16062025_21_46_14_9991.jpg
/mnt/data/16062025/21/45/image_16062025_21_46_04_10171.jpg
/mnt/data/16062025/21/45/image_16062025_21_45_54_9972.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.048596143722534 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:48:02.851389
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/47/image_16062025_21_47_44_10166.jpg', 2), ('/mnt/data/16062025/21/47/image_16062025_21_47_34_8966.jpg', 2), ('/mnt/data/16062025/21/47/image_16062025_21_47_25_10104.jpg', 2), ('/mnt/data/16062025/21/47/image_16062025_21_47_15_10099.jpg', 2), ('/mnt/data/16062025/21/46/image_16062025_21_47_04_10303.jpg', 2), ('/mnt/data/16062025/21/46/image_16062025_21_46_54_9959.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/47/image_16062025_21_47_44_10166.jpg', '/mnt/data/16062025/21/47/image_16062025_21_47_34_8966.jpg', '/mnt/data/16062025/21/47/image_16062025_21_47_25_10104.jpg', '/mnt/data/16062025/21/47/image_16062025_21_47_15_10099.jpg', '/mnt/data/16062025/21/46/image_16062025_21_47_04_10303.jpg', '/mnt/data/16062025/21/46/image_16062025_21_46_54_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/47/image_16062025_21_47_44_10166.jpg
/mnt/data/16062025/21/47/image_16062025_21_47_34_8966.jpg
/mnt/data/16062025/21/47/image_16062025_21_47_25_10104.jpg
/mnt/data/16062025/21/47/image_16062025_21_47_15_10099.jpg
/mnt/data/16062025/21/46/image_16062025_21_47_04_10303.jpg
/mnt/data/16062025/21/46/image_16062025_21_46_54_9959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.22179341316223 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:49:02.749503
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/48/image_16062025_21_48_44_8919.jpg', 2), ('/mnt/data/16062025/21/48/image_16062025_21_48_35_10110.jpg', 2), ('/mnt/data/16062025/21/48/image_16062025_21_48_25_10083.jpg', 2), ('/mnt/data/16062025/21/48/image_16062025_21_48_15_10142.jpg', 2), ('/mnt/data/16062025/21/47/image_16062025_21_48_04_10538.jpg', 2), ('/mnt/data/16062025/21/47/image_16062025_21_47_54_10102.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/48/image_16062025_21_48_44_8919.jpg', '/mnt/data/16062025/21/48/image_16062025_21_48_35_10110.jpg', '/mnt/data/16062025/21/48/image_16062025_21_48_25_10083.jpg', '/mnt/data/16062025/21/48/image_16062025_21_48_15_10142.jpg', '/mnt/data/16062025/21/47/image_16062025_21_48_04_10538.jpg', '/mnt/data/16062025/21/47/image_16062025_21_47_54_10102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/48/image_16062025_21_48_44_8919.jpg
/mnt/data/16062025/21/48/image_16062025_21_48_35_10110.jpg
/mnt/data/16062025/21/48/image_16062025_21_48_25_10083.jpg
/mnt/data/16062025/21/48/image_16062025_21_48_15_10142.jpg
/mnt/data/16062025/21/47/image_16062025_21_48_04_10538.jpg
/mnt/data/16062025/21/47/image_16062025_21_47_54_10102.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.19746422767639 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:50:02.571634
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/49/image_16062025_21_49_44_9969.jpg', 2), ('/mnt/data/16062025/21/49/image_16062025_21_49_34_9935.jpg', 2), ('/mnt/data/16062025/21/49/image_16062025_21_49_24_9944.jpg', 2), ('/mnt/data/16062025/21/49/image_16062025_21_49_14_9974.jpg', 2), ('/mnt/data/16062025/21/48/image_16062025_21_49_04_10117.jpg', 2), ('/mnt/data/16062025/21/48/image_16062025_21_48_54_10156.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/49/image_16062025_21_49_44_9969.jpg', '/mnt/data/16062025/21/49/image_16062025_21_49_34_9935.jpg', '/mnt/data/16062025/21/49/image_16062025_21_49_24_9944.jpg', '/mnt/data/16062025/21/49/image_16062025_21_49_14_9974.jpg', '/mnt/data/16062025/21/48/image_16062025_21_49_04_10117.jpg', '/mnt/data/16062025/21/48/image_16062025_21_48_54_10156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/49/image_16062025_21_49_44_9969.jpg
/mnt/data/16062025/21/49/image_16062025_21_49_34_9935.jpg
/mnt/data/16062025/21/49/image_16062025_21_49_24_9944.jpg
/mnt/data/16062025/21/49/image_16062025_21_49_14_9974.jpg
/mnt/data/16062025/21/48/image_16062025_21_49_04_10117.jpg
/mnt/data/16062025/21/48/image_16062025_21_48_54_10156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.302107334136963 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:51:03.096962
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/50/image_16062025_21_50_44_9970.jpg', 2), ('/mnt/data/16062025/21/50/image_16062025_21_50_34_10065.jpg', 2), ('/mnt/data/16062025/21/50/image_16062025_21_50_24_9979.jpg', 2), ('/mnt/data/16062025/21/50/image_16062025_21_50_14_9975.jpg', 2), ('/mnt/data/16062025/21/49/image_16062025_21_50_04_10302.jpg', 2), ('/mnt/data/16062025/21/49/image_16062025_21_49_54_9955.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/50/image_16062025_21_50_44_9970.jpg', '/mnt/data/16062025/21/50/image_16062025_21_50_34_10065.jpg', '/mnt/data/16062025/21/50/image_16062025_21_50_24_9979.jpg', '/mnt/data/16062025/21/50/image_16062025_21_50_14_9975.jpg', '/mnt/data/16062025/21/49/image_16062025_21_50_04_10302.jpg', '/mnt/data/16062025/21/49/image_16062025_21_49_54_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/50/image_16062025_21_50_44_9970.jpg
/mnt/data/16062025/21/50/image_16062025_21_50_34_10065.jpg
/mnt/data/16062025/21/50/image_16062025_21_50_24_9979.jpg
/mnt/data/16062025/21/50/image_16062025_21_50_14_9975.jpg
/mnt/data/16062025/21/49/image_16062025_21_50_04_10302.jpg
/mnt/data/16062025/21/49/image_16062025_21_49_54_9955.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! 
uploaded 0 photos
time to upload: 145.8407871723175 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:54:03.213441
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/53/image_16062025_21_53_44_8941.jpg', 2), ('/mnt/data/16062025/21/53/image_16062025_21_53_35_10153.jpg', 2), ('/mnt/data/16062025/21/53/image_16062025_21_53_25_10116.jpg', 2), ('/mnt/data/16062025/21/53/image_16062025_21_53_15_10269.jpg', 2), ('/mnt/data/16062025/21/52/image_16062025_21_53_04_10219.jpg', 2), ('/mnt/data/16062025/21/52/image_16062025_21_52_54_10139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/53/image_16062025_21_53_44_8941.jpg', '/mnt/data/16062025/21/53/image_16062025_21_53_35_10153.jpg', '/mnt/data/16062025/21/53/image_16062025_21_53_25_10116.jpg', '/mnt/data/16062025/21/53/image_16062025_21_53_15_10269.jpg', '/mnt/data/16062025/21/52/image_16062025_21_53_04_10219.jpg', '/mnt/data/16062025/21/52/image_16062025_21_52_54_10139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/53/image_16062025_21_53_44_8941.jpg
/mnt/data/16062025/21/53/image_16062025_21_53_35_10153.jpg
/mnt/data/16062025/21/53/image_16062025_21_53_25_10116.jpg
/mnt/data/16062025/21/53/image_16062025_21_53_15_10269.jpg
/mnt/data/16062025/21/52/image_16062025_21_53_04_10219.jpg
/mnt/data/16062025/21/52/image_16062025_21_52_54_10139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.238374710083008 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 21:59:03.135535
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg', 2), ('/mnt/data/16062025/21/58/image_16062025_21_58_44_10140.jpg', 2), ('/mnt/data/16062025/21/58/image_16062025_21_58_34_10128.jpg', 2), ('/mnt/data/16062025/21/58/image_16062025_21_58_24_10107.jpg', 2), ('/mnt/data/16062025/21/58/image_16062025_21_58_14_10274.jpg', 2), ('/mnt/data/16062025/21/57/image_16062025_21_58_04_9935.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg', '/mnt/data/16062025/21/58/image_16062025_21_58_44_10140.jpg', '/mnt/data/16062025/21/58/image_16062025_21_58_34_10128.jpg', '/mnt/data/16062025/21/58/image_16062025_21_58_24_10107.jpg', '/mnt/data/16062025/21/58/image_16062025_21_58_14_10274.jpg', '/mnt/data/16062025/21/57/image_16062025_21_58_04_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg
/mnt/data/16062025/21/58/image_16062025_21_58_44_10140.jpg
/mnt/data/16062025/21/58/image_16062025_21_58_34_10128.jpg
/mnt/data/16062025/21/58/image_16062025_21_58_24_10107.jpg
/mnt/data/16062025/21/58/image_16062025_21_58_14_10274.jpg
/mnt/data/16062025/21/57/image_16062025_21_58_04_9935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2000572681427 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:00:02.840367
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_34_10201.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_24_10118.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_14_10127.jpg', 2), ('/mnt/data/16062025/21/58/image_16062025_21_59_04_9031.jpg', 2), ('/mnt/data/16062025/21/58/image_16062025_21_58_55_10237.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_34_10201.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_24_10118.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_14_10127.jpg', '/mnt/data/16062025/21/58/image_16062025_21_59_04_9031.jpg', '/mnt/data/16062025/21/58/image_16062025_21_58_55_10237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_34_10201.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_24_10118.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_14_10127.jpg
/mnt/data/16062025/21/58/image_16062025_21_59_04_9031.jpg
/mnt/data/16062025/21/58/image_16062025_21_58_55_10237.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.39948844909668 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:01:03.443002
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg', '/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg
/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.18541431427002 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:02:03.233620
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/01/image_16062025_22_01_14_10156.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_01_04_10081.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_54_9961.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/01/image_16062025_22_01_14_10156.jpg', '/mnt/data/16062025/22/00/image_16062025_22_01_04_10081.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_54_9961.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/01/image_16062025_22_01_14_10156.jpg
/mnt/data/16062025/22/00/image_16062025_22_01_04_10081.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_54_9961.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.46651601791382 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:03:02.562962
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/01/image_16062025_22_01_54_10183.jpg', 2), ('/mnt/data/16062025/22/01/image_16062025_22_01_14_10156.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_01_04_10081.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_54_9961.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/01/image_16062025_22_01_54_10183.jpg', '/mnt/data/16062025/22/01/image_16062025_22_01_14_10156.jpg', '/mnt/data/16062025/22/00/image_16062025_22_01_04_10081.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_54_9961.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/01/image_16062025_22_01_54_10183.jpg
/mnt/data/16062025/22/01/image_16062025_22_01_14_10156.jpg
/mnt/data/16062025/22/00/image_16062025_22_01_04_10081.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_54_9961.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_44_9974.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_34_10097.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366598511","1366598537","1366598575","1366598542","1366598562","1366598487"],"photo_ids_order":["1366598487","1366598511","1366598537","1366598542","1366598562","1366598575"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/3ddcfac207ec5716f2a56f8cefde4327.jpg","text":"TemporaryFile(/tmp/multipartBody8851897226960506069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750104265667,"filename":"image_16062025_22_01_14_10156.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/6d6936e8e363cea751d528256e082c7f.jpg","text":"TemporaryFile(/tmp/multipartBody8389507840053454281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750104265667,"filename":"image_16062025_22_01_04_10081.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/33cd6eb494aa3087c0a0eeb6ef210816.jpg","text":"TemporaryFile(/tmp/multipartBody6790238040818537123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750104265667,"filename":"image_16062025_22_00_34_10097.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/7f71212112c704f72489b9fbffa104c6.jpg","text":"TemporaryFile(/tmp/multipartBody8486121723260932561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750104265667,"filename":"image_16062025_22_00_54_9961.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/68a0cd0052b22a88ba7098b4a7002af8.jpg","text":"TemporaryFile(/tmp/multipartBody4766719085758082399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750104265667,"filename":"image_16062025_22_00_44_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/05f4ba637d698626d8fc023ec557334b.jpg","text":"TemporaryFile(/tmp/multipartBody6975687224305771798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750104265667,"filename":"image_16062025_22_01_54_10183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366598537","file1":"1366598511","file0":"1366598487","file4":"1366598562","file5":"1366598575","file3":"1366598542"},"map_files_photo_id_array":[{"photo_id":"1366598575","filename":"file5"},{"photo_id":"1366598537","filename":"file2"},{"photo_id":"1366598562","filename":"file4"},{"photo_id":"1366598511","filename":"file1"},{"photo_id":"1366598487","filename":"file0"},{"photo_id":"1366598542","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366598511":["hashtag1","hashtag2"]},{"1366598537":["hashtag1","hashtag2"]},{"1366598575":["hashtag1","hashtag2"]},{"1366598542":["hashtag1","hashtag2"]},{"1366598562":["hashtag1","hashtag2"]},{"1366598487":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366598511, 1366598537, 1366598575, 1366598542, 1366598562, 1366598487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.01254177093506 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:05:02.682477
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_34_10201.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_24_10118.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg', '/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_34_10201.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_24_10118.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg
/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_44_10186.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_34_10201.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_24_10118.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.054985761642456 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:06:02.771544
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg', 2), ('/mnt/data/16062025/22/05/image_16062025_22_05_14_10151.jpg', 2), ('/mnt/data/16062025/22/02/image_16062025_22_02_25_10124.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg', 2), ('/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg', '/mnt/data/16062025/22/05/image_16062025_22_05_14_10151.jpg', '/mnt/data/16062025/22/02/image_16062025_22_02_25_10124.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg', '/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg', '/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg
/mnt/data/16062025/22/05/image_16062025_22_05_14_10151.jpg
/mnt/data/16062025/22/02/image_16062025_22_02_25_10124.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg
/mnt/data/16062025/21/59/image_16062025_22_00_05_10318.jpg
/mnt/data/16062025/21/59/image_16062025_21_59_54_10105.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.27572751045227 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:07:03.284153
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/06/image_16062025_22_06_14_10131.jpg', 2), ('/mnt/data/16062025/22/05/image_16062025_22_05_55_10148.jpg', 2), ('/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg', 2), ('/mnt/data/16062025/22/05/image_16062025_22_05_14_10151.jpg', 2), ('/mnt/data/16062025/22/02/image_16062025_22_02_25_10124.jpg', 2), ('/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/06/image_16062025_22_06_14_10131.jpg', '/mnt/data/16062025/22/05/image_16062025_22_05_55_10148.jpg', '/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg', '/mnt/data/16062025/22/05/image_16062025_22_05_14_10151.jpg', '/mnt/data/16062025/22/02/image_16062025_22_02_25_10124.jpg', '/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/06/image_16062025_22_06_14_10131.jpg
/mnt/data/16062025/22/05/image_16062025_22_05_55_10148.jpg
/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg
/mnt/data/16062025/22/05/image_16062025_22_05_14_10151.jpg
/mnt/data/16062025/22/02/image_16062025_22_02_25_10124.jpg
/mnt/data/16062025/22/00/image_16062025_22_00_24_10197.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.388533115386963 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:08:02.928687
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg', 2), ('/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg', 2), ('/mnt/data/16062025/22/06/image_16062025_22_06_24_10312.jpg', 2), ('/mnt/data/16062025/22/06/image_16062025_22_06_14_10131.jpg', 2), ('/mnt/data/16062025/22/05/image_16062025_22_05_55_10148.jpg', 2), ('/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg', '/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg', '/mnt/data/16062025/22/06/image_16062025_22_06_24_10312.jpg', '/mnt/data/16062025/22/06/image_16062025_22_06_14_10131.jpg', '/mnt/data/16062025/22/05/image_16062025_22_05_55_10148.jpg', '/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg
/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg
/mnt/data/16062025/22/06/image_16062025_22_06_24_10312.jpg
/mnt/data/16062025/22/06/image_16062025_22_06_14_10131.jpg
/mnt/data/16062025/22/05/image_16062025_22_05_55_10148.jpg
/mnt/data/16062025/22/05/image_16062025_22_05_24_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.646783113479614 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:09:03.305138
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg', 2), ('/mnt/data/16062025/22/08/image_16062025_22_08_34_10205.jpg', 2), ('/mnt/data/16062025/22/08/image_16062025_22_08_15_10201.jpg', 2), ('/mnt/data/16062025/22/07/image_16062025_22_07_54_10148.jpg', 2), ('/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg', 2), ('/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg', '/mnt/data/16062025/22/08/image_16062025_22_08_34_10205.jpg', '/mnt/data/16062025/22/08/image_16062025_22_08_15_10201.jpg', '/mnt/data/16062025/22/07/image_16062025_22_07_54_10148.jpg', '/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg', '/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg
/mnt/data/16062025/22/08/image_16062025_22_08_34_10205.jpg
/mnt/data/16062025/22/08/image_16062025_22_08_15_10201.jpg
/mnt/data/16062025/22/07/image_16062025_22_07_54_10148.jpg
/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg
/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.288856506347656 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:10:02.520448
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg', 2), ('/mnt/data/16062025/22/08/image_16062025_22_08_34_10205.jpg', 2), ('/mnt/data/16062025/22/08/image_16062025_22_08_15_10201.jpg', 2), ('/mnt/data/16062025/22/07/image_16062025_22_07_54_10148.jpg', 2), ('/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg', 2), ('/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg', '/mnt/data/16062025/22/08/image_16062025_22_08_34_10205.jpg', '/mnt/data/16062025/22/08/image_16062025_22_08_15_10201.jpg', '/mnt/data/16062025/22/07/image_16062025_22_07_54_10148.jpg', '/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg', '/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg
/mnt/data/16062025/22/08/image_16062025_22_08_34_10205.jpg
/mnt/data/16062025/22/08/image_16062025_22_08_15_10201.jpg
/mnt/data/16062025/22/07/image_16062025_22_07_54_10148.jpg
/mnt/data/16062025/22/07/image_16062025_22_07_44_9936.jpg
/mnt/data/16062025/22/07/image_16062025_22_07_24_10128.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.33912420272827 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:11:02.788316
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/09/image_16062025_22_10_04_10246.jpg', 2), ('/mnt/data/16062025/22/09/image_16062025_22_09_34_10199.jpg', 2), ('/mnt/data/16062025/22/09/image_16062025_22_09_24_8931.jpg', 2), ('/mnt/data/16062025/22/09/image_16062025_22_09_15_10077.jpg', 2), ('/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg', 2), ('/mnt/data/16062025/22/08/image_16062025_22_08_44_10188.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/09/image_16062025_22_10_04_10246.jpg', '/mnt/data/16062025/22/09/image_16062025_22_09_34_10199.jpg', '/mnt/data/16062025/22/09/image_16062025_22_09_24_8931.jpg', '/mnt/data/16062025/22/09/image_16062025_22_09_15_10077.jpg', '/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg', '/mnt/data/16062025/22/08/image_16062025_22_08_44_10188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/09/image_16062025_22_10_04_10246.jpg
/mnt/data/16062025/22/09/image_16062025_22_09_34_10199.jpg
/mnt/data/16062025/22/09/image_16062025_22_09_24_8931.jpg
/mnt/data/16062025/22/09/image_16062025_22_09_15_10077.jpg
/mnt/data/16062025/22/08/image_16062025_22_08_55_10147.jpg
/mnt/data/16062025/22/08/image_16062025_22_08_44_10188.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.19952630996704 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:12:02.767508
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/11/image_16062025_22_11_44_9979.jpg', 2), ('/mnt/data/16062025/22/11/image_16062025_22_11_34_9984.jpg', 2), ('/mnt/data/16062025/22/11/image_16062025_22_11_24_9991.jpg', 2), ('/mnt/data/16062025/22/11/image_16062025_22_11_14_9984.jpg', 2), ('/mnt/data/16062025/22/10/image_16062025_22_11_04_9079.jpg', 2), ('/mnt/data/16062025/22/10/image_16062025_22_10_25_10059.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/11/image_16062025_22_11_44_9979.jpg', '/mnt/data/16062025/22/11/image_16062025_22_11_34_9984.jpg', '/mnt/data/16062025/22/11/image_16062025_22_11_24_9991.jpg', '/mnt/data/16062025/22/11/image_16062025_22_11_14_9984.jpg', '/mnt/data/16062025/22/10/image_16062025_22_11_04_9079.jpg', '/mnt/data/16062025/22/10/image_16062025_22_10_25_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/11/image_16062025_22_11_44_9979.jpg
/mnt/data/16062025/22/11/image_16062025_22_11_34_9984.jpg
/mnt/data/16062025/22/11/image_16062025_22_11_24_9991.jpg
/mnt/data/16062025/22/11/image_16062025_22_11_14_9984.jpg
/mnt/data/16062025/22/10/image_16062025_22_11_04_9079.jpg
/mnt/data/16062025/22/10/image_16062025_22_10_25_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.1884024143219 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:13:03.070375
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/12/image_16062025_22_12_35_10128.jpg', 2), ('/mnt/data/16062025/22/12/image_16062025_22_12_24_10227.jpg', 2), ('/mnt/data/16062025/22/12/image_16062025_22_12_14_10122.jpg', 2), ('/mnt/data/16062025/22/11/image_16062025_22_12_04_10293.jpg', 2), ('/mnt/data/16062025/22/11/image_16062025_22_11_54_9959.jpg', 2), ('/mnt/data/16062025/22/11/image_16062025_22_11_44_9979.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/12/image_16062025_22_12_35_10128.jpg', '/mnt/data/16062025/22/12/image_16062025_22_12_24_10227.jpg', '/mnt/data/16062025/22/12/image_16062025_22_12_14_10122.jpg', '/mnt/data/16062025/22/11/image_16062025_22_12_04_10293.jpg', '/mnt/data/16062025/22/11/image_16062025_22_11_54_9959.jpg', '/mnt/data/16062025/22/11/image_16062025_22_11_44_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/12/image_16062025_22_12_35_10128.jpg
/mnt/data/16062025/22/12/image_16062025_22_12_24_10227.jpg
/mnt/data/16062025/22/12/image_16062025_22_12_14_10122.jpg
/mnt/data/16062025/22/11/image_16062025_22_12_04_10293.jpg
/mnt/data/16062025/22/11/image_16062025_22_11_54_9959.jpg
/mnt/data/16062025/22/11/image_16062025_22_11_44_9979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.214060068130493 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:14:02.696996
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/13/image_16062025_22_13_45_10101.jpg', 2), ('/mnt/data/16062025/22/13/image_16062025_22_13_35_10292.jpg', 2), ('/mnt/data/16062025/22/13/image_16062025_22_13_24_10126.jpg', 2), ('/mnt/data/16062025/22/13/image_16062025_22_13_14_10170.jpg', 2), ('/mnt/data/16062025/22/12/image_16062025_22_13_04_10333.jpg', 2), ('/mnt/data/16062025/22/12/image_16062025_22_12_45_10197.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/13/image_16062025_22_13_45_10101.jpg', '/mnt/data/16062025/22/13/image_16062025_22_13_35_10292.jpg', '/mnt/data/16062025/22/13/image_16062025_22_13_24_10126.jpg', '/mnt/data/16062025/22/13/image_16062025_22_13_14_10170.jpg', '/mnt/data/16062025/22/12/image_16062025_22_13_04_10333.jpg', '/mnt/data/16062025/22/12/image_16062025_22_12_45_10197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/13/image_16062025_22_13_45_10101.jpg
/mnt/data/16062025/22/13/image_16062025_22_13_35_10292.jpg
/mnt/data/16062025/22/13/image_16062025_22_13_24_10126.jpg
/mnt/data/16062025/22/13/image_16062025_22_13_14_10170.jpg
/mnt/data/16062025/22/12/image_16062025_22_13_04_10333.jpg
/mnt/data/16062025/22/12/image_16062025_22_12_45_10197.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.30250597000122 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:15:03.277328
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg', 2), ('/mnt/data/16062025/22/14/image_16062025_22_14_35_10250.jpg', 2), ('/mnt/data/16062025/22/14/image_16062025_22_14_25_10054.jpg', 2), ('/mnt/data/16062025/22/14/image_16062025_22_14_15_10193.jpg', 2), ('/mnt/data/16062025/22/13/image_16062025_22_14_04_10684.jpg', 2), ('/mnt/data/16062025/22/13/image_16062025_22_13_54_8854.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg', '/mnt/data/16062025/22/14/image_16062025_22_14_35_10250.jpg', '/mnt/data/16062025/22/14/image_16062025_22_14_25_10054.jpg', '/mnt/data/16062025/22/14/image_16062025_22_14_15_10193.jpg', '/mnt/data/16062025/22/13/image_16062025_22_14_04_10684.jpg', '/mnt/data/16062025/22/13/image_16062025_22_13_54_8854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg
/mnt/data/16062025/22/14/image_16062025_22_14_35_10250.jpg
/mnt/data/16062025/22/14/image_16062025_22_14_25_10054.jpg
/mnt/data/16062025/22/14/image_16062025_22_14_15_10193.jpg
/mnt/data/16062025/22/13/image_16062025_22_14_04_10684.jpg
/mnt/data/16062025/22/13/image_16062025_22_13_54_8854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19750738143921 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:16:03.269158
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg', 2), ('/mnt/data/16062025/22/14/image_16062025_22_14_35_10250.jpg', 2), ('/mnt/data/16062025/22/14/image_16062025_22_14_25_10054.jpg', 2), ('/mnt/data/16062025/22/14/image_16062025_22_14_15_10193.jpg', 2), ('/mnt/data/16062025/22/13/image_16062025_22_14_04_10684.jpg', 2), ('/mnt/data/16062025/22/13/image_16062025_22_13_54_8854.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg', '/mnt/data/16062025/22/14/image_16062025_22_14_35_10250.jpg', '/mnt/data/16062025/22/14/image_16062025_22_14_25_10054.jpg', '/mnt/data/16062025/22/14/image_16062025_22_14_15_10193.jpg', '/mnt/data/16062025/22/13/image_16062025_22_14_04_10684.jpg', '/mnt/data/16062025/22/13/image_16062025_22_13_54_8854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg
/mnt/data/16062025/22/14/image_16062025_22_14_35_10250.jpg
/mnt/data/16062025/22/14/image_16062025_22_14_25_10054.jpg
/mnt/data/16062025/22/14/image_16062025_22_14_15_10193.jpg
/mnt/data/16062025/22/13/image_16062025_22_14_04_10684.jpg
/mnt/data/16062025/22/13/image_16062025_22_13_54_8854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.246183395385742 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:17:02.626991
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/16/image_16062025_22_16_45_10347.jpg', 2), ('/mnt/data/16062025/22/16/image_16062025_22_16_35_9934.jpg', 2), ('/mnt/data/16062025/22/16/image_16062025_22_16_25_10387.jpg', 2), ('/mnt/data/16062025/22/16/image_16062025_22_16_15_10278.jpg', 2), ('/mnt/data/16062025/22/14/image_16062025_22_14_54_10095.jpg', 2), ('/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/16/image_16062025_22_16_45_10347.jpg', '/mnt/data/16062025/22/16/image_16062025_22_16_35_9934.jpg', '/mnt/data/16062025/22/16/image_16062025_22_16_25_10387.jpg', '/mnt/data/16062025/22/16/image_16062025_22_16_15_10278.jpg', '/mnt/data/16062025/22/14/image_16062025_22_14_54_10095.jpg', '/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/16/image_16062025_22_16_45_10347.jpg
/mnt/data/16062025/22/16/image_16062025_22_16_35_9934.jpg
/mnt/data/16062025/22/16/image_16062025_22_16_25_10387.jpg
/mnt/data/16062025/22/16/image_16062025_22_16_15_10278.jpg
/mnt/data/16062025/22/14/image_16062025_22_14_54_10095.jpg
/mnt/data/16062025/22/14/image_16062025_22_14_44_8980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.202110767364502 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:18:02.425748
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/17/image_16062025_22_17_44_8896.jpg', 2), ('/mnt/data/16062025/22/17/image_16062025_22_17_35_10228.jpg', 2), ('/mnt/data/16062025/22/17/image_16062025_22_17_25_10168.jpg', 2), ('/mnt/data/16062025/22/17/image_16062025_22_17_15_10291.jpg', 2), ('/mnt/data/16062025/22/16/image_16062025_22_17_05_9310.jpg', 2), ('/mnt/data/16062025/22/16/image_16062025_22_16_55_10167.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/17/image_16062025_22_17_44_8896.jpg', '/mnt/data/16062025/22/17/image_16062025_22_17_35_10228.jpg', '/mnt/data/16062025/22/17/image_16062025_22_17_25_10168.jpg', '/mnt/data/16062025/22/17/image_16062025_22_17_15_10291.jpg', '/mnt/data/16062025/22/16/image_16062025_22_17_05_9310.jpg', '/mnt/data/16062025/22/16/image_16062025_22_16_55_10167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/17/image_16062025_22_17_44_8896.jpg
/mnt/data/16062025/22/17/image_16062025_22_17_35_10228.jpg
/mnt/data/16062025/22/17/image_16062025_22_17_25_10168.jpg
/mnt/data/16062025/22/17/image_16062025_22_17_15_10291.jpg
/mnt/data/16062025/22/16/image_16062025_22_17_05_9310.jpg
/mnt/data/16062025/22/16/image_16062025_22_16_55_10167.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23444366455078 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:19:03.431655
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/18/image_16062025_22_18_44_10044.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_18_34_10026.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_18_24_8935.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_18_15_10283.jpg', 2), ('/mnt/data/16062025/22/17/image_16062025_22_18_05_10512.jpg', 2), ('/mnt/data/16062025/22/17/image_16062025_22_17_55_10269.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/18/image_16062025_22_18_44_10044.jpg', '/mnt/data/16062025/22/18/image_16062025_22_18_34_10026.jpg', '/mnt/data/16062025/22/18/image_16062025_22_18_24_8935.jpg', '/mnt/data/16062025/22/18/image_16062025_22_18_15_10283.jpg', '/mnt/data/16062025/22/17/image_16062025_22_18_05_10512.jpg', '/mnt/data/16062025/22/17/image_16062025_22_17_55_10269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/18/image_16062025_22_18_44_10044.jpg
/mnt/data/16062025/22/18/image_16062025_22_18_34_10026.jpg
/mnt/data/16062025/22/18/image_16062025_22_18_24_8935.jpg
/mnt/data/16062025/22/18/image_16062025_22_18_15_10283.jpg
/mnt/data/16062025/22/17/image_16062025_22_18_05_10512.jpg
/mnt/data/16062025/22/17/image_16062025_22_17_55_10269.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.18757939338684 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:20:02.908110
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/19/image_16062025_22_19_15_10052.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_19_04_10083.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_18_54_10079.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_18_44_10044.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_18_34_10026.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_18_24_8935.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/19/image_16062025_22_19_15_10052.jpg', '/mnt/data/16062025/22/18/image_16062025_22_19_04_10083.jpg', '/mnt/data/16062025/22/18/image_16062025_22_18_54_10079.jpg', '/mnt/data/16062025/22/18/image_16062025_22_18_44_10044.jpg', '/mnt/data/16062025/22/18/image_16062025_22_18_34_10026.jpg', '/mnt/data/16062025/22/18/image_16062025_22_18_24_8935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/19/image_16062025_22_19_15_10052.jpg
/mnt/data/16062025/22/18/image_16062025_22_19_04_10083.jpg
/mnt/data/16062025/22/18/image_16062025_22_18_54_10079.jpg
/mnt/data/16062025/22/18/image_16062025_22_18_44_10044.jpg
/mnt/data/16062025/22/18/image_16062025_22_18_34_10026.jpg
/mnt/data/16062025/22/18/image_16062025_22_18_24_8935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20380926132202 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:21:03.507718
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/20/image_16062025_22_20_45_10060.jpg', 2), ('/mnt/data/16062025/22/20/image_16062025_22_20_14_8987.jpg', 2), ('/mnt/data/16062025/22/19/image_16062025_22_19_25_10040.jpg', 2), ('/mnt/data/16062025/22/19/image_16062025_22_19_15_10052.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_19_04_10083.jpg', 2), ('/mnt/data/16062025/22/18/image_16062025_22_18_54_10079.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/20/image_16062025_22_20_45_10060.jpg', '/mnt/data/16062025/22/20/image_16062025_22_20_14_8987.jpg', '/mnt/data/16062025/22/19/image_16062025_22_19_25_10040.jpg', '/mnt/data/16062025/22/19/image_16062025_22_19_15_10052.jpg', '/mnt/data/16062025/22/18/image_16062025_22_19_04_10083.jpg', '/mnt/data/16062025/22/18/image_16062025_22_18_54_10079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/20/image_16062025_22_20_45_10060.jpg
/mnt/data/16062025/22/20/image_16062025_22_20_14_8987.jpg
/mnt/data/16062025/22/19/image_16062025_22_19_25_10040.jpg
/mnt/data/16062025/22/19/image_16062025_22_19_15_10052.jpg
/mnt/data/16062025/22/18/image_16062025_22_19_04_10083.jpg
/mnt/data/16062025/22/18/image_16062025_22_18_54_10079.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.419904947280884 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:22:03.197695
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/21/image_16062025_22_21_44_9946.jpg', 2), ('/mnt/data/16062025/22/21/image_16062025_22_21_34_9936.jpg', 2), ('/mnt/data/16062025/22/21/image_16062025_22_21_24_9954.jpg', 2), ('/mnt/data/16062025/22/21/image_16062025_22_21_15_9977.jpg', 2), ('/mnt/data/16062025/22/20/image_16062025_22_21_05_10055.jpg', 2), ('/mnt/data/16062025/22/20/image_16062025_22_20_55_9977.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/21/image_16062025_22_21_44_9946.jpg', '/mnt/data/16062025/22/21/image_16062025_22_21_34_9936.jpg', '/mnt/data/16062025/22/21/image_16062025_22_21_24_9954.jpg', '/mnt/data/16062025/22/21/image_16062025_22_21_15_9977.jpg', '/mnt/data/16062025/22/20/image_16062025_22_21_05_10055.jpg', '/mnt/data/16062025/22/20/image_16062025_22_20_55_9977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/21/image_16062025_22_21_44_9946.jpg
/mnt/data/16062025/22/21/image_16062025_22_21_34_9936.jpg
/mnt/data/16062025/22/21/image_16062025_22_21_24_9954.jpg
/mnt/data/16062025/22/21/image_16062025_22_21_15_9977.jpg
/mnt/data/16062025/22/20/image_16062025_22_21_05_10055.jpg
/mnt/data/16062025/22/20/image_16062025_22_20_55_9977.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366600384","1366600447","1366600376","1366600352","1366600427","1366600399"],"photo_ids_order":["1366600352","1366600376","1366600384","1366600399","1366600427","1366600447"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/a98c21471d7584fd510f76b696d40c02.jpg","text":"TemporaryFile(/tmp/multipartBody6142807618235425581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750105403335,"filename":"image_16062025_22_21_24_9954.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/10212184fccc33dcb3181a8955f150d7.jpg","text":"TemporaryFile(/tmp/multipartBody1959107616321589335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750105403335,"filename":"image_16062025_22_20_55_9977.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/79acbb3c776dd3676aaba154680cb0b2.jpg","text":"TemporaryFile(/tmp/multipartBody1021072021908709010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750105403335,"filename":"image_16062025_22_21_34_9936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/2d478b3112e410ba75088d2d0aac5a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2820379869910841603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750105403335,"filename":"image_16062025_22_21_44_9946.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/ed47595f6c01ff2880e69334dabcf73a.jpg","text":"TemporaryFile(/tmp/multipartBody2292202349686925716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750105403335,"filename":"image_16062025_22_21_05_10055.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/a85b3bb87ebb1afee023fb866562467b.jpg","text":"TemporaryFile(/tmp/multipartBody4686718791727123510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750105403335,"filename":"image_16062025_22_21_15_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366600384","file1":"1366600376","file0":"1366600352","file4":"1366600427","file5":"1366600447","file3":"1366600399"},"map_files_photo_id_array":[{"photo_id":"1366600447","filename":"file5"},{"photo_id":"1366600384","filename":"file2"},{"photo_id":"1366600427","filename":"file4"},{"photo_id":"1366600376","filename":"file1"},{"photo_id":"1366600352","filename":"file0"},{"photo_id":"1366600399","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366600384":["hashtag1","hashtag2"]},{"1366600447":["hashtag1","hashtag2"]},{"1366600376":["hashtag1","hashtag2"]},{"1366600352":["hashtag1","hashtag2"]},{"1366600427":["hashtag1","hashtag2"]},{"1366600399":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366600384, 1366600447, 1366600376, 1366600352, 1366600427, 1366600399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.680899143219 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:24:02.795434
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/23/image_16062025_22_23_45_10200.jpg', 2), ('/mnt/data/16062025/22/23/image_16062025_22_23_35_9995.jpg', 2), ('/mnt/data/16062025/22/23/image_16062025_22_23_25_10121.jpg', 2), ('/mnt/data/16062025/22/23/image_16062025_22_23_15_10137.jpg', 2), ('/mnt/data/16062025/22/22/image_16062025_22_23_05_10162.jpg', 2), ('/mnt/data/16062025/22/22/image_16062025_22_22_54_9952.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/23/image_16062025_22_23_45_10200.jpg', '/mnt/data/16062025/22/23/image_16062025_22_23_35_9995.jpg', '/mnt/data/16062025/22/23/image_16062025_22_23_25_10121.jpg', '/mnt/data/16062025/22/23/image_16062025_22_23_15_10137.jpg', '/mnt/data/16062025/22/22/image_16062025_22_23_05_10162.jpg', '/mnt/data/16062025/22/22/image_16062025_22_22_54_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/23/image_16062025_22_23_45_10200.jpg
/mnt/data/16062025/22/23/image_16062025_22_23_35_9995.jpg
/mnt/data/16062025/22/23/image_16062025_22_23_25_10121.jpg
/mnt/data/16062025/22/23/image_16062025_22_23_15_10137.jpg
/mnt/data/16062025/22/22/image_16062025_22_23_05_10162.jpg
/mnt/data/16062025/22/22/image_16062025_22_22_54_9952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.90166711807251 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:25:03.019528
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/24/image_16062025_22_24_45_10141.jpg', 2), ('/mnt/data/16062025/22/24/image_16062025_22_24_35_10121.jpg', 2), ('/mnt/data/16062025/22/24/image_16062025_22_24_25_10165.jpg', 2), ('/mnt/data/16062025/22/24/image_16062025_22_24_15_10240.jpg', 2), ('/mnt/data/16062025/22/23/image_16062025_22_24_04_9195.jpg', 2), ('/mnt/data/16062025/22/23/image_16062025_22_23_55_10135.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/24/image_16062025_22_24_45_10141.jpg', '/mnt/data/16062025/22/24/image_16062025_22_24_35_10121.jpg', '/mnt/data/16062025/22/24/image_16062025_22_24_25_10165.jpg', '/mnt/data/16062025/22/24/image_16062025_22_24_15_10240.jpg', '/mnt/data/16062025/22/23/image_16062025_22_24_04_9195.jpg', '/mnt/data/16062025/22/23/image_16062025_22_23_55_10135.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/24/image_16062025_22_24_45_10141.jpg
/mnt/data/16062025/22/24/image_16062025_22_24_35_10121.jpg
/mnt/data/16062025/22/24/image_16062025_22_24_25_10165.jpg
/mnt/data/16062025/22/24/image_16062025_22_24_15_10240.jpg
/mnt/data/16062025/22/23/image_16062025_22_24_04_9195.jpg
/mnt/data/16062025/22/23/image_16062025_22_23_55_10135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.314347982406616 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:26:02.698132
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/25/image_16062025_22_25_44_9962.jpg', 2), ('/mnt/data/16062025/22/25/image_16062025_22_25_34_10006.jpg', 2), ('/mnt/data/16062025/22/25/image_16062025_22_25_24_9999.jpg', 2), ('/mnt/data/16062025/22/25/image_16062025_22_25_14_8968.jpg', 2), ('/mnt/data/16062025/22/24/image_16062025_22_25_05_10252.jpg', 2), ('/mnt/data/16062025/22/24/image_16062025_22_24_55_10185.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/25/image_16062025_22_25_44_9962.jpg', '/mnt/data/16062025/22/25/image_16062025_22_25_34_10006.jpg', '/mnt/data/16062025/22/25/image_16062025_22_25_24_9999.jpg', '/mnt/data/16062025/22/25/image_16062025_22_25_14_8968.jpg', '/mnt/data/16062025/22/24/image_16062025_22_25_05_10252.jpg', '/mnt/data/16062025/22/24/image_16062025_22_24_55_10185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/25/image_16062025_22_25_44_9962.jpg
/mnt/data/16062025/22/25/image_16062025_22_25_34_10006.jpg
/mnt/data/16062025/22/25/image_16062025_22_25_24_9999.jpg
/mnt/data/16062025/22/25/image_16062025_22_25_14_8968.jpg
/mnt/data/16062025/22/24/image_16062025_22_25_05_10252.jpg
/mnt/data/16062025/22/24/image_16062025_22_24_55_10185.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.87845802307129 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:27:03.186924
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg', 2), ('/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg', 2), ('/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg', 2), ('/mnt/data/16062025/22/25/image_16062025_22_26_05_10382.jpg', 2), ('/mnt/data/16062025/22/25/image_16062025_22_25_54_9967.jpg', 2), ('/mnt/data/16062025/22/25/image_16062025_22_25_44_9962.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg', '/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg', '/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg', '/mnt/data/16062025/22/25/image_16062025_22_26_05_10382.jpg', '/mnt/data/16062025/22/25/image_16062025_22_25_54_9967.jpg', '/mnt/data/16062025/22/25/image_16062025_22_25_44_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg
/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg
/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg
/mnt/data/16062025/22/25/image_16062025_22_26_05_10382.jpg
/mnt/data/16062025/22/25/image_16062025_22_25_54_9967.jpg
/mnt/data/16062025/22/25/image_16062025_22_25_44_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.24089741706848 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:28:03.123807
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg', 2), ('/mnt/data/16062025/22/27/image_16062025_22_27_15_10180.jpg', 2), ('/mnt/data/16062025/22/26/image_16062025_22_26_54_10170.jpg', 2), ('/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg', 2), ('/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg', 2), ('/mnt/data/16062025/22/25/image_16062025_22_26_05_10382.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg', '/mnt/data/16062025/22/27/image_16062025_22_27_15_10180.jpg', '/mnt/data/16062025/22/26/image_16062025_22_26_54_10170.jpg', '/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg', '/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg', '/mnt/data/16062025/22/25/image_16062025_22_26_05_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg
/mnt/data/16062025/22/27/image_16062025_22_27_15_10180.jpg
/mnt/data/16062025/22/26/image_16062025_22_26_54_10170.jpg
/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg
/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg
/mnt/data/16062025/22/25/image_16062025_22_26_05_10382.jpg
uploaded 0 photos
time to upload: 30.223984718322754 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:29:03.274559
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg', 2), ('/mnt/data/16062025/22/27/image_16062025_22_27_25_10207.jpg', 2), ('/mnt/data/16062025/22/27/image_16062025_22_27_15_10180.jpg', 2), ('/mnt/data/16062025/22/26/image_16062025_22_26_54_10170.jpg', 2), ('/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg', 2), ('/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg', '/mnt/data/16062025/22/27/image_16062025_22_27_25_10207.jpg', '/mnt/data/16062025/22/27/image_16062025_22_27_15_10180.jpg', '/mnt/data/16062025/22/26/image_16062025_22_26_54_10170.jpg', '/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg', '/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg
/mnt/data/16062025/22/27/image_16062025_22_27_25_10207.jpg
/mnt/data/16062025/22/27/image_16062025_22_27_15_10180.jpg
/mnt/data/16062025/22/26/image_16062025_22_26_54_10170.jpg
/mnt/data/16062025/22/26/image_16062025_22_26_44_8990.jpg
/mnt/data/16062025/22/26/image_16062025_22_26_25_10181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.3121235370636 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:30:02.950070
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', 2), ('/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg', 2), ('/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg', 2), ('/mnt/data/16062025/22/27/image_16062025_22_27_25_10207.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', '/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg', '/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg', '/mnt/data/16062025/22/27/image_16062025_22_27_25_10207.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg
/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg
/mnt/data/16062025/22/27/image_16062025_22_27_35_10228.jpg
/mnt/data/16062025/22/27/image_16062025_22_27_25_10207.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.309004545211792 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:31:03.139605
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', 2), ('/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', '/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg
/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.298816442489624 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:32:03.231741
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', 2), ('/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', '/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg
/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.207294702529907 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:33:03.330729
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', 2), ('/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', '/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg
/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.282013654708862 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:34:02.539192
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', 2), ('/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', '/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg
/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.204375982284546 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:35:02.701727
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', 2), ('/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg', '/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_47_8987.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_35_10027.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_15_10179.jpg
/mnt/data/16062025/22/28/image_16062025_22_28_44_10165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.67827796936035 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:36:02.748525
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/35/image_16062025_22_35_45_9972.jpg', 2), ('/mnt/data/16062025/22/35/image_16062025_22_35_35_9958.jpg', 2), ('/mnt/data/16062025/22/35/image_16062025_22_35_15_9964.jpg', 2), ('/mnt/data/16062025/22/30/image_16062025_22_30_15_10102.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', 2), ('/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/35/image_16062025_22_35_45_9972.jpg', '/mnt/data/16062025/22/35/image_16062025_22_35_35_9958.jpg', '/mnt/data/16062025/22/35/image_16062025_22_35_15_9964.jpg', '/mnt/data/16062025/22/30/image_16062025_22_30_15_10102.jpg', '/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg', '/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/35/image_16062025_22_35_45_9972.jpg
/mnt/data/16062025/22/35/image_16062025_22_35_35_9958.jpg
/mnt/data/16062025/22/35/image_16062025_22_35_15_9964.jpg
/mnt/data/16062025/22/30/image_16062025_22_30_15_10102.jpg
/mnt/data/16062025/22/29/image_16062025_22_30_05_10342.jpg
/mnt/data/16062025/22/29/image_16062025_22_29_55_10113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20870590209961 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:37:02.831033
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/36/image_16062025_22_36_45_9958.jpg', 2), ('/mnt/data/16062025/22/36/image_16062025_22_36_35_9908.jpg', 2), ('/mnt/data/16062025/22/36/image_16062025_22_36_25_9913.jpg', 2), ('/mnt/data/16062025/22/36/image_16062025_22_36_15_9962.jpg', 2), ('/mnt/data/16062025/22/35/image_16062025_22_36_05_10258.jpg', 2), ('/mnt/data/16062025/22/35/image_16062025_22_35_55_9970.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/36/image_16062025_22_36_45_9958.jpg', '/mnt/data/16062025/22/36/image_16062025_22_36_35_9908.jpg', '/mnt/data/16062025/22/36/image_16062025_22_36_25_9913.jpg', '/mnt/data/16062025/22/36/image_16062025_22_36_15_9962.jpg', '/mnt/data/16062025/22/35/image_16062025_22_36_05_10258.jpg', '/mnt/data/16062025/22/35/image_16062025_22_35_55_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/36/image_16062025_22_36_45_9958.jpg
/mnt/data/16062025/22/36/image_16062025_22_36_35_9908.jpg
/mnt/data/16062025/22/36/image_16062025_22_36_25_9913.jpg
/mnt/data/16062025/22/36/image_16062025_22_36_15_9962.jpg
/mnt/data/16062025/22/35/image_16062025_22_36_05_10258.jpg
/mnt/data/16062025/22/35/image_16062025_22_35_55_9970.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! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366601580","1366601574","1366601568","1366601556","1366601584","1366601563"],"photo_ids_order":["1366601556","1366601563","1366601568","1366601574","1366601580","1366601584"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/a8703f342714fba8dff982c6f9975795.jpg","text":"TemporaryFile(/tmp/multipartBody7410761913019076698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750106308189,"filename":"image_16062025_22_36_05_10258.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/188ae5f834121afc27e029f6733ee228.jpg","text":"TemporaryFile(/tmp/multipartBody5748699154721126807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750106308189,"filename":"image_16062025_22_36_15_9962.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/9858a6d086db6b0d0e331f9613e9fa48.jpg","text":"TemporaryFile(/tmp/multipartBody8318811076377316173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750106308189,"filename":"image_16062025_22_36_25_9913.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/8433d7b9a4fa59f1bcd05527521637a4.jpg","text":"TemporaryFile(/tmp/multipartBody2352357623985435908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750106308189,"filename":"image_16062025_22_36_45_9958.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/d95c3b48e9c33c613f45c22f313be661.jpg","text":"TemporaryFile(/tmp/multipartBody7458931121215907513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750106308189,"filename":"image_16062025_22_35_55_9970.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/0c9aeb08951dede306c6ff341feacfa4.jpg","text":"TemporaryFile(/tmp/multipartBody2397895489821506391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750106308189,"filename":"image_16062025_22_36_35_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366601568","file1":"1366601563","file0":"1366601556","file4":"1366601580","file5":"1366601584","file3":"1366601574"},"map_files_photo_id_array":[{"photo_id":"1366601584","filename":"file5"},{"photo_id":"1366601568","filename":"file2"},{"photo_id":"1366601580","filename":"file4"},{"photo_id":"1366601563","filename":"file1"},{"photo_id":"1366601556","filename":"file0"},{"photo_id":"1366601574","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366601580":["hashtag1","hashtag2"]},{"1366601574":["hashtag1","hashtag2"]},{"1366601568":["hashtag1","hashtag2"]},{"1366601556":["hashtag1","hashtag2"]},{"1366601584":["hashtag1","hashtag2"]},{"1366601563":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366601580, 1366601574, 1366601568, 1366601556, 1366601584, 1366601563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 107.49709725379944 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:39:03.165151
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/38/image_16062025_22_38_45_10171.jpg', 2), ('/mnt/data/16062025/22/38/image_16062025_22_38_35_10082.jpg', 2), ('/mnt/data/16062025/22/38/image_16062025_22_38_25_10088.jpg', 2), ('/mnt/data/16062025/22/38/image_16062025_22_38_15_9826.jpg', 2), ('/mnt/data/16062025/22/37/image_16062025_22_38_05_10349.jpg', 2), ('/mnt/data/16062025/22/37/image_16062025_22_37_45_10129.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/38/image_16062025_22_38_45_10171.jpg', '/mnt/data/16062025/22/38/image_16062025_22_38_35_10082.jpg', '/mnt/data/16062025/22/38/image_16062025_22_38_25_10088.jpg', '/mnt/data/16062025/22/38/image_16062025_22_38_15_9826.jpg', '/mnt/data/16062025/22/37/image_16062025_22_38_05_10349.jpg', '/mnt/data/16062025/22/37/image_16062025_22_37_45_10129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/38/image_16062025_22_38_45_10171.jpg
/mnt/data/16062025/22/38/image_16062025_22_38_35_10082.jpg
/mnt/data/16062025/22/38/image_16062025_22_38_25_10088.jpg
/mnt/data/16062025/22/38/image_16062025_22_38_15_9826.jpg
/mnt/data/16062025/22/37/image_16062025_22_38_05_10349.jpg
/mnt/data/16062025/22/37/image_16062025_22_37_45_10129.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.268081188201904 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:40:03.041782
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/39/image_16062025_22_39_45_10094.jpg', 2), ('/mnt/data/16062025/22/39/image_16062025_22_39_35_10136.jpg', 2), ('/mnt/data/16062025/22/39/image_16062025_22_39_25_10176.jpg', 2), ('/mnt/data/16062025/22/39/image_16062025_22_39_14_10164.jpg', 2), ('/mnt/data/16062025/22/38/image_16062025_22_39_04_8971.jpg', 2), ('/mnt/data/16062025/22/38/image_16062025_22_38_55_10055.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/39/image_16062025_22_39_45_10094.jpg', '/mnt/data/16062025/22/39/image_16062025_22_39_35_10136.jpg', '/mnt/data/16062025/22/39/image_16062025_22_39_25_10176.jpg', '/mnt/data/16062025/22/39/image_16062025_22_39_14_10164.jpg', '/mnt/data/16062025/22/38/image_16062025_22_39_04_8971.jpg', '/mnt/data/16062025/22/38/image_16062025_22_38_55_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/39/image_16062025_22_39_45_10094.jpg
/mnt/data/16062025/22/39/image_16062025_22_39_35_10136.jpg
/mnt/data/16062025/22/39/image_16062025_22_39_25_10176.jpg
/mnt/data/16062025/22/39/image_16062025_22_39_14_10164.jpg
/mnt/data/16062025/22/38/image_16062025_22_39_04_8971.jpg
/mnt/data/16062025/22/38/image_16062025_22_38_55_10055.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.29331398010254 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:41:03.345994
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/40/image_16062025_22_40_44_9924.jpg', 2), ('/mnt/data/16062025/22/40/image_16062025_22_40_34_9969.jpg', 2), ('/mnt/data/16062025/22/40/image_16062025_22_40_24_9981.jpg', 2), ('/mnt/data/16062025/22/40/image_16062025_22_40_14_10096.jpg', 2), ('/mnt/data/16062025/22/39/image_16062025_22_40_04_9330.jpg', 2), ('/mnt/data/16062025/22/39/image_16062025_22_39_55_10142.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/40/image_16062025_22_40_44_9924.jpg', '/mnt/data/16062025/22/40/image_16062025_22_40_34_9969.jpg', '/mnt/data/16062025/22/40/image_16062025_22_40_24_9981.jpg', '/mnt/data/16062025/22/40/image_16062025_22_40_14_10096.jpg', '/mnt/data/16062025/22/39/image_16062025_22_40_04_9330.jpg', '/mnt/data/16062025/22/39/image_16062025_22_39_55_10142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/40/image_16062025_22_40_44_9924.jpg
/mnt/data/16062025/22/40/image_16062025_22_40_34_9969.jpg
/mnt/data/16062025/22/40/image_16062025_22_40_24_9981.jpg
/mnt/data/16062025/22/40/image_16062025_22_40_14_10096.jpg
/mnt/data/16062025/22/39/image_16062025_22_40_04_9330.jpg
/mnt/data/16062025/22/39/image_16062025_22_39_55_10142.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.28097128868103 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:42:03.220433
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/41/image_16062025_22_41_45_11127.jpg', 2), ('/mnt/data/16062025/22/41/image_16062025_22_41_34_9938.jpg', 2), ('/mnt/data/16062025/22/41/image_16062025_22_41_24_9929.jpg', 2), ('/mnt/data/16062025/22/41/image_16062025_22_41_14_9949.jpg', 2), ('/mnt/data/16062025/22/40/image_16062025_22_41_04_10228.jpg', 2), ('/mnt/data/16062025/22/40/image_16062025_22_40_54_9930.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/41/image_16062025_22_41_45_11127.jpg', '/mnt/data/16062025/22/41/image_16062025_22_41_34_9938.jpg', '/mnt/data/16062025/22/41/image_16062025_22_41_24_9929.jpg', '/mnt/data/16062025/22/41/image_16062025_22_41_14_9949.jpg', '/mnt/data/16062025/22/40/image_16062025_22_41_04_10228.jpg', '/mnt/data/16062025/22/40/image_16062025_22_40_54_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/41/image_16062025_22_41_45_11127.jpg
/mnt/data/16062025/22/41/image_16062025_22_41_34_9938.jpg
/mnt/data/16062025/22/41/image_16062025_22_41_24_9929.jpg
/mnt/data/16062025/22/41/image_16062025_22_41_14_9949.jpg
/mnt/data/16062025/22/40/image_16062025_22_41_04_10228.jpg
/mnt/data/16062025/22/40/image_16062025_22_40_54_9930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.368556261062622 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:43:02.790998
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/42/image_16062025_22_42_44_9966.jpg', 2), ('/mnt/data/16062025/22/42/image_16062025_22_42_34_9955.jpg', 2), ('/mnt/data/16062025/22/41/image_16062025_22_41_55_9926.jpg', 2), ('/mnt/data/16062025/22/41/image_16062025_22_41_45_11127.jpg', 2), ('/mnt/data/16062025/22/41/image_16062025_22_41_34_9938.jpg', 2), ('/mnt/data/16062025/22/41/image_16062025_22_41_24_9929.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/42/image_16062025_22_42_44_9966.jpg', '/mnt/data/16062025/22/42/image_16062025_22_42_34_9955.jpg', '/mnt/data/16062025/22/41/image_16062025_22_41_55_9926.jpg', '/mnt/data/16062025/22/41/image_16062025_22_41_45_11127.jpg', '/mnt/data/16062025/22/41/image_16062025_22_41_34_9938.jpg', '/mnt/data/16062025/22/41/image_16062025_22_41_24_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/42/image_16062025_22_42_44_9966.jpg
/mnt/data/16062025/22/42/image_16062025_22_42_34_9955.jpg
/mnt/data/16062025/22/41/image_16062025_22_41_55_9926.jpg
/mnt/data/16062025/22/41/image_16062025_22_41_45_11127.jpg
/mnt/data/16062025/22/41/image_16062025_22_41_34_9938.jpg
/mnt/data/16062025/22/41/image_16062025_22_41_24_9929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.228689193725586 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:44:02.597477
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/43/image_16062025_22_43_45_10162.jpg', 2), ('/mnt/data/16062025/22/43/image_16062025_22_43_35_9914.jpg', 2), ('/mnt/data/16062025/22/43/image_16062025_22_43_25_10117.jpg', 2), ('/mnt/data/16062025/22/43/image_16062025_22_43_15_10150.jpg', 2), ('/mnt/data/16062025/22/42/image_16062025_22_43_05_10283.jpg', 2), ('/mnt/data/16062025/22/42/image_16062025_22_42_54_10040.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/43/image_16062025_22_43_45_10162.jpg', '/mnt/data/16062025/22/43/image_16062025_22_43_35_9914.jpg', '/mnt/data/16062025/22/43/image_16062025_22_43_25_10117.jpg', '/mnt/data/16062025/22/43/image_16062025_22_43_15_10150.jpg', '/mnt/data/16062025/22/42/image_16062025_22_43_05_10283.jpg', '/mnt/data/16062025/22/42/image_16062025_22_42_54_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/43/image_16062025_22_43_45_10162.jpg
/mnt/data/16062025/22/43/image_16062025_22_43_35_9914.jpg
/mnt/data/16062025/22/43/image_16062025_22_43_25_10117.jpg
/mnt/data/16062025/22/43/image_16062025_22_43_15_10150.jpg
/mnt/data/16062025/22/42/image_16062025_22_43_05_10283.jpg
/mnt/data/16062025/22/42/image_16062025_22_42_54_10040.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.198181629180908 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:45:02.820210
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/44/image_16062025_22_44_45_10180.jpg', 2), ('/mnt/data/16062025/22/44/image_16062025_22_44_35_10157.jpg', 2), ('/mnt/data/16062025/22/44/image_16062025_22_44_25_10186.jpg', 2), ('/mnt/data/16062025/22/44/image_16062025_22_44_15_10142.jpg', 2), ('/mnt/data/16062025/22/43/image_16062025_22_44_04_9191.jpg', 2), ('/mnt/data/16062025/22/43/image_16062025_22_43_55_10233.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/44/image_16062025_22_44_45_10180.jpg', '/mnt/data/16062025/22/44/image_16062025_22_44_35_10157.jpg', '/mnt/data/16062025/22/44/image_16062025_22_44_25_10186.jpg', '/mnt/data/16062025/22/44/image_16062025_22_44_15_10142.jpg', '/mnt/data/16062025/22/43/image_16062025_22_44_04_9191.jpg', '/mnt/data/16062025/22/43/image_16062025_22_43_55_10233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/44/image_16062025_22_44_45_10180.jpg
/mnt/data/16062025/22/44/image_16062025_22_44_35_10157.jpg
/mnt/data/16062025/22/44/image_16062025_22_44_25_10186.jpg
/mnt/data/16062025/22/44/image_16062025_22_44_15_10142.jpg
/mnt/data/16062025/22/43/image_16062025_22_44_04_9191.jpg
/mnt/data/16062025/22/43/image_16062025_22_43_55_10233.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.498616695404053 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:46:02.899281
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/45/image_16062025_22_45_55_9916.jpg', 2), ('/mnt/data/16062025/22/45/image_16062025_22_45_35_10282.jpg', 2), ('/mnt/data/16062025/22/45/image_16062025_22_45_25_10168.jpg', 2), ('/mnt/data/16062025/22/45/image_16062025_22_45_15_10123.jpg', 2), ('/mnt/data/16062025/22/44/image_16062025_22_45_04_9072.jpg', 2), ('/mnt/data/16062025/22/44/image_16062025_22_44_55_10222.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/45/image_16062025_22_45_55_9916.jpg', '/mnt/data/16062025/22/45/image_16062025_22_45_35_10282.jpg', '/mnt/data/16062025/22/45/image_16062025_22_45_25_10168.jpg', '/mnt/data/16062025/22/45/image_16062025_22_45_15_10123.jpg', '/mnt/data/16062025/22/44/image_16062025_22_45_04_9072.jpg', '/mnt/data/16062025/22/44/image_16062025_22_44_55_10222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/45/image_16062025_22_45_55_9916.jpg
/mnt/data/16062025/22/45/image_16062025_22_45_35_10282.jpg
/mnt/data/16062025/22/45/image_16062025_22_45_25_10168.jpg
/mnt/data/16062025/22/45/image_16062025_22_45_15_10123.jpg
/mnt/data/16062025/22/44/image_16062025_22_45_04_9072.jpg
/mnt/data/16062025/22/44/image_16062025_22_44_55_10222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.786137342453003 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:47:03.129724
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/46/image_16062025_22_46_45_10135.jpg', 2), ('/mnt/data/16062025/22/46/image_16062025_22_46_35_10156.jpg', 2), ('/mnt/data/16062025/22/46/image_16062025_22_46_24_9060.jpg', 2), ('/mnt/data/16062025/22/46/image_16062025_22_46_15_11174.jpg', 2), ('/mnt/data/16062025/22/45/image_16062025_22_46_04_9110.jpg', 2), ('/mnt/data/16062025/22/45/image_16062025_22_45_55_9916.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/46/image_16062025_22_46_45_10135.jpg', '/mnt/data/16062025/22/46/image_16062025_22_46_35_10156.jpg', '/mnt/data/16062025/22/46/image_16062025_22_46_24_9060.jpg', '/mnt/data/16062025/22/46/image_16062025_22_46_15_11174.jpg', '/mnt/data/16062025/22/45/image_16062025_22_46_04_9110.jpg', '/mnt/data/16062025/22/45/image_16062025_22_45_55_9916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/46/image_16062025_22_46_45_10135.jpg
/mnt/data/16062025/22/46/image_16062025_22_46_35_10156.jpg
/mnt/data/16062025/22/46/image_16062025_22_46_24_9060.jpg
/mnt/data/16062025/22/46/image_16062025_22_46_15_11174.jpg
/mnt/data/16062025/22/45/image_16062025_22_46_04_9110.jpg
/mnt/data/16062025/22/45/image_16062025_22_45_55_9916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.74644088745117 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:48:03.105463
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/47/image_16062025_22_47_46_10040.jpg', 2), ('/mnt/data/16062025/22/47/image_16062025_22_47_35_10042.jpg', 2), ('/mnt/data/16062025/22/47/image_16062025_22_47_25_10482.jpg', 2), ('/mnt/data/16062025/22/47/image_16062025_22_47_15_10142.jpg', 2), ('/mnt/data/16062025/22/46/image_16062025_22_46_55_10135.jpg', 2), ('/mnt/data/16062025/22/46/image_16062025_22_46_45_10135.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/47/image_16062025_22_47_46_10040.jpg', '/mnt/data/16062025/22/47/image_16062025_22_47_35_10042.jpg', '/mnt/data/16062025/22/47/image_16062025_22_47_25_10482.jpg', '/mnt/data/16062025/22/47/image_16062025_22_47_15_10142.jpg', '/mnt/data/16062025/22/46/image_16062025_22_46_55_10135.jpg', '/mnt/data/16062025/22/46/image_16062025_22_46_45_10135.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/47/image_16062025_22_47_46_10040.jpg
/mnt/data/16062025/22/47/image_16062025_22_47_35_10042.jpg
/mnt/data/16062025/22/47/image_16062025_22_47_25_10482.jpg
/mnt/data/16062025/22/47/image_16062025_22_47_15_10142.jpg
/mnt/data/16062025/22/46/image_16062025_22_46_55_10135.jpg
/mnt/data/16062025/22/46/image_16062025_22_46_45_10135.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.86370086669922 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:49:03.694754
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/48/image_16062025_22_48_45_9988.jpg', 2), ('/mnt/data/16062025/22/48/image_16062025_22_48_35_9989.jpg', 2), ('/mnt/data/16062025/22/48/image_16062025_22_48_25_10008.jpg', 2), ('/mnt/data/16062025/22/48/image_16062025_22_48_15_9946.jpg', 2), ('/mnt/data/16062025/22/47/image_16062025_22_48_05_10190.jpg', 2), ('/mnt/data/16062025/22/47/image_16062025_22_47_55_9808.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/48/image_16062025_22_48_45_9988.jpg', '/mnt/data/16062025/22/48/image_16062025_22_48_35_9989.jpg', '/mnt/data/16062025/22/48/image_16062025_22_48_25_10008.jpg', '/mnt/data/16062025/22/48/image_16062025_22_48_15_9946.jpg', '/mnt/data/16062025/22/47/image_16062025_22_48_05_10190.jpg', '/mnt/data/16062025/22/47/image_16062025_22_47_55_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/48/image_16062025_22_48_45_9988.jpg
/mnt/data/16062025/22/48/image_16062025_22_48_35_9989.jpg
/mnt/data/16062025/22/48/image_16062025_22_48_25_10008.jpg
/mnt/data/16062025/22/48/image_16062025_22_48_15_9946.jpg
/mnt/data/16062025/22/47/image_16062025_22_48_05_10190.jpg
/mnt/data/16062025/22/47/image_16062025_22_47_55_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.50490927696228 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:50:03.402249
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/49/image_16062025_22_49_45_9937.jpg', 2), ('/mnt/data/16062025/22/49/image_16062025_22_49_35_9947.jpg', 2), ('/mnt/data/16062025/22/49/image_16062025_22_49_25_10010.jpg', 2), ('/mnt/data/16062025/22/49/image_16062025_22_49_15_10020.jpg', 2), ('/mnt/data/16062025/22/48/image_16062025_22_49_05_10055.jpg', 2), ('/mnt/data/16062025/22/48/image_16062025_22_48_55_9984.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/49/image_16062025_22_49_45_9937.jpg', '/mnt/data/16062025/22/49/image_16062025_22_49_35_9947.jpg', '/mnt/data/16062025/22/49/image_16062025_22_49_25_10010.jpg', '/mnt/data/16062025/22/49/image_16062025_22_49_15_10020.jpg', '/mnt/data/16062025/22/48/image_16062025_22_49_05_10055.jpg', '/mnt/data/16062025/22/48/image_16062025_22_48_55_9984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/49/image_16062025_22_49_45_9937.jpg
/mnt/data/16062025/22/49/image_16062025_22_49_35_9947.jpg
/mnt/data/16062025/22/49/image_16062025_22_49_25_10010.jpg
/mnt/data/16062025/22/49/image_16062025_22_49_15_10020.jpg
/mnt/data/16062025/22/48/image_16062025_22_49_05_10055.jpg
/mnt/data/16062025/22/48/image_16062025_22_48_55_9984.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! 
uploaded 0 photos
time to upload: 148.09340834617615 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:53:02.782578
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/52/image_16062025_22_52_45_10168.jpg', 2), ('/mnt/data/16062025/22/52/image_16062025_22_52_35_10258.jpg', 2), ('/mnt/data/16062025/22/52/image_16062025_22_52_25_10175.jpg', 2), ('/mnt/data/16062025/22/52/image_16062025_22_52_15_10188.jpg', 2), ('/mnt/data/16062025/22/51/image_16062025_22_51_55_10133.jpg', 2), ('/mnt/data/16062025/22/51/image_16062025_22_51_45_10128.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/52/image_16062025_22_52_45_10168.jpg', '/mnt/data/16062025/22/52/image_16062025_22_52_35_10258.jpg', '/mnt/data/16062025/22/52/image_16062025_22_52_25_10175.jpg', '/mnt/data/16062025/22/52/image_16062025_22_52_15_10188.jpg', '/mnt/data/16062025/22/51/image_16062025_22_51_55_10133.jpg', '/mnt/data/16062025/22/51/image_16062025_22_51_45_10128.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/52/image_16062025_22_52_45_10168.jpg
/mnt/data/16062025/22/52/image_16062025_22_52_35_10258.jpg
/mnt/data/16062025/22/52/image_16062025_22_52_25_10175.jpg
/mnt/data/16062025/22/52/image_16062025_22_52_15_10188.jpg
/mnt/data/16062025/22/51/image_16062025_22_51_55_10133.jpg
/mnt/data/16062025/22/51/image_16062025_22_51_45_10128.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.266692876815796 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:54:02.863554
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/53/image_16062025_22_53_45_9989.jpg', 2), ('/mnt/data/16062025/22/53/image_16062025_22_53_35_9947.jpg', 2), ('/mnt/data/16062025/22/53/image_16062025_22_53_25_10109.jpg', 2), ('/mnt/data/16062025/22/53/image_16062025_22_53_15_10303.jpg', 2), ('/mnt/data/16062025/22/52/image_16062025_22_53_04_8956.jpg', 2), ('/mnt/data/16062025/22/52/image_16062025_22_52_55_10079.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/53/image_16062025_22_53_45_9989.jpg', '/mnt/data/16062025/22/53/image_16062025_22_53_35_9947.jpg', '/mnt/data/16062025/22/53/image_16062025_22_53_25_10109.jpg', '/mnt/data/16062025/22/53/image_16062025_22_53_15_10303.jpg', '/mnt/data/16062025/22/52/image_16062025_22_53_04_8956.jpg', '/mnt/data/16062025/22/52/image_16062025_22_52_55_10079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/53/image_16062025_22_53_45_9989.jpg
/mnt/data/16062025/22/53/image_16062025_22_53_35_9947.jpg
/mnt/data/16062025/22/53/image_16062025_22_53_25_10109.jpg
/mnt/data/16062025/22/53/image_16062025_22_53_15_10303.jpg
/mnt/data/16062025/22/52/image_16062025_22_53_04_8956.jpg
/mnt/data/16062025/22/52/image_16062025_22_52_55_10079.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.21761202812195 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 22:59:02.674923
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg', 2), ('/mnt/data/16062025/22/56/image_16062025_22_57_05_10245.jpg', 2), ('/mnt/data/16062025/22/56/image_16062025_22_56_54_8914.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg', '/mnt/data/16062025/22/56/image_16062025_22_57_05_10245.jpg', '/mnt/data/16062025/22/56/image_16062025_22_56_54_8914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg
/mnt/data/16062025/22/56/image_16062025_22_57_05_10245.jpg
/mnt/data/16062025/22/56/image_16062025_22_56_54_8914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.240552186965942 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:00:02.375416
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg', 2), ('/mnt/data/16062025/22/56/image_16062025_22_57_05_10245.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg', '/mnt/data/16062025/22/56/image_16062025_22_57_05_10245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg
/mnt/data/16062025/22/56/image_16062025_22_57_05_10245.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.64322805404663 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:01:02.868308
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.428078651428223 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:02:02.888500
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_35_9944.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_25_10064.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_15_10160.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.461898803710938 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:03:03.088058
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/02/image_16062025_23_02_45_9904.jpg', 2), ('/mnt/data/16062025/23/02/image_16062025_23_02_35_9986.jpg', 2), ('/mnt/data/16062025/23/00/image_16062025_23_00_15_10001.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg', 2), ('/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/02/image_16062025_23_02_45_9904.jpg', '/mnt/data/16062025/23/02/image_16062025_23_02_35_9986.jpg', '/mnt/data/16062025/23/00/image_16062025_23_00_15_10001.jpg', '/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg', '/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/02/image_16062025_23_02_45_9904.jpg
/mnt/data/16062025/23/02/image_16062025_23_02_35_9986.jpg
/mnt/data/16062025/23/00/image_16062025_23_00_15_10001.jpg
/mnt/data/16062025/22/57/image_16062025_22_58_05_10371.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_55_9937.jpg
/mnt/data/16062025/22/57/image_16062025_22_57_45_9958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.223844528198242 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:04:03.211676
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/03/image_16062025_23_03_45_10015.jpg', 2), ('/mnt/data/16062025/23/03/image_16062025_23_03_35_9962.jpg', 2), ('/mnt/data/16062025/23/03/image_16062025_23_03_25_10027.jpg', 2), ('/mnt/data/16062025/23/03/image_16062025_23_03_15_9997.jpg', 2), ('/mnt/data/16062025/23/02/image_16062025_23_03_05_10083.jpg', 2), ('/mnt/data/16062025/23/02/image_16062025_23_02_55_9910.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/03/image_16062025_23_03_45_10015.jpg', '/mnt/data/16062025/23/03/image_16062025_23_03_35_9962.jpg', '/mnt/data/16062025/23/03/image_16062025_23_03_25_10027.jpg', '/mnt/data/16062025/23/03/image_16062025_23_03_15_9997.jpg', '/mnt/data/16062025/23/02/image_16062025_23_03_05_10083.jpg', '/mnt/data/16062025/23/02/image_16062025_23_02_55_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/03/image_16062025_23_03_45_10015.jpg
/mnt/data/16062025/23/03/image_16062025_23_03_35_9962.jpg
/mnt/data/16062025/23/03/image_16062025_23_03_25_10027.jpg
/mnt/data/16062025/23/03/image_16062025_23_03_15_9997.jpg
/mnt/data/16062025/23/02/image_16062025_23_03_05_10083.jpg
/mnt/data/16062025/23/02/image_16062025_23_02_55_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.196058750152588 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:05:03.322015
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/04/image_16062025_23_04_45_9977.jpg', 2), ('/mnt/data/16062025/23/04/image_16062025_23_04_35_9991.jpg', 2), ('/mnt/data/16062025/23/04/image_16062025_23_04_25_9999.jpg', 2), ('/mnt/data/16062025/23/04/image_16062025_23_04_15_9978.jpg', 2), ('/mnt/data/16062025/23/03/image_16062025_23_04_05_10044.jpg', 2), ('/mnt/data/16062025/23/03/image_16062025_23_03_55_9997.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/04/image_16062025_23_04_45_9977.jpg', '/mnt/data/16062025/23/04/image_16062025_23_04_35_9991.jpg', '/mnt/data/16062025/23/04/image_16062025_23_04_25_9999.jpg', '/mnt/data/16062025/23/04/image_16062025_23_04_15_9978.jpg', '/mnt/data/16062025/23/03/image_16062025_23_04_05_10044.jpg', '/mnt/data/16062025/23/03/image_16062025_23_03_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/04/image_16062025_23_04_45_9977.jpg
/mnt/data/16062025/23/04/image_16062025_23_04_35_9991.jpg
/mnt/data/16062025/23/04/image_16062025_23_04_25_9999.jpg
/mnt/data/16062025/23/04/image_16062025_23_04_15_9978.jpg
/mnt/data/16062025/23/03/image_16062025_23_04_05_10044.jpg
/mnt/data/16062025/23/03/image_16062025_23_03_55_9997.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.263307094573975 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:06:02.168810
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/05/image_16062025_23_05_45_10148.jpg', 2), ('/mnt/data/16062025/23/05/image_16062025_23_05_35_10109.jpg', 2), ('/mnt/data/16062025/23/05/image_16062025_23_05_25_10203.jpg', 2), ('/mnt/data/16062025/23/05/image_16062025_23_05_15_10175.jpg', 2), ('/mnt/data/16062025/23/04/image_16062025_23_05_04_9136.jpg', 2), ('/mnt/data/16062025/23/04/image_16062025_23_04_55_10020.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/05/image_16062025_23_05_45_10148.jpg', '/mnt/data/16062025/23/05/image_16062025_23_05_35_10109.jpg', '/mnt/data/16062025/23/05/image_16062025_23_05_25_10203.jpg', '/mnt/data/16062025/23/05/image_16062025_23_05_15_10175.jpg', '/mnt/data/16062025/23/04/image_16062025_23_05_04_9136.jpg', '/mnt/data/16062025/23/04/image_16062025_23_04_55_10020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/05/image_16062025_23_05_45_10148.jpg
/mnt/data/16062025/23/05/image_16062025_23_05_35_10109.jpg
/mnt/data/16062025/23/05/image_16062025_23_05_25_10203.jpg
/mnt/data/16062025/23/05/image_16062025_23_05_15_10175.jpg
/mnt/data/16062025/23/04/image_16062025_23_05_04_9136.jpg
/mnt/data/16062025/23/04/image_16062025_23_04_55_10020.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 37.837122440338135 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:07:02.334235
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/06/image_16062025_23_06_45_10287.jpg', 2), ('/mnt/data/16062025/23/06/image_16062025_23_06_35_10231.jpg', 2), ('/mnt/data/16062025/23/06/image_16062025_23_06_25_10090.jpg', 2), ('/mnt/data/16062025/23/06/image_16062025_23_06_15_10150.jpg', 2), ('/mnt/data/16062025/23/05/image_16062025_23_06_05_9279.jpg', 2), ('/mnt/data/16062025/23/05/image_16062025_23_05_55_10209.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/06/image_16062025_23_06_45_10287.jpg', '/mnt/data/16062025/23/06/image_16062025_23_06_35_10231.jpg', '/mnt/data/16062025/23/06/image_16062025_23_06_25_10090.jpg', '/mnt/data/16062025/23/06/image_16062025_23_06_15_10150.jpg', '/mnt/data/16062025/23/05/image_16062025_23_06_05_9279.jpg', '/mnt/data/16062025/23/05/image_16062025_23_05_55_10209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/06/image_16062025_23_06_45_10287.jpg
/mnt/data/16062025/23/06/image_16062025_23_06_35_10231.jpg
/mnt/data/16062025/23/06/image_16062025_23_06_25_10090.jpg
/mnt/data/16062025/23/06/image_16062025_23_06_15_10150.jpg
/mnt/data/16062025/23/05/image_16062025_23_06_05_9279.jpg
/mnt/data/16062025/23/05/image_16062025_23_05_55_10209.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.227972269058228 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:08:02.374950
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg', 2), ('/mnt/data/16062025/23/06/image_16062025_23_07_04_9990.jpg', 2), ('/mnt/data/16062025/23/06/image_16062025_23_06_54_8942.jpg', 2), ('/mnt/data/16062025/23/06/image_16062025_23_06_45_10287.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg', '/mnt/data/16062025/23/06/image_16062025_23_07_04_9990.jpg', '/mnt/data/16062025/23/06/image_16062025_23_06_54_8942.jpg', '/mnt/data/16062025/23/06/image_16062025_23_06_45_10287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg
/mnt/data/16062025/23/06/image_16062025_23_07_04_9990.jpg
/mnt/data/16062025/23/06/image_16062025_23_06_54_8942.jpg
/mnt/data/16062025/23/06/image_16062025_23_06_45_10287.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.767070293426514 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:09:02.880374
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg', 2), ('/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg', '/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg
/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.384013652801514 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:10:02.731711
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg', 2), ('/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg', '/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg
/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_35_9971.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_25_9993.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_15_11151.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.178091049194336 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:11:02.843519
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/10/image_16062025_23_10_45_10076.jpg', 2), ('/mnt/data/16062025/23/10/image_16062025_23_10_25_10159.jpg', 2), ('/mnt/data/16062025/23/08/image_16062025_23_08_34_10129.jpg', 2), ('/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg', 2), ('/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg', 2), ('/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/10/image_16062025_23_10_45_10076.jpg', '/mnt/data/16062025/23/10/image_16062025_23_10_25_10159.jpg', '/mnt/data/16062025/23/08/image_16062025_23_08_34_10129.jpg', '/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg', '/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg', '/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/10/image_16062025_23_10_45_10076.jpg
/mnt/data/16062025/23/10/image_16062025_23_10_25_10159.jpg
/mnt/data/16062025/23/08/image_16062025_23_08_34_10129.jpg
/mnt/data/16062025/23/08/image_16062025_23_08_24_10029.jpg
/mnt/data/16062025/23/08/image_16062025_23_08_14_9921.jpg
/mnt/data/16062025/23/07/image_16062025_23_07_54_8860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.259859561920166 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:12:02.897273
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/11/image_16062025_23_11_24_8974.jpg', 2), ('/mnt/data/16062025/23/10/image_16062025_23_11_05_10380.jpg', 2), ('/mnt/data/16062025/23/10/image_16062025_23_10_55_10047.jpg', 2), ('/mnt/data/16062025/23/10/image_16062025_23_10_45_10076.jpg', 2), ('/mnt/data/16062025/23/10/image_16062025_23_10_25_10159.jpg', 2), ('/mnt/data/16062025/23/08/image_16062025_23_08_34_10129.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/11/image_16062025_23_11_24_8974.jpg', '/mnt/data/16062025/23/10/image_16062025_23_11_05_10380.jpg', '/mnt/data/16062025/23/10/image_16062025_23_10_55_10047.jpg', '/mnt/data/16062025/23/10/image_16062025_23_10_45_10076.jpg', '/mnt/data/16062025/23/10/image_16062025_23_10_25_10159.jpg', '/mnt/data/16062025/23/08/image_16062025_23_08_34_10129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/11/image_16062025_23_11_24_8974.jpg
/mnt/data/16062025/23/10/image_16062025_23_11_05_10380.jpg
/mnt/data/16062025/23/10/image_16062025_23_10_55_10047.jpg
/mnt/data/16062025/23/10/image_16062025_23_10_45_10076.jpg
/mnt/data/16062025/23/10/image_16062025_23_10_25_10159.jpg
/mnt/data/16062025/23/08/image_16062025_23_08_34_10129.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2302987575531 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:13:03.143438
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/12/image_16062025_23_12_35_10115.jpg', 2), ('/mnt/data/16062025/23/12/image_16062025_23_12_25_10096.jpg', 2), ('/mnt/data/16062025/23/11/image_16062025_23_11_45_10110.jpg', 2), ('/mnt/data/16062025/23/11/image_16062025_23_11_24_8974.jpg', 2), ('/mnt/data/16062025/23/10/image_16062025_23_11_05_10380.jpg', 2), ('/mnt/data/16062025/23/10/image_16062025_23_10_55_10047.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/12/image_16062025_23_12_35_10115.jpg', '/mnt/data/16062025/23/12/image_16062025_23_12_25_10096.jpg', '/mnt/data/16062025/23/11/image_16062025_23_11_45_10110.jpg', '/mnt/data/16062025/23/11/image_16062025_23_11_24_8974.jpg', '/mnt/data/16062025/23/10/image_16062025_23_11_05_10380.jpg', '/mnt/data/16062025/23/10/image_16062025_23_10_55_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/12/image_16062025_23_12_35_10115.jpg
/mnt/data/16062025/23/12/image_16062025_23_12_25_10096.jpg
/mnt/data/16062025/23/11/image_16062025_23_11_45_10110.jpg
/mnt/data/16062025/23/11/image_16062025_23_11_24_8974.jpg
/mnt/data/16062025/23/10/image_16062025_23_11_05_10380.jpg
/mnt/data/16062025/23/10/image_16062025_23_10_55_10047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.26273536682129 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:14:03.142672
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/13/image_16062025_23_13_35_10174.jpg', 2), ('/mnt/data/16062025/23/13/image_16062025_23_13_14_10055.jpg', 2), ('/mnt/data/16062025/23/12/image_16062025_23_13_04_9078.jpg', 2), ('/mnt/data/16062025/23/12/image_16062025_23_12_55_10098.jpg', 2), ('/mnt/data/16062025/23/12/image_16062025_23_12_35_10115.jpg', 2), ('/mnt/data/16062025/23/12/image_16062025_23_12_25_10096.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/13/image_16062025_23_13_35_10174.jpg', '/mnt/data/16062025/23/13/image_16062025_23_13_14_10055.jpg', '/mnt/data/16062025/23/12/image_16062025_23_13_04_9078.jpg', '/mnt/data/16062025/23/12/image_16062025_23_12_55_10098.jpg', '/mnt/data/16062025/23/12/image_16062025_23_12_35_10115.jpg', '/mnt/data/16062025/23/12/image_16062025_23_12_25_10096.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/13/image_16062025_23_13_35_10174.jpg
/mnt/data/16062025/23/13/image_16062025_23_13_14_10055.jpg
/mnt/data/16062025/23/12/image_16062025_23_13_04_9078.jpg
/mnt/data/16062025/23/12/image_16062025_23_12_55_10098.jpg
/mnt/data/16062025/23/12/image_16062025_23_12_35_10115.jpg
/mnt/data/16062025/23/12/image_16062025_23_12_25_10096.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23668360710144 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:15:03.298394
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/14/image_16062025_23_14_45_9939.jpg', 2), ('/mnt/data/16062025/23/14/image_16062025_23_14_35_9919.jpg', 2), ('/mnt/data/16062025/23/14/image_16062025_23_14_25_9954.jpg', 2), ('/mnt/data/16062025/23/14/image_16062025_23_14_15_10050.jpg', 2), ('/mnt/data/16062025/23/13/image_16062025_23_14_05_9986.jpg', 2), ('/mnt/data/16062025/23/13/image_16062025_23_13_45_10085.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/14/image_16062025_23_14_45_9939.jpg', '/mnt/data/16062025/23/14/image_16062025_23_14_35_9919.jpg', '/mnt/data/16062025/23/14/image_16062025_23_14_25_9954.jpg', '/mnt/data/16062025/23/14/image_16062025_23_14_15_10050.jpg', '/mnt/data/16062025/23/13/image_16062025_23_14_05_9986.jpg', '/mnt/data/16062025/23/13/image_16062025_23_13_45_10085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/14/image_16062025_23_14_45_9939.jpg
/mnt/data/16062025/23/14/image_16062025_23_14_35_9919.jpg
/mnt/data/16062025/23/14/image_16062025_23_14_25_9954.jpg
/mnt/data/16062025/23/14/image_16062025_23_14_15_10050.jpg
/mnt/data/16062025/23/13/image_16062025_23_14_05_9986.jpg
/mnt/data/16062025/23/13/image_16062025_23_13_45_10085.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! 
uploaded 0 photos
time to upload: 144.4057638645172 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:18:02.442537
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/17/image_16062025_23_17_45_10178.jpg', 2), ('/mnt/data/16062025/23/17/image_16062025_23_17_35_10147.jpg', 2), ('/mnt/data/16062025/23/17/image_16062025_23_17_25_10284.jpg', 2), ('/mnt/data/16062025/23/17/image_16062025_23_17_15_10149.jpg', 2), ('/mnt/data/16062025/23/16/image_16062025_23_17_05_10228.jpg', 2), ('/mnt/data/16062025/23/16/image_16062025_23_16_54_8984.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/17/image_16062025_23_17_45_10178.jpg', '/mnt/data/16062025/23/17/image_16062025_23_17_35_10147.jpg', '/mnt/data/16062025/23/17/image_16062025_23_17_25_10284.jpg', '/mnt/data/16062025/23/17/image_16062025_23_17_15_10149.jpg', '/mnt/data/16062025/23/16/image_16062025_23_17_05_10228.jpg', '/mnt/data/16062025/23/16/image_16062025_23_16_54_8984.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/17/image_16062025_23_17_45_10178.jpg
/mnt/data/16062025/23/17/image_16062025_23_17_35_10147.jpg
/mnt/data/16062025/23/17/image_16062025_23_17_25_10284.jpg
/mnt/data/16062025/23/17/image_16062025_23_17_15_10149.jpg
/mnt/data/16062025/23/16/image_16062025_23_17_05_10228.jpg
/mnt/data/16062025/23/16/image_16062025_23_16_54_8984.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.2006573677063 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:19:02.847828
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/18/image_16062025_23_18_45_10149.jpg', 2), ('/mnt/data/16062025/23/18/image_16062025_23_18_35_10109.jpg', 2), ('/mnt/data/16062025/23/18/image_16062025_23_18_25_10229.jpg', 2), ('/mnt/data/16062025/23/18/image_16062025_23_18_15_10105.jpg', 2), ('/mnt/data/16062025/23/17/image_16062025_23_18_04_10149.jpg', 2), ('/mnt/data/16062025/23/17/image_16062025_23_17_54_9038.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/18/image_16062025_23_18_45_10149.jpg', '/mnt/data/16062025/23/18/image_16062025_23_18_35_10109.jpg', '/mnt/data/16062025/23/18/image_16062025_23_18_25_10229.jpg', '/mnt/data/16062025/23/18/image_16062025_23_18_15_10105.jpg', '/mnt/data/16062025/23/17/image_16062025_23_18_04_10149.jpg', '/mnt/data/16062025/23/17/image_16062025_23_17_54_9038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/18/image_16062025_23_18_45_10149.jpg
/mnt/data/16062025/23/18/image_16062025_23_18_35_10109.jpg
/mnt/data/16062025/23/18/image_16062025_23_18_25_10229.jpg
/mnt/data/16062025/23/18/image_16062025_23_18_15_10105.jpg
/mnt/data/16062025/23/17/image_16062025_23_18_04_10149.jpg
/mnt/data/16062025/23/17/image_16062025_23_17_54_9038.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.199804306030273 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:20:02.835677
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/19/image_16062025_23_19_45_10274.jpg', 2), ('/mnt/data/16062025/23/19/image_16062025_23_19_34_10166.jpg', 2), ('/mnt/data/16062025/23/19/image_16062025_23_19_24_8928.jpg', 2), ('/mnt/data/16062025/23/19/image_16062025_23_19_15_10261.jpg', 2), ('/mnt/data/16062025/23/18/image_16062025_23_19_05_9969.jpg', 2), ('/mnt/data/16062025/23/18/image_16062025_23_18_55_10096.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/19/image_16062025_23_19_45_10274.jpg', '/mnt/data/16062025/23/19/image_16062025_23_19_34_10166.jpg', '/mnt/data/16062025/23/19/image_16062025_23_19_24_8928.jpg', '/mnt/data/16062025/23/19/image_16062025_23_19_15_10261.jpg', '/mnt/data/16062025/23/18/image_16062025_23_19_05_9969.jpg', '/mnt/data/16062025/23/18/image_16062025_23_18_55_10096.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/19/image_16062025_23_19_45_10274.jpg
/mnt/data/16062025/23/19/image_16062025_23_19_34_10166.jpg
/mnt/data/16062025/23/19/image_16062025_23_19_24_8928.jpg
/mnt/data/16062025/23/19/image_16062025_23_19_15_10261.jpg
/mnt/data/16062025/23/18/image_16062025_23_19_05_9969.jpg
/mnt/data/16062025/23/18/image_16062025_23_18_55_10096.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.95280742645264 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:21:02.976945
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/20/image_16062025_23_20_45_10309.jpg', 2), ('/mnt/data/16062025/23/20/image_16062025_23_20_35_10218.jpg', 2), ('/mnt/data/16062025/23/20/image_16062025_23_20_25_10226.jpg', 2), ('/mnt/data/16062025/23/20/image_16062025_23_20_14_8928.jpg', 2), ('/mnt/data/16062025/23/19/image_16062025_23_20_05_10450.jpg', 2), ('/mnt/data/16062025/23/19/image_16062025_23_19_55_10163.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/20/image_16062025_23_20_45_10309.jpg', '/mnt/data/16062025/23/20/image_16062025_23_20_35_10218.jpg', '/mnt/data/16062025/23/20/image_16062025_23_20_25_10226.jpg', '/mnt/data/16062025/23/20/image_16062025_23_20_14_8928.jpg', '/mnt/data/16062025/23/19/image_16062025_23_20_05_10450.jpg', '/mnt/data/16062025/23/19/image_16062025_23_19_55_10163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/20/image_16062025_23_20_45_10309.jpg
/mnt/data/16062025/23/20/image_16062025_23_20_35_10218.jpg
/mnt/data/16062025/23/20/image_16062025_23_20_25_10226.jpg
/mnt/data/16062025/23/20/image_16062025_23_20_14_8928.jpg
/mnt/data/16062025/23/19/image_16062025_23_20_05_10450.jpg
/mnt/data/16062025/23/19/image_16062025_23_19_55_10163.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.351020574569702 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:22:02.945535
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/21/image_16062025_23_21_45_9954.jpg', 2), ('/mnt/data/16062025/23/21/image_16062025_23_21_35_11162.jpg', 2), ('/mnt/data/16062025/23/21/image_16062025_23_21_24_9963.jpg', 2), ('/mnt/data/16062025/23/21/image_16062025_23_21_14_8870.jpg', 2), ('/mnt/data/16062025/23/20/image_16062025_23_21_05_10212.jpg', 2), ('/mnt/data/16062025/23/20/image_16062025_23_20_55_10157.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/21/image_16062025_23_21_45_9954.jpg', '/mnt/data/16062025/23/21/image_16062025_23_21_35_11162.jpg', '/mnt/data/16062025/23/21/image_16062025_23_21_24_9963.jpg', '/mnt/data/16062025/23/21/image_16062025_23_21_14_8870.jpg', '/mnt/data/16062025/23/20/image_16062025_23_21_05_10212.jpg', '/mnt/data/16062025/23/20/image_16062025_23_20_55_10157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/21/image_16062025_23_21_45_9954.jpg
/mnt/data/16062025/23/21/image_16062025_23_21_35_11162.jpg
/mnt/data/16062025/23/21/image_16062025_23_21_24_9963.jpg
/mnt/data/16062025/23/21/image_16062025_23_21_14_8870.jpg
/mnt/data/16062025/23/20/image_16062025_23_21_05_10212.jpg
/mnt/data/16062025/23/20/image_16062025_23_20_55_10157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.46641445159912 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:23:03.150596
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/22/image_16062025_23_22_45_10011.jpg', 2), ('/mnt/data/16062025/23/22/image_16062025_23_22_35_10366.jpg', 2), ('/mnt/data/16062025/23/22/image_16062025_23_22_24_10005.jpg', 2), ('/mnt/data/16062025/23/22/image_16062025_23_22_14_9988.jpg', 2), ('/mnt/data/16062025/23/21/image_16062025_23_22_04_9033.jpg', 2), ('/mnt/data/16062025/23/21/image_16062025_23_21_55_9974.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/22/image_16062025_23_22_45_10011.jpg', '/mnt/data/16062025/23/22/image_16062025_23_22_35_10366.jpg', '/mnt/data/16062025/23/22/image_16062025_23_22_24_10005.jpg', '/mnt/data/16062025/23/22/image_16062025_23_22_14_9988.jpg', '/mnt/data/16062025/23/21/image_16062025_23_22_04_9033.jpg', '/mnt/data/16062025/23/21/image_16062025_23_21_55_9974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/22/image_16062025_23_22_45_10011.jpg
/mnt/data/16062025/23/22/image_16062025_23_22_35_10366.jpg
/mnt/data/16062025/23/22/image_16062025_23_22_24_10005.jpg
/mnt/data/16062025/23/22/image_16062025_23_22_14_9988.jpg
/mnt/data/16062025/23/21/image_16062025_23_22_04_9033.jpg
/mnt/data/16062025/23/21/image_16062025_23_21_55_9974.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
begin to post requests
after request
<Response [200]>
b'{"photo_ids":["1366607407","1366607401","1366607439","1366607432","1366607414","1366607423"],"photo_ids_order":["1366607401","1366607407","1366607414","1366607423","1366607432","1366607439"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/b8fc6998e07c61f268b2c9b204de0844.jpg","text":"TemporaryFile(/tmp/multipartBody4611011795953706573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750109070691,"filename":"image_16062025_23_22_35_10366.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/12655db90133e37162d2adebd8d87ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1652022855911366803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750109070691,"filename":"image_16062025_23_22_45_10011.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/8adbe9a927e212366ef92e0aba3be813.jpg","text":"TemporaryFile(/tmp/multipartBody2654450747484505225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750109070691,"filename":"image_16062025_23_21_55_9974.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/1538d628d1f8b3d3da12fdd59005f24a.jpg","text":"TemporaryFile(/tmp/multipartBody8031952403801678626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750109070691,"filename":"image_16062025_23_22_04_9033.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/d8586ef69c6cebe7ca442261b969e98d.jpg","text":"TemporaryFile(/tmp/multipartBody2657950607175868257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750109070691,"filename":"image_16062025_23_22_24_10005.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/6/16/bb43795319c0f4f7b1d29f5cd407ec52.jpg","text":"TemporaryFile(/tmp/multipartBody6258213051086529112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1750109070691,"filename":"image_16062025_23_22_14_9988.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1366607414","file1":"1366607407","file0":"1366607401","file4":"1366607432","file5":"1366607439","file3":"1366607423"},"map_files_photo_id_array":[{"photo_id":"1366607439","filename":"file5"},{"photo_id":"1366607414","filename":"file2"},{"photo_id":"1366607432","filename":"file4"},{"photo_id":"1366607407","filename":"file1"},{"photo_id":"1366607401","filename":"file0"},{"photo_id":"1366607423","filename":"file3"}],"portfolio_id":24047899,"hashtag_by_photo_ids":[{"1366607407":["hashtag1","hashtag2"]},{"1366607401":["hashtag1","hashtag2"]},{"1366607439":["hashtag1","hashtag2"]},{"1366607432":["hashtag1","hashtag2"]},{"1366607414":["hashtag1","hashtag2"]},{"1366607423":["hashtag1","hashtag2"]}],"comms":"Portfolio 24047899 used, photo_id : ArrayBuffer(1366607407, 1366607401, 1366607439, 1366607432, 1366607414, 1366607423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 122.73073983192444 secondes ---
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --last_days 20 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:25:13.939430
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/25/image_16062025_23_25_45_9982.jpg', 2), ('/mnt/data/16062025/23/25/image_16062025_23_25_35_10113.jpg', 2), ('/mnt/data/16062025/23/25/image_16062025_23_25_25_10009.jpg', 2), ('/mnt/data/16062025/23/25/image_16062025_23_25_15_10061.jpg', 2), ('/mnt/data/16062025/23/24/image_16062025_23_25_05_9995.jpg', 2), ('/mnt/data/16062025/23/24/image_16062025_23_24_55_9992.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/25/image_16062025_23_25_45_9982.jpg', '/mnt/data/16062025/23/25/image_16062025_23_25_35_10113.jpg', '/mnt/data/16062025/23/25/image_16062025_23_25_25_10009.jpg', '/mnt/data/16062025/23/25/image_16062025_23_25_15_10061.jpg', '/mnt/data/16062025/23/24/image_16062025_23_25_05_9995.jpg', '/mnt/data/16062025/23/24/image_16062025_23_24_55_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/25/image_16062025_23_25_45_9982.jpg
/mnt/data/16062025/23/25/image_16062025_23_25_35_10113.jpg
/mnt/data/16062025/23/25/image_16062025_23_25_25_10009.jpg
/mnt/data/16062025/23/25/image_16062025_23_25_15_10061.jpg
/mnt/data/16062025/23/24/image_16062025_23_25_05_9995.jpg
/mnt/data/16062025/23/24/image_16062025_23_24_55_9992.jpg
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.25553035736084 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:26:02.572667
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/25/image_16062025_23_25_45_9982.jpg', 2), ('/mnt/data/16062025/23/25/image_16062025_23_25_35_10113.jpg', 2), ('/mnt/data/16062025/23/25/image_16062025_23_25_25_10009.jpg', 2), ('/mnt/data/16062025/23/25/image_16062025_23_25_15_10061.jpg', 2), ('/mnt/data/16062025/23/24/image_16062025_23_25_05_9995.jpg', 2), ('/mnt/data/16062025/23/24/image_16062025_23_24_55_9992.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/25/image_16062025_23_25_45_9982.jpg', '/mnt/data/16062025/23/25/image_16062025_23_25_35_10113.jpg', '/mnt/data/16062025/23/25/image_16062025_23_25_25_10009.jpg', '/mnt/data/16062025/23/25/image_16062025_23_25_15_10061.jpg', '/mnt/data/16062025/23/24/image_16062025_23_25_05_9995.jpg', '/mnt/data/16062025/23/24/image_16062025_23_24_55_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/25/image_16062025_23_25_45_9982.jpg
/mnt/data/16062025/23/25/image_16062025_23_25_35_10113.jpg
/mnt/data/16062025/23/25/image_16062025_23_25_25_10009.jpg
/mnt/data/16062025/23/25/image_16062025_23_25_15_10061.jpg
/mnt/data/16062025/23/24/image_16062025_23_25_05_9995.jpg
/mnt/data/16062025/23/24/image_16062025_23_24_55_9992.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.1934871673584 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:27:02.746696
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/26/image_16062025_23_26_45_9970.jpg', 2), ('/mnt/data/16062025/23/26/image_16062025_23_26_35_9790.jpg', 2), ('/mnt/data/16062025/23/26/image_16062025_23_26_25_11191.jpg', 2), ('/mnt/data/16062025/23/26/image_16062025_23_26_14_9062.jpg', 2), ('/mnt/data/16062025/23/25/image_16062025_23_26_05_10193.jpg', 2), ('/mnt/data/16062025/23/25/image_16062025_23_25_55_9997.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/26/image_16062025_23_26_45_9970.jpg', '/mnt/data/16062025/23/26/image_16062025_23_26_35_9790.jpg', '/mnt/data/16062025/23/26/image_16062025_23_26_25_11191.jpg', '/mnt/data/16062025/23/26/image_16062025_23_26_14_9062.jpg', '/mnt/data/16062025/23/25/image_16062025_23_26_05_10193.jpg', '/mnt/data/16062025/23/25/image_16062025_23_25_55_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/26/image_16062025_23_26_45_9970.jpg
/mnt/data/16062025/23/26/image_16062025_23_26_35_9790.jpg
/mnt/data/16062025/23/26/image_16062025_23_26_25_11191.jpg
/mnt/data/16062025/23/26/image_16062025_23_26_14_9062.jpg
/mnt/data/16062025/23/25/image_16062025_23_26_05_10193.jpg
/mnt/data/16062025/23/25/image_16062025_23_25_55_9997.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.20638656616211 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:29:03.115209
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_27_25_10018.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_27_15_9986.jpg', 2), ('/mnt/data/16062025/23/26/image_16062025_23_27_05_9977.jpg', 2), ('/mnt/data/16062025/23/26/image_16062025_23_26_55_10169.jpg', 2), ('/mnt/data/16062025/23/26/image_16062025_23_26_45_9970.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg', '/mnt/data/16062025/23/27/image_16062025_23_27_25_10018.jpg', '/mnt/data/16062025/23/27/image_16062025_23_27_15_9986.jpg', '/mnt/data/16062025/23/26/image_16062025_23_27_05_9977.jpg', '/mnt/data/16062025/23/26/image_16062025_23_26_55_10169.jpg', '/mnt/data/16062025/23/26/image_16062025_23_26_45_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg
/mnt/data/16062025/23/27/image_16062025_23_27_25_10018.jpg
/mnt/data/16062025/23/27/image_16062025_23_27_15_9986.jpg
/mnt/data/16062025/23/26/image_16062025_23_27_05_9977.jpg
/mnt/data/16062025/23/26/image_16062025_23_26_55_10169.jpg
/mnt/data/16062025/23/26/image_16062025_23_26_45_9970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.37424111366272 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:30:03.026492
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/29/image_16062025_23_29_44_10132.jpg', 2), ('/mnt/data/16062025/23/28/image_16062025_23_28_25_10166.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_28_05_10206.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_27_45_10133.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_27_25_10018.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/29/image_16062025_23_29_44_10132.jpg', '/mnt/data/16062025/23/28/image_16062025_23_28_25_10166.jpg', '/mnt/data/16062025/23/27/image_16062025_23_28_05_10206.jpg', '/mnt/data/16062025/23/27/image_16062025_23_27_45_10133.jpg', '/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg', '/mnt/data/16062025/23/27/image_16062025_23_27_25_10018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/29/image_16062025_23_29_44_10132.jpg
/mnt/data/16062025/23/28/image_16062025_23_28_25_10166.jpg
/mnt/data/16062025/23/27/image_16062025_23_28_05_10206.jpg
/mnt/data/16062025/23/27/image_16062025_23_27_45_10133.jpg
/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg
/mnt/data/16062025/23/27/image_16062025_23_27_25_10018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.607463359832764 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:31:03.285664
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/29/image_16062025_23_29_54_9918.jpg', 2), ('/mnt/data/16062025/23/29/image_16062025_23_29_44_10132.jpg', 2), ('/mnt/data/16062025/23/28/image_16062025_23_28_25_10166.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_28_05_10206.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_27_45_10133.jpg', 2), ('/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/29/image_16062025_23_29_54_9918.jpg', '/mnt/data/16062025/23/29/image_16062025_23_29_44_10132.jpg', '/mnt/data/16062025/23/28/image_16062025_23_28_25_10166.jpg', '/mnt/data/16062025/23/27/image_16062025_23_28_05_10206.jpg', '/mnt/data/16062025/23/27/image_16062025_23_27_45_10133.jpg', '/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/29/image_16062025_23_29_54_9918.jpg
/mnt/data/16062025/23/29/image_16062025_23_29_44_10132.jpg
/mnt/data/16062025/23/28/image_16062025_23_28_25_10166.jpg
/mnt/data/16062025/23/27/image_16062025_23_28_05_10206.jpg
/mnt/data/16062025/23/27/image_16062025_23_27_45_10133.jpg
/mnt/data/16062025/23/27/image_16062025_23_27_35_9978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.198052644729614 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:32:02.277346
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/31/image_16062025_23_31_45_10043.jpg', 2), ('/mnt/data/16062025/23/31/image_16062025_23_31_35_9937.jpg', 2), ('/mnt/data/16062025/23/31/image_16062025_23_31_25_9922.jpg', 2), ('/mnt/data/16062025/23/31/image_16062025_23_31_15_9960.jpg', 2), ('/mnt/data/16062025/23/30/image_16062025_23_30_15_10090.jpg', 2), ('/mnt/data/16062025/23/29/image_16062025_23_29_54_9918.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/31/image_16062025_23_31_45_10043.jpg', '/mnt/data/16062025/23/31/image_16062025_23_31_35_9937.jpg', '/mnt/data/16062025/23/31/image_16062025_23_31_25_9922.jpg', '/mnt/data/16062025/23/31/image_16062025_23_31_15_9960.jpg', '/mnt/data/16062025/23/30/image_16062025_23_30_15_10090.jpg', '/mnt/data/16062025/23/29/image_16062025_23_29_54_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/31/image_16062025_23_31_45_10043.jpg
/mnt/data/16062025/23/31/image_16062025_23_31_35_9937.jpg
/mnt/data/16062025/23/31/image_16062025_23_31_25_9922.jpg
/mnt/data/16062025/23/31/image_16062025_23_31_15_9960.jpg
/mnt/data/16062025/23/30/image_16062025_23_30_15_10090.jpg
/mnt/data/16062025/23/29/image_16062025_23_29_54_9918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.243398904800415 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:33:02.572306
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/32/image_16062025_23_32_44_9053.jpg', 2), ('/mnt/data/16062025/23/32/image_16062025_23_32_35_10249.jpg', 2), ('/mnt/data/16062025/23/32/image_16062025_23_32_25_10086.jpg', 2), ('/mnt/data/16062025/23/32/image_16062025_23_32_15_10008.jpg', 2), ('/mnt/data/16062025/23/31/image_16062025_23_32_05_10094.jpg', 2), ('/mnt/data/16062025/23/31/image_16062025_23_31_55_9982.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/32/image_16062025_23_32_44_9053.jpg', '/mnt/data/16062025/23/32/image_16062025_23_32_35_10249.jpg', '/mnt/data/16062025/23/32/image_16062025_23_32_25_10086.jpg', '/mnt/data/16062025/23/32/image_16062025_23_32_15_10008.jpg', '/mnt/data/16062025/23/31/image_16062025_23_32_05_10094.jpg', '/mnt/data/16062025/23/31/image_16062025_23_31_55_9982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/32/image_16062025_23_32_44_9053.jpg
/mnt/data/16062025/23/32/image_16062025_23_32_35_10249.jpg
/mnt/data/16062025/23/32/image_16062025_23_32_25_10086.jpg
/mnt/data/16062025/23/32/image_16062025_23_32_15_10008.jpg
/mnt/data/16062025/23/31/image_16062025_23_32_05_10094.jpg
/mnt/data/16062025/23/31/image_16062025_23_31_55_9982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.463114976882935 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:34:02.571945
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/33/image_16062025_23_33_35_9955.jpg', 2), ('/mnt/data/16062025/23/33/image_16062025_23_33_25_9944.jpg', 2), ('/mnt/data/16062025/23/33/image_16062025_23_33_15_9982.jpg', 2), ('/mnt/data/16062025/23/32/image_16062025_23_33_05_10181.jpg', 2), ('/mnt/data/16062025/23/32/image_16062025_23_32_54_10211.jpg', 2), ('/mnt/data/16062025/23/32/image_16062025_23_32_44_9053.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/33/image_16062025_23_33_35_9955.jpg', '/mnt/data/16062025/23/33/image_16062025_23_33_25_9944.jpg', '/mnt/data/16062025/23/33/image_16062025_23_33_15_9982.jpg', '/mnt/data/16062025/23/32/image_16062025_23_33_05_10181.jpg', '/mnt/data/16062025/23/32/image_16062025_23_32_54_10211.jpg', '/mnt/data/16062025/23/32/image_16062025_23_32_44_9053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/33/image_16062025_23_33_35_9955.jpg
/mnt/data/16062025/23/33/image_16062025_23_33_25_9944.jpg
/mnt/data/16062025/23/33/image_16062025_23_33_15_9982.jpg
/mnt/data/16062025/23/32/image_16062025_23_33_05_10181.jpg
/mnt/data/16062025/23/32/image_16062025_23_32_54_10211.jpg
/mnt/data/16062025/23/32/image_16062025_23_32_44_9053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.330671548843384 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:35:02.677039
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/33/image_16062025_23_33_45_10017.jpg', 2), ('/mnt/data/16062025/23/33/image_16062025_23_33_35_9955.jpg', 2), ('/mnt/data/16062025/23/33/image_16062025_23_33_25_9944.jpg', 2), ('/mnt/data/16062025/23/33/image_16062025_23_33_15_9982.jpg', 2), ('/mnt/data/16062025/23/32/image_16062025_23_33_05_10181.jpg', 2), ('/mnt/data/16062025/23/32/image_16062025_23_32_54_10211.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/33/image_16062025_23_33_45_10017.jpg', '/mnt/data/16062025/23/33/image_16062025_23_33_35_9955.jpg', '/mnt/data/16062025/23/33/image_16062025_23_33_25_9944.jpg', '/mnt/data/16062025/23/33/image_16062025_23_33_15_9982.jpg', '/mnt/data/16062025/23/32/image_16062025_23_33_05_10181.jpg', '/mnt/data/16062025/23/32/image_16062025_23_32_54_10211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/33/image_16062025_23_33_45_10017.jpg
/mnt/data/16062025/23/33/image_16062025_23_33_35_9955.jpg
/mnt/data/16062025/23/33/image_16062025_23_33_25_9944.jpg
/mnt/data/16062025/23/33/image_16062025_23_33_15_9982.jpg
/mnt/data/16062025/23/32/image_16062025_23_33_05_10181.jpg
/mnt/data/16062025/23/32/image_16062025_23_32_54_10211.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.189629316329956 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:36:02.708744
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/35/image_16062025_23_35_45_9964.jpg', 2), ('/mnt/data/16062025/23/35/image_16062025_23_35_35_10041.jpg', 2), ('/mnt/data/16062025/23/35/image_16062025_23_35_25_9968.jpg', 2), ('/mnt/data/16062025/23/35/image_16062025_23_35_15_10167.jpg', 2), ('/mnt/data/16062025/23/34/image_16062025_23_34_54_10071.jpg', 2), ('/mnt/data/16062025/23/33/image_16062025_23_33_45_10017.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/35/image_16062025_23_35_45_9964.jpg', '/mnt/data/16062025/23/35/image_16062025_23_35_35_10041.jpg', '/mnt/data/16062025/23/35/image_16062025_23_35_25_9968.jpg', '/mnt/data/16062025/23/35/image_16062025_23_35_15_10167.jpg', '/mnt/data/16062025/23/34/image_16062025_23_34_54_10071.jpg', '/mnt/data/16062025/23/33/image_16062025_23_33_45_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/35/image_16062025_23_35_45_9964.jpg
/mnt/data/16062025/23/35/image_16062025_23_35_35_10041.jpg
/mnt/data/16062025/23/35/image_16062025_23_35_25_9968.jpg
/mnt/data/16062025/23/35/image_16062025_23_35_15_10167.jpg
/mnt/data/16062025/23/34/image_16062025_23_34_54_10071.jpg
/mnt/data/16062025/23/33/image_16062025_23_33_45_10017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.91950535774231 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:37:02.949772
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/36/image_16062025_23_36_45_9944.jpg', 2), ('/mnt/data/16062025/23/36/image_16062025_23_36_35_10083.jpg', 2), ('/mnt/data/16062025/23/36/image_16062025_23_36_25_10022.jpg', 2), ('/mnt/data/16062025/23/36/image_16062025_23_36_15_10033.jpg', 2), ('/mnt/data/16062025/23/35/image_16062025_23_36_05_10086.jpg', 2), ('/mnt/data/16062025/23/35/image_16062025_23_35_55_9943.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/36/image_16062025_23_36_45_9944.jpg', '/mnt/data/16062025/23/36/image_16062025_23_36_35_10083.jpg', '/mnt/data/16062025/23/36/image_16062025_23_36_25_10022.jpg', '/mnt/data/16062025/23/36/image_16062025_23_36_15_10033.jpg', '/mnt/data/16062025/23/35/image_16062025_23_36_05_10086.jpg', '/mnt/data/16062025/23/35/image_16062025_23_35_55_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/36/image_16062025_23_36_45_9944.jpg
/mnt/data/16062025/23/36/image_16062025_23_36_35_10083.jpg
/mnt/data/16062025/23/36/image_16062025_23_36_25_10022.jpg
/mnt/data/16062025/23/36/image_16062025_23_36_15_10033.jpg
/mnt/data/16062025/23/35/image_16062025_23_36_05_10086.jpg
/mnt/data/16062025/23/35/image_16062025_23_35_55_9943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 31.647038221359253 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:38:02.974093
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/37/image_16062025_23_37_35_10236.jpg', 2), ('/mnt/data/16062025/23/37/image_16062025_23_37_25_9950.jpg', 2), ('/mnt/data/16062025/23/37/image_16062025_23_37_15_9729.jpg', 2), ('/mnt/data/16062025/23/36/image_16062025_23_37_05_10396.jpg', 2), ('/mnt/data/16062025/23/36/image_16062025_23_36_55_10173.jpg', 2), ('/mnt/data/16062025/23/36/image_16062025_23_36_45_9944.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/37/image_16062025_23_37_35_10236.jpg', '/mnt/data/16062025/23/37/image_16062025_23_37_25_9950.jpg', '/mnt/data/16062025/23/37/image_16062025_23_37_15_9729.jpg', '/mnt/data/16062025/23/36/image_16062025_23_37_05_10396.jpg', '/mnt/data/16062025/23/36/image_16062025_23_36_55_10173.jpg', '/mnt/data/16062025/23/36/image_16062025_23_36_45_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/37/image_16062025_23_37_35_10236.jpg
/mnt/data/16062025/23/37/image_16062025_23_37_25_9950.jpg
/mnt/data/16062025/23/37/image_16062025_23_37_15_9729.jpg
/mnt/data/16062025/23/36/image_16062025_23_37_05_10396.jpg
/mnt/data/16062025/23/36/image_16062025_23_36_55_10173.jpg
/mnt/data/16062025/23/36/image_16062025_23_36_45_9944.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.250205993652344 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:39:03.204889
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/38/image_16062025_23_38_45_10011.jpg', 2), ('/mnt/data/16062025/23/38/image_16062025_23_38_35_10243.jpg', 2), ('/mnt/data/16062025/23/38/image_16062025_23_38_25_10199.jpg', 2), ('/mnt/data/16062025/23/38/image_16062025_23_38_15_10009.jpg', 2), ('/mnt/data/16062025/23/37/image_16062025_23_38_05_10242.jpg', 2), ('/mnt/data/16062025/23/37/image_16062025_23_37_54_10126.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/38/image_16062025_23_38_45_10011.jpg', '/mnt/data/16062025/23/38/image_16062025_23_38_35_10243.jpg', '/mnt/data/16062025/23/38/image_16062025_23_38_25_10199.jpg', '/mnt/data/16062025/23/38/image_16062025_23_38_15_10009.jpg', '/mnt/data/16062025/23/37/image_16062025_23_38_05_10242.jpg', '/mnt/data/16062025/23/37/image_16062025_23_37_54_10126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/38/image_16062025_23_38_45_10011.jpg
/mnt/data/16062025/23/38/image_16062025_23_38_35_10243.jpg
/mnt/data/16062025/23/38/image_16062025_23_38_25_10199.jpg
/mnt/data/16062025/23/38/image_16062025_23_38_15_10009.jpg
/mnt/data/16062025/23/37/image_16062025_23_38_05_10242.jpg
/mnt/data/16062025/23/37/image_16062025_23_37_54_10126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.23212718963623 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:40:03.105459
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/39/image_16062025_23_39_45_10115.jpg', 2), ('/mnt/data/16062025/23/39/image_16062025_23_39_35_10130.jpg', 2), ('/mnt/data/16062025/23/39/image_16062025_23_39_25_10199.jpg', 2), ('/mnt/data/16062025/23/39/image_16062025_23_39_14_10218.jpg', 2), ('/mnt/data/16062025/23/38/image_16062025_23_39_04_9033.jpg', 2), ('/mnt/data/16062025/23/38/image_16062025_23_38_55_10121.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/39/image_16062025_23_39_45_10115.jpg', '/mnt/data/16062025/23/39/image_16062025_23_39_35_10130.jpg', '/mnt/data/16062025/23/39/image_16062025_23_39_25_10199.jpg', '/mnt/data/16062025/23/39/image_16062025_23_39_14_10218.jpg', '/mnt/data/16062025/23/38/image_16062025_23_39_04_9033.jpg', '/mnt/data/16062025/23/38/image_16062025_23_38_55_10121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/39/image_16062025_23_39_45_10115.jpg
/mnt/data/16062025/23/39/image_16062025_23_39_35_10130.jpg
/mnt/data/16062025/23/39/image_16062025_23_39_25_10199.jpg
/mnt/data/16062025/23/39/image_16062025_23_39_14_10218.jpg
/mnt/data/16062025/23/38/image_16062025_23_39_04_9033.jpg
/mnt/data/16062025/23/38/image_16062025_23_38_55_10121.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 33.56507897377014 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:41:02.298636
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/40/image_16062025_23_40_45_11146.jpg', 2), ('/mnt/data/16062025/23/40/image_16062025_23_40_34_9931.jpg', 2), ('/mnt/data/16062025/23/40/image_16062025_23_40_24_9978.jpg', 2), ('/mnt/data/16062025/23/40/image_16062025_23_40_14_8931.jpg', 2), ('/mnt/data/16062025/23/39/image_16062025_23_40_05_10393.jpg', 2), ('/mnt/data/16062025/23/39/image_16062025_23_39_55_10102.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/40/image_16062025_23_40_45_11146.jpg', '/mnt/data/16062025/23/40/image_16062025_23_40_34_9931.jpg', '/mnt/data/16062025/23/40/image_16062025_23_40_24_9978.jpg', '/mnt/data/16062025/23/40/image_16062025_23_40_14_8931.jpg', '/mnt/data/16062025/23/39/image_16062025_23_40_05_10393.jpg', '/mnt/data/16062025/23/39/image_16062025_23_39_55_10102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/40/image_16062025_23_40_45_11146.jpg
/mnt/data/16062025/23/40/image_16062025_23_40_34_9931.jpg
/mnt/data/16062025/23/40/image_16062025_23_40_24_9978.jpg
/mnt/data/16062025/23/40/image_16062025_23_40_14_8931.jpg
/mnt/data/16062025/23/39/image_16062025_23_40_05_10393.jpg
/mnt/data/16062025/23/39/image_16062025_23_39_55_10102.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 35.65653729438782 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:42:02.227360
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/41/image_16062025_23_41_45_9993.jpg', 2), ('/mnt/data/16062025/23/41/image_16062025_23_41_35_10012.jpg', 2), ('/mnt/data/16062025/23/41/image_16062025_23_41_25_10011.jpg', 2), ('/mnt/data/16062025/23/41/image_16062025_23_41_15_10138.jpg', 2), ('/mnt/data/16062025/23/40/image_16062025_23_41_04_9084.jpg', 2), ('/mnt/data/16062025/23/40/image_16062025_23_40_55_9959.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/41/image_16062025_23_41_45_9993.jpg', '/mnt/data/16062025/23/41/image_16062025_23_41_35_10012.jpg', '/mnt/data/16062025/23/41/image_16062025_23_41_25_10011.jpg', '/mnt/data/16062025/23/41/image_16062025_23_41_15_10138.jpg', '/mnt/data/16062025/23/40/image_16062025_23_41_04_9084.jpg', '/mnt/data/16062025/23/40/image_16062025_23_40_55_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/41/image_16062025_23_41_45_9993.jpg
/mnt/data/16062025/23/41/image_16062025_23_41_35_10012.jpg
/mnt/data/16062025/23/41/image_16062025_23_41_25_10011.jpg
/mnt/data/16062025/23/41/image_16062025_23_41_15_10138.jpg
/mnt/data/16062025/23/40/image_16062025_23_41_04_9084.jpg
/mnt/data/16062025/23/40/image_16062025_23_40_55_9959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.18853735923767 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:43:02.500168
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/42/image_16062025_23_42_45_9970.jpg', 2), ('/mnt/data/16062025/23/42/image_16062025_23_42_35_9996.jpg', 2), ('/mnt/data/16062025/23/42/image_16062025_23_42_25_10036.jpg', 2), ('/mnt/data/16062025/23/42/image_16062025_23_42_15_9954.jpg', 2), ('/mnt/data/16062025/23/41/image_16062025_23_42_05_10055.jpg', 2), ('/mnt/data/16062025/23/41/image_16062025_23_41_55_9970.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/42/image_16062025_23_42_45_9970.jpg', '/mnt/data/16062025/23/42/image_16062025_23_42_35_9996.jpg', '/mnt/data/16062025/23/42/image_16062025_23_42_25_10036.jpg', '/mnt/data/16062025/23/42/image_16062025_23_42_15_9954.jpg', '/mnt/data/16062025/23/41/image_16062025_23_42_05_10055.jpg', '/mnt/data/16062025/23/41/image_16062025_23_41_55_9970.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/42/image_16062025_23_42_45_9970.jpg
/mnt/data/16062025/23/42/image_16062025_23_42_35_9996.jpg
/mnt/data/16062025/23/42/image_16062025_23_42_25_10036.jpg
/mnt/data/16062025/23/42/image_16062025_23_42_15_9954.jpg
/mnt/data/16062025/23/41/image_16062025_23_42_05_10055.jpg
/mnt/data/16062025/23/41/image_16062025_23_41_55_9970.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.201412439346313 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:44:02.358027
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/43/image_16062025_23_43_45_9969.jpg', 2), ('/mnt/data/16062025/23/43/image_16062025_23_43_35_9990.jpg', 2), ('/mnt/data/16062025/23/43/image_16062025_23_43_25_9974.jpg', 2), ('/mnt/data/16062025/23/43/image_16062025_23_43_15_9951.jpg', 2), ('/mnt/data/16062025/23/42/image_16062025_23_43_05_10279.jpg', 2), ('/mnt/data/16062025/23/42/image_16062025_23_42_55_9934.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/43/image_16062025_23_43_45_9969.jpg', '/mnt/data/16062025/23/43/image_16062025_23_43_35_9990.jpg', '/mnt/data/16062025/23/43/image_16062025_23_43_25_9974.jpg', '/mnt/data/16062025/23/43/image_16062025_23_43_15_9951.jpg', '/mnt/data/16062025/23/42/image_16062025_23_43_05_10279.jpg', '/mnt/data/16062025/23/42/image_16062025_23_42_55_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/43/image_16062025_23_43_45_9969.jpg
/mnt/data/16062025/23/43/image_16062025_23_43_35_9990.jpg
/mnt/data/16062025/23/43/image_16062025_23_43_25_9974.jpg
/mnt/data/16062025/23/43/image_16062025_23_43_15_9951.jpg
/mnt/data/16062025/23/42/image_16062025_23_43_05_10279.jpg
/mnt/data/16062025/23/42/image_16062025_23_42_55_9934.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.221059799194336 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:45:02.919766
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/44/image_16062025_23_44_45_10124.jpg', 2), ('/mnt/data/16062025/23/44/image_16062025_23_44_35_10152.jpg', 2), ('/mnt/data/16062025/23/44/image_16062025_23_44_25_10105.jpg', 2), ('/mnt/data/16062025/23/44/image_16062025_23_44_15_10091.jpg', 2), ('/mnt/data/16062025/23/43/image_16062025_23_44_05_10237.jpg', 2), ('/mnt/data/16062025/23/43/image_16062025_23_43_55_10020.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/44/image_16062025_23_44_45_10124.jpg', '/mnt/data/16062025/23/44/image_16062025_23_44_35_10152.jpg', '/mnt/data/16062025/23/44/image_16062025_23_44_25_10105.jpg', '/mnt/data/16062025/23/44/image_16062025_23_44_15_10091.jpg', '/mnt/data/16062025/23/43/image_16062025_23_44_05_10237.jpg', '/mnt/data/16062025/23/43/image_16062025_23_43_55_10020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/44/image_16062025_23_44_45_10124.jpg
/mnt/data/16062025/23/44/image_16062025_23_44_35_10152.jpg
/mnt/data/16062025/23/44/image_16062025_23_44_25_10105.jpg
/mnt/data/16062025/23/44/image_16062025_23_44_15_10091.jpg
/mnt/data/16062025/23/43/image_16062025_23_44_05_10237.jpg
/mnt/data/16062025/23/43/image_16062025_23_43_55_10020.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 32.260268688201904 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:46:02.648260
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/45/image_16062025_23_45_45_10035.jpg', 2), ('/mnt/data/16062025/23/45/image_16062025_23_45_35_10159.jpg', 2), ('/mnt/data/16062025/23/45/image_16062025_23_45_25_10158.jpg', 2), ('/mnt/data/16062025/23/45/image_16062025_23_45_15_10159.jpg', 2), ('/mnt/data/16062025/23/44/image_16062025_23_45_05_10147.jpg', 2), ('/mnt/data/16062025/23/44/image_16062025_23_44_54_8949.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/45/image_16062025_23_45_45_10035.jpg', '/mnt/data/16062025/23/45/image_16062025_23_45_35_10159.jpg', '/mnt/data/16062025/23/45/image_16062025_23_45_25_10158.jpg', '/mnt/data/16062025/23/45/image_16062025_23_45_15_10159.jpg', '/mnt/data/16062025/23/44/image_16062025_23_45_05_10147.jpg', '/mnt/data/16062025/23/44/image_16062025_23_44_54_8949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/45/image_16062025_23_45_45_10035.jpg
/mnt/data/16062025/23/45/image_16062025_23_45_35_10159.jpg
/mnt/data/16062025/23/45/image_16062025_23_45_25_10158.jpg
/mnt/data/16062025/23/45/image_16062025_23_45_15_10159.jpg
/mnt/data/16062025/23/44/image_16062025_23_45_05_10147.jpg
/mnt/data/16062025/23/44/image_16062025_23_44_54_8949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.234257459640503 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:47:03.020930
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/46/image_16062025_23_46_45_9987.jpg', 2), ('/mnt/data/16062025/23/46/image_16062025_23_46_35_9990.jpg', 2), ('/mnt/data/16062025/23/46/image_16062025_23_46_25_9995.jpg', 2), ('/mnt/data/16062025/23/46/image_16062025_23_46_15_9944.jpg', 2), ('/mnt/data/16062025/23/45/image_16062025_23_46_05_10081.jpg', 2), ('/mnt/data/16062025/23/45/image_16062025_23_45_55_9979.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/46/image_16062025_23_46_45_9987.jpg', '/mnt/data/16062025/23/46/image_16062025_23_46_35_9990.jpg', '/mnt/data/16062025/23/46/image_16062025_23_46_25_9995.jpg', '/mnt/data/16062025/23/46/image_16062025_23_46_15_9944.jpg', '/mnt/data/16062025/23/45/image_16062025_23_46_05_10081.jpg', '/mnt/data/16062025/23/45/image_16062025_23_45_55_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/46/image_16062025_23_46_45_9987.jpg
/mnt/data/16062025/23/46/image_16062025_23_46_35_9990.jpg
/mnt/data/16062025/23/46/image_16062025_23_46_25_9995.jpg
/mnt/data/16062025/23/46/image_16062025_23_46_15_9944.jpg
/mnt/data/16062025/23/45/image_16062025_23_46_05_10081.jpg
/mnt/data/16062025/23/45/image_16062025_23_45_55_9979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.19793939590454 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:48:02.977250
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/47/image_16062025_23_47_45_9935.jpg', 2), ('/mnt/data/16062025/23/47/image_16062025_23_47_35_9976.jpg', 2), ('/mnt/data/16062025/23/47/image_16062025_23_47_25_10064.jpg', 2), ('/mnt/data/16062025/23/47/image_16062025_23_47_15_10009.jpg', 2), ('/mnt/data/16062025/23/46/image_16062025_23_47_05_10190.jpg', 2), ('/mnt/data/16062025/23/46/image_16062025_23_46_55_10000.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/47/image_16062025_23_47_45_9935.jpg', '/mnt/data/16062025/23/47/image_16062025_23_47_35_9976.jpg', '/mnt/data/16062025/23/47/image_16062025_23_47_25_10064.jpg', '/mnt/data/16062025/23/47/image_16062025_23_47_15_10009.jpg', '/mnt/data/16062025/23/46/image_16062025_23_47_05_10190.jpg', '/mnt/data/16062025/23/46/image_16062025_23_46_55_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/47/image_16062025_23_47_45_9935.jpg
/mnt/data/16062025/23/47/image_16062025_23_47_35_9976.jpg
/mnt/data/16062025/23/47/image_16062025_23_47_25_10064.jpg
/mnt/data/16062025/23/47/image_16062025_23_47_15_10009.jpg
/mnt/data/16062025/23/46/image_16062025_23_47_05_10190.jpg
/mnt/data/16062025/23/46/image_16062025_23_46_55_10000.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! 
uploaded 0 photos
time to upload: 141.13507533073425 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120)
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 20 -v --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:50:26.727092
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_15_10208.jpg', 2), ('/mnt/data/16062025/23/49/image_16062025_23_49_55_10151.jpg', 2), ('/mnt/data/16062025/23/49/image_16062025_23_49_45_10140.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_15_10208.jpg', '/mnt/data/16062025/23/49/image_16062025_23_49_55_10151.jpg', '/mnt/data/16062025/23/49/image_16062025_23_49_45_10140.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_15_10208.jpg
/mnt/data/16062025/23/49/image_16062025_23_49_55_10151.jpg
/mnt/data/16062025/23/49/image_16062025_23_49_45_10140.jpg
uploaded 0 photos
time to upload: 30.24811339378357 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:51:03.227162
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_15_10208.jpg', 2), ('/mnt/data/16062025/23/49/image_16062025_23_49_55_10151.jpg', 2), ('/mnt/data/16062025/23/49/image_16062025_23_49_45_10140.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_15_10208.jpg', '/mnt/data/16062025/23/49/image_16062025_23_49_55_10151.jpg', '/mnt/data/16062025/23/49/image_16062025_23_49_45_10140.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_15_10208.jpg
/mnt/data/16062025/23/49/image_16062025_23_49_55_10151.jpg
/mnt/data/16062025/23/49/image_16062025_23_49_45_10140.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 34.28483247756958 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:52:02.463913
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg', '/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg
/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.22743511199951 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:53:02.726227
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg', '/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg
/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.20267152786255 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-06-16 23:54:02.820337
  port_id : 24047899
  datou_current_id : 3125586
in upload_from_sqlite, uploading in 24047899
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
error upload
[('/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', 2), ('/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg', 2)]
in upload media
 Upload medias :  ['/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg', '/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg', '/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3125586&datou=0
/mnt/data/16062025/23/51/image_16062025_23_51_15_10179.jpg
/mnt/data/16062025/23/50/image_16062025_23_51_05_10231.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_54_8894.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_45_10249.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_35_10167.jpg
/mnt/data/16062025/23/50/image_16062025_23_50_25_10139.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 30.344062089920044 secondes ---
after data_to_send, before sending request
begin to post requests
('Connection aborted.', timeout('The write operation timed out',))
requests timeout
Result Failed!
